-
Notifications
You must be signed in to change notification settings - Fork 0
chore: adopt the agent-harness copier template v0.7.0-3-g0fa3c56 #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
ae0c46d
91d9e4b
e245a65
2c325a1
f361eb3
4a2dab3
9f27b8f
17232e3
06940b4
77b11d1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,14 @@ | ||
| --- | ||
| description: Implement the current feature one phase at a time, ticking tasks.md and running the verification gate at each phase boundary | ||
| argument-hint: <spec-dir-name> (optional; defaults to the most recent work/* directory) | ||
| argument-hint: <spec-dir-name> (optional; defaults to the most recent development/work/* directory) | ||
| --- | ||
|
|
||
| You are carrying out the implementation phase of a feature. | ||
|
|
||
| 1. Identify the target spec directory. | ||
| - If `$ARGUMENTS` is provided, use `work/$ARGUMENTS/`. | ||
| - If `$ARGUMENTS` is provided, use `development/work/$ARGUMENTS/`. | ||
| - Otherwise, use the most recently modified directory under | ||
| `work/`. | ||
| `development/work/`. | ||
| 2. Read `spec.md`, `plan.md`, and `tasks.md` in full. If `plan.md` is | ||
| missing or empty, stop and tell the user to run `/plan` first. | ||
| 3. If the plan touches an unfamiliar area of the codebase, run an | ||
|
|
@@ -25,13 +25,27 @@ You are carrying out the implementation phase of a feature. | |
| - Work one phase at a time, writing tests first where the plan | ||
| calls for behaviour change. | ||
| - Tick `tasks.md` checkboxes in the same commit as the code change. | ||
| - Keep `report.md` current: deviations, abandoned approaches, and | ||
| `DECISION-PENDING:` escalations are recorded when they happen. | ||
| - Run `make verify` at every phase boundary. | ||
| - Stop at the end of each phase and hand off to `/verify` | ||
| (Reviewer) before starting the next. | ||
| 5. When the developer reports a phase complete, **stop** and ask the | ||
| user to run `/verify` before proceeding. Do not auto-start the | ||
| next phase. | ||
| 5. If the developer stops mid-phase, that is not a phase boundary. Its | ||
| reply names the stop and the servicing instruction; follow it: | ||
| - `HANDBACK(explore):` in `scratch.md` — run the `explorer`, append | ||
| its answer as a `RESULT(explore):` line (keep the `path:LINE` | ||
| citations), then re-invoke the developer. After three explore | ||
| hand-backs on the same phase, the phase is scoped too wide — stop | ||
| and put it to the user. | ||
| - `DECISION-PENDING:` in `report.md` — put the question to the user, | ||
| add the register row (`development/adr/README.md`), re-invoke the | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [CONFIRMED] correctness — ✅ Fixed in Ownership of the decision-register row is assigned to two different actors: Failure scenarioDeveloper hits a decision beyond its authority, writes |
||
| developer with the answer. | ||
| - `HANDBACK(replan):` in `scratch.md` — hand back to `/plan` | ||
| (Architect), then re-run `/build`. After three replan hand-backs | ||
| on the same feature, the plan and reality are not converging — | ||
| stop and put the mismatch to the user instead of re-planning. | ||
| 6. When the developer reports a phase complete, **stop** and ask the | ||
| user to run `/verify`. Do not auto-start the next phase. | ||
|
|
||
| Never silently skip a failing test, edit anything under `*/generated/`, | ||
| or run destructive Git. If the plan turns out to be wrong, hand back | ||
| to `/plan` (Architect) rather than silently re-planning. | ||
| or run destructive Git. | ||
Uh oh!
There was an error while loading. Please reload this page.