Repository navigation
feat: spec delta in briefs and finish-lane, plan-first briefs, reconcile task-plan skeletons (#75, #76) - #88
Conversation
…#75) The brief's Spec impact section states the duty to edit the area file a change makes false; the report's Spec: line names the edited sections or none -- <reason>. check fails a bare none and prose without area and path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
render --task on a task its slice plan lists without a task plan now renders a brief whose first deliverable is the task plan in plan-task's format, committed alone, then the files it names. The slice brief names the plan to write per unplanned task instead of "plan it yourself". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#75) route runs ytstack-spec impact (new --head) on base..head for every plan of the lane that states a Spec impact; without one, each touched area needs its area file or a source in the diff, or the report's Spec: none -- <reason> (--report). A gap is a reason: spec line and turns unattended into person. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…view (#75) A ## Checks section lists the machine checks reviewers rely on (<name> | file: <path> | guards: <text>), validated by ytstack-risk check. code-review treats a guard added without its line as a finding; finish-lane route prints a checks: line when a change edits CI and the inventory did not move. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…behind (#76) Two new reconcile classes, each asked once: tasks of open slices without any task plan get skeletons in plan-task's format (Files from the task line or the slice's Own: lines, TODO Spec impact that ytstack-spec impact rejects until filled, TODO verification), and a current_milestone on a closed or older milestone moves to the newest one in progress. Logic in the new bin/ytstack-reconcile with its suite. The skills area also records code-review's checks-inventory finding. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f0e0b1dca
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…y slice (#88 review 1, 3, 6, 9) check strips backticks and, in a project with a spec, accepts only the area file or one of its sources as an edited path. plan_first keeps the task line's backticks so the area lookup finds the area file. A task of a slice plan with its own ## Files is briefed from the slice plan, no task plan demanded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mes as both paths (#88 review 4, 8) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… paths checked (#88 review 1, 2, 4, 5, 6, 11) Every area the diff touches (--no-renames) needs its area file or a source in the diff, a plan of the range that says none for the files of its own commits, or the report's reason. Only plans changed in base..head or with a commit of their task in it are checked. A path the report names must be the area file or a source of that area; none needs a reason; backticks ignored; [[:space:]] instead of the BSD-unsafe tab escape. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rd tested (#88 review 7, 8) pointer --fix edits the frontmatter or the leading key lines of a STATE.md without one, adds missing keys, refuses a file with neither and reports the values read back after the write. A plan name taken by anything (a directory too) is kept, and the guard has a test that reaches it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…als verified at 98e2ad0 (#88 review 8, 10) checks-and-evals.md read against the code at 98e2ad0 (the brief check, impact --head and TODO rule, the route's spec delta, ytstack-reconcile); verified_at moves there so its paths include bin/ytstack-reconcile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he end (#88 Codex P2) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bba4d1a05e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ba4d1a merge_by coordinator sends a spec gap back to the worker; the report's Spec: line is the spec delta and the brief makes the edit a duty; plan-first briefs and granularity slice; the checks: note of finish-lane; the new DECISIONS entries listed under the decisions that apply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ose, spaced skeleton paths (#88 Codex P2 x3) render --task on a slice plan with its own ## Files needs an open "- [ ] T##" line. ytstack-spec impact rejects a TODO field (TODO:, : TODO, -- TODO), not the word inside a filled line. ytstack-reconcile keeps a backticked path with a space. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… verified at aa8c98b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f727d22b07
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…tack-risk (#88 Codex P2) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 449f9550ba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Conflicts resolved keeping both sides: DECISIONS with main's entries first and this branch's six after; one [Unreleased] in CHANGELOG; the spec area files carry both sides' text (bin/ytstack-brief: #87's standing section and this branch's plan-first, report shape and check). code-review and spawn-milestone-team were bumped on both sides and go to 0.5.2. The brief tests now pin the "# Brief: <ref> (<project>)" marker as the first line of the plan-first and granularity-slice briefs too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
checks-and-evals: main's text was verified at 1234c16, this branch's at 7207818; the merge changes no other code of the area, and the one file both sides changed, bin/ytstack-brief, was read against the merged text (standing section, plan-first, report check; the brief suite pins it). skills: the skill files between db07481 and the merge are this branch's, read against the area at bba4d1a, plus two version bumps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Issue #75 (gaps 2 and 3, proposal 4) and issue #76 (points 3 and 5). Five commits, one change each.
What changed
1. Spec delta in the worker report (#75 gap 2),
348f731skills/spawn-milestone-team/brief-template.md: the brief's "Spec impact" section now states the duty to edit the area-file section a change makes false, in the same commits. The report bullet definesSpec:as the spec delta:<area>: <file> (<section>)per edited section, joined by;, ornone -- <reason>(the reasons from plan-task's rule).bin/ytstack-brief checkfails a barenoneand prose without an area and a path. I kept the existingSpec:label instead of adding a twelfth label (DECISIONS entry), because it already uses the same two forms as plan-task's## Spec impactand summarize-task's## Spec.2. Plan-first brief for an unplanned task (#76.3),
445bfcfytstack-brief render --taskon a task that its slice plan lists without a task plan no longer fails. It renders a brief whose first deliverable isM###-S##-T##-PLAN.md, written beside the slice plan in plan-task's Step 9 format (Files, What this does, Spec impact, Verification) and committed on its own. After that the worker implements the files the plan names. The task line's backticked paths are listed as hints.3. finish-lane checks the spec delta before merge (#75 gap 3),
e5fe5c7ytstack-finish-lane route --report <file>runsytstack-spec impact(new--head) onbase..headfor every plan of the lane that states a## Spec impact, including a slice lane's task plans. When no plan states one, every area the diff touches needs its area file or a source in the diff, or the report must saySpec: none -- <reason>. Any path the report names as edited has to be in the diff. Each gap prints areason: spec -- ...line and turnsunattendedintoperson(exit 10). That catches lanes that skipped summarize-task. Undermerge_by: coordinator, a spec gap sends the lane back to the worker.skills/finish-lane0.6.0: Step 3 saves the report, and Step 9 passes--reportand explains thespec:lines.4. Checks inventory (#75 proposal 4),
d1e7eac## ChecksinREVIEW.md, with lines of the form<name> | file: <path> | guards: <what holds>.ytstack-risk checkvalidates it: slug names, no duplicates,fileexists,guardspresent. I put it in REVIEW.md rather thanspec/checks.md, because an area file needs paths, status and the fixed sections, and lint, drift and impact would treat it as an area (DECISIONS entry).docs/ux/review-policy-format.md).code-review0.5.1 treats a guard added without its line as a finding.finish-lane routeprints achecks:note when a change edits CI and the inventory did not change. It is only a note, because CI changes always go to a person.5. reconcile migration helper (#76.5),
5f0e0b1bin/ytstack-reconcilewith its own suite.skeletons [--write] [--slice M###-S##]covers open slices of open milestones that have no task plan at all and no## Files. It writes task-plan skeletons in plan-task's format. Files come from the task line's backticked paths, or else from the slice plan'sOwn:/Files:lines. Spec impact gets one line per area with TODO fields, whichytstack-spec impactrejects until they are filled. Verification is a TODO. It never overwrites an existing file.pointer [--fix]moves acurrent_milestonethat sits on a closed or older milestone to the newest roadmap markedin-progress, with its first open slice andactive_task: none. Only the frontmatter changes.skills/reconcile0.4.0 adds two classes, each with its own AskUserQuestion in the 4-part format: write all / write for named slices / keep, and fix / keep. Both auto-pick in non-interactive mode, and the results are logged inRECONCILE-<date>.md.Docs updated: the spec area files (
checks-and-evals,skills,artifacts),docs/ux/coordinator-format.md,docs/ux/spec-format.md(new "Before a merge"),docs/ux/review-policy-format.md, CHANGELOG under Unreleased, and five DECISIONS entries.Already present (verified at
62ab2fc, not rebuilt)bin/ytstack-brief:285-297addsSPEC.mdand the area files of the planned paths (ytstack-spec areas --names) to "Read for context". Only the spec-delta duty was missing, and item 1 adds it.skills/summarize-task/SKILL.md:299-301(## Specrecords<area>: <file> -- <section>ornone -- <reason>, taken from the check). The check itself is atskills/summarize-task/SKILL.md:132and the plan side atskills/plan-task/SKILL.md:196-212.skills/code-review/SKILL.md:109(spec check bounded to the touched area). The finish-lane half is item 3.bin/ytstack-spec:261(cmd_drift) andbin/ytstack-upkeep:129-137(the spec section of upkeep). It reports per commit since the area was last touched, not "N merged PRs", which I think is close enough.Verification
bash tests/run-all.sh(macOS, bash 3.2): exit 0,ALL SUITES PASSED, 33 suites. Relevant ones:ytstack-brief 230 passed,ytstack-finish-lane 200 passed,ytstack-reconcile 40 passed,ytstack-risk 214 passed,ytstack-spec 97 passed,skill-preambles 668 passed.bash tests/run-all.sh --linux(Docker, from agit archiveexport of the head, because a linked worktree cannot be mounted): exit 0,ALL SUITES PASSED, 33 suites.python3 bin/ytstack-check: exit 2,OK (with 9 warnings), the same 9 as on main.bin/ytstack-spec lint: 0 failures, 0 warnings.python3 -m unittest discover -s tests -p 'codex*_test.py':OK.kimi_plugin_test.py:OK.claude plugin validate .:✔ Validation passed.Not checked
ghside ofroute --pris still only exercised against the fakeghin the suite..ytstack/spec/REVIEW.md, so it keeps no checks inventory of its own.session-endbudget, 5.21 s against 5.0 s). It passed in both full runs of this branch.Closes #75
Part of #76
🤖 Generated with Claude Code