devspecs

Agent finished while you were away?

Review what an agent changed while you were away

Recover the goal, slice, evidence, and human gate behind an unattended change.

Starting state

One pinned repository. One concrete goal.

Decide whether the unattended F02 change can move forward.

  • +F01 was validated and F02 was bounded before the coding agent ran.
  • +An external coding agent changed one regression test and ran the focused suite.
  • +The developer has reviewed the small diff and returns without reopening the agent chat.
Repository
fastapi/fastapi
Commit
3d2aace4
DevSpecs
v1.3

DevSpecs entry

ds recent "OAuth redirect"
DeveloperDevSpecsCoding agent

After the agent

The agent finished. The review still belongs to you.

Your normal review tools show the physical change. DevSpecs preserves the reason, the slice that produced it, and the gate that still needs a human call.

Review evidence

What changed

Changed
tests/test_custom_swagger_ui_redirect.py
Diff
1 file changed, 2 insertions
Tests
3 focused tests passed

The physical change is bounded and the focused suite passes.

DevSpecs

Why it exists and where it stands

Goal
Protect custom Swagger UI OAuth2 redirect behavior
Prior
F01 traced source and tests
Current
F02 validated / promote
Evidence
OpenAPI exclusion regression; 3 focused tests passed
Next
F03 documentation cleanup

Promote advances the task lifecycle. It does not approve the merge.

Human gate

Can this branch move forward?

evidencedecision
  • Promoteopen F03
  • Improveadd F02-1
  • Reworkchange approach
  • Rollbackreverse attempt
  • Blockwait on decision

Workflow

STEP 1 OF 3

Recover the thread

DevSpecs

Use recent activity to locate the thread, then read the durable task state instead of inferring progress from the commit subject.

Command

ds recent "OAuth redirect" --no-refresh
ds task status fastapi-oauth-redirect
CLI output
Recent3b402c1 chore: prepare OAuth redirect task handoff
F01validated / promote
F02validated / promote
F03next / Document configuration and cleanup

What this tells you

F02 was the intended regression slice and its evidence earned promotion. F03 is a separate follow-up, not part of the unattended edit.

Continue with

Compare the reviewed change with the F02 checkpoint before accepting the lifecycle decision.

Output verified against the pinned run

This receipt is the capture file used to check the excerpt. You do not need it to follow the workflow.

Normalized recent and promoted task-status receipts · 10-recent.stdout.txt + 21-task-status.stdout.txt

STEP 2 OF 3

Match the diff to the recorded reason

DevSpecs

Read the F02 checkpoint alongside the focused test receipt so the implementation claim has a concrete file and behavior behind it.

CLI output
Goalexclude the custom OAuth2 redirect route from OpenAPI paths
Editedtests/test_custom_swagger_ui_redirect.py
Evidenceexplicit exclusion assertion; 3 focused tests passed
DecisionF02 validated / promote

What this tells you

The two inserted assertions belong to F02 and test the intended behavior. The checkpoint explains why the test exists and what evidence supported promotion.

Continue with

Make the human review decision; do not treat the lifecycle decision as automatic merge approval.

Output verified against the pinned run

This receipt is the capture file used to check the excerpt. You do not need it to follow the workflow.

Focused test and F02 checkpoint receipts · 19-focused-test.stdout.txt + 20-checkpoint-f02.stdout.txt

STEP 3 OF 3

Decide whether the branch moves forward

Developer

Use the code review and recovered thread together. Promote, improve, rework, rollback, or block based on the evidence.

What this tells you

The changed file, intended behavior, focused test, and F02 gate agree. The branch is ready for human acceptance or a targeted follow-up.

Continue with

Inspect the changed test, then promote to F03, improve with F02-1, rework, rollback, or block.

Result

The developer identified the exact unattended edit, why it belonged to F02, which focused evidence passed, and which human decision still remained before continuing.

  • F02-...-result.md
  • checkpoints/<timestamp>-validated.md
  • task.json

Common failure

Reading promote as merge approval

The F02 checkpoint says the slice earned its next lifecycle move. It does not replace code review or approve the branch for merge.

Review the changed code and test evidence, then choose promote, improve, rework, rollback, or block.