feat(autonomy): deterministic prerequisite resolver (#2724) - #2796
feat(autonomy): deterministic prerequisite resolver (#2724)#2796kyle-sexton wants to merge 4 commits into
Conversation
…ft gate (#2723) Closes #2723 Phase 3 of the routine-capability-detection plan (ADR 0011): derive a machine-readable identity-prerequisite emission from the ten v1 leaves, with a --check drift gate matching the catalog generator pattern. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
Closes #2724 Phase 4 of the routine-capability-detection plan (ADR 0011): resolve per-identity verdicts on a named surface from the generated emission, with precedence fixtures and wall-clock-free output. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eafc7ce18d
ℹ️ 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".
|
Claude finished @cursor[bot]'s task in 5m 5s —— View job Code review complete
SummaryReviewed the diff against One correctness finding, posted inline:
No other high-signal issues found in the resolver logic, fixture set, or metadata changes. |
|
Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
b5ddff0 to
862020e
Compare
Closes #2724 ## Summary Replacement for #2796 (auto-closed when stack base was deleted after #2793 squash-merge). Lands the deterministic prerequisite resolver on main after #2793. Closes #2724 ## Summary Phase 4 of the routine-capability-detection plan (ADR 0011): deterministic prerequisite resolver that reads the Phase 3 emission and emits per-identity verdicts with provenance on a named scheduling surface. ## Fix - **Resolver** `skills/setup/scripts/resolve-prerequisites.mjs` — repo-file + harness-context probes; composes binding declarations, ecosystems (resolved), tracker seam, `.mcp.json` presence/enablement. - **Precedence** — declaration narrows; ran-negative probe caps declarations (finding); unprobeable ≠ absent. - **Seven fixtures** under `scripts/fixtures/prerequisite-resolution/` + co-located test/manifest (bare-repo, fail-closed, declared-absent-narrows, probe-negative-caps, probe-could-not-run, posture-divergence, positive-verdict). - **Liveness** — engine health-check taxonomy row; fail-loud; wall-clock-free (byte-identical consecutive runs). - **Version bump** to `0.21.0`. Stacked on #2793 (`cursor/2723-prereq-emit-8f91`). ## Verification ```text $ bash plugins/autonomy/skills/setup/scripts/resolve-prerequisites.fixtures.test.sh $ bash scripts/check-changelog-parity.sh --check-bump origin/main $ bash scripts/check-orphaned-fixtures.sh --check $ bash scripts/check-changed-skills.sh origin/main ``` ## Related - ADR 0011; Refs #2685; depends on #2723 ## Related - Continues autonomy stack after #2793; precedes setup-skill slice (#2725 / former #2804). - Supersedes closed #2796. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
Closes #2724
Summary
Phase 4 of the routine-capability-detection plan (ADR 0011): deterministic prerequisite resolver that reads the Phase 3 emission and emits per-identity verdicts with provenance on a named scheduling surface.
Fix
skills/setup/scripts/resolve-prerequisites.mjs— repo-file + harness-context probes; composes binding declarations, ecosystems (resolved), tracker seam,.mcp.jsonpresence/enablement.scripts/fixtures/prerequisite-resolution/+ co-located test/manifest (bare-repo, fail-closed, declared-absent-narrows, probe-negative-caps, probe-could-not-run, posture-divergence, positive-verdict).0.21.0.Stacked on #2793 (
cursor/2723-prereq-emit-8f91).Verification
Related