Repository navigation
Sync setup-openspeckit's whole fallback protocol with the live protocol - #131
Conversation
The fallback is written only when the live protocol is missing, and it lagged the live file by five hunks: the Triad Feature Amendments section, the parking and resuming subsection, and the OpenSpec placement and CLI wording. It now renders byte-identical to the live file, still taking the bootstrap path from agent_root. The bootstrap suite pins each restored section heading. Lane: codeXfactory-5 Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The protocol contains inaccurate staging guidance, unavailable references, and incomplete regression coverage.
Review effort: Balanced
Findings: 2
Open (3)
What changed in this PR
Synchronizes the generated fallback workflow protocol with the live OpenSpec/Speckit protocol.
Changes:
- Adds triad amendment and feature parking guidance.
- Updates OpenSpec placement/store-selection guidance.
- Adds bootstrap regression assertions.
| File | Description |
|---|---|
setup-openspeckit |
Expands the fallback protocol. |
test-openspeckit-bootstrap.sh |
Checks restored protocol headings. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe fallback protocol emitted by setup-openspeckit is brought into exact parity with the current live openspec-speckit workflow, including the remaining five content hunks, and bootstrap coverage is expanded with seven targeted presence checks. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. The change adds a substantial workflow protocol that can cause users or agents to create and push WIP commits, reconstruct worktrees, alter branch history, and gate feature landing on reconciliation. Reverting the protocol stops future use, but commits or other repository-state changes already made would remain and require manual cleanup or rerunning the workflow.
The suite pinned only the restored section headings, so the two placement-table rows and the full-proposal-operations paragraph could disappear unnoticed. Assert each row, the paragraph's first line and its registered-store sentence. Lane: codeXfactory-5 Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
ab2dac2 stays the byte-identical restore of the adopted change. This follow-up corrects three statements, and nothing else: - docs/triad-feature-amendments.md, Distribution: since #131 the workflow-protocol fallback template in setup-openspeckit gives new installations the Triad Feature Amendments section, and test-openspeckit-bootstrap.sh asserts it. Existing installations keep their files (write_text_if_missing); the global-entrypoint and bootstrap-contract templates and the managed command/skill guidance remain pending. (Copilot thread 4194811455.) - design.md, risk row: the same correction to the risk and mitigation; the remaining items go to task 2.1's Speckit feature. (Thread 4194811497.) - proposal.md, Decision and delivery state: records Brett Heap's 2026-10-06T10:20:12Z direction verbatim as a deferred follow-up governed by openxFactory's proposed change prefer-triad-project-shape; this change neither adopts nor rules on it. (Thread 4194811387.) No workflow rule text changes; verification.md is untouched dated evidence. Lane: codeXfactory-5 Co-Authored-By: Claude Opus 5.5 <[email protected]>


Lane: codeXfactory-5
Why
Brett Heap, verbatim: "fix the rest of the fallback protocol lag too". The previous PR synced only the model-role bullet.
setup-openspeckitwrites a fallback copy of~/.agents/protocols/openspec-speckit-workflow.mdwhen the live file is missing, and that copy still lagged the live protocol in five hunks (154difflines).What changed
Inside the f-string returned by
openspec_speckit_protocolindevBenches/base-image/files/openspeckit/setup-openspeckit(nothing else in the script changes), the restored text is:openspec/and optional feature amendment records) and the "Run full proposal operations" paragraph that replaced the olderopenspecCLI wording.The one literal
{spec,code}the live text brings in is doubled for the f-string. The live file has no backslashes and no run of three double quotes. The twoproject-agent-bootstrap.mdpaths stay rendered fromagent_rootas before.devBenches/devcontainer.test/test-openspeckit-bootstrap.shgains sevenassert_containslines in theWORKFLOW_PROTOCOLblock, one per restored heading.Verification
openspec_speckit_protocol(Path('/home/brett/.agents'))and comparing with the live protocol:diffexit 0 andcmpidentical, 23802 bytes each, no residual difference. Rendered with a different agent root, exactly two lines change (the two bootstrap paths), so the parametrization is intact.~/.agents/workspace.yamlin the "Parking and resuming a feature" text. It is tilde-form, not a machine-specific path, and rendering it fromagent_rootwould break the exact match.bash devBenches/devcontainer.test/test-openspeckit-bootstrap.sh: exit 0, 789 PASS, 0 FAIL, GREEN (782 before the seven new assertions). Run against the previous script, the suite gives 782 PASS and 7 FAIL, exactly the seven new assertions, so they bite.python3 devBenches/base-image/update-upstream.py check: exit 0, 21 vendored copies match the pin.The match is against the live protocol as it stands today (md5
2cde86c1838d36f1858e6c7bc2099643); the fallback will lag again whenever that file is amended.Status
HELD for Brett Heap's merge word. Not to be merged until he gives it.
🤖 Generated with Claude Code
Summary by Sourcery
Bring the setup-openspeckit fallback protocol back in sync with the live workflow protocol and verify the restored guidance.
Bug Fixes:
Enhancements:
Tests: