S1a rev-3 amendment: build returns to the picker — plan · build · develop · research - #869
Merged
Conversation
…elop · research (#868) The agent_order default becomes [plan, build, develop, research] (the extension config + test pin). build renders as a NAMED, selectable tile AND the default posture: the implied-absent marker becomes a default marker (isImpliedAgent/impliedAgent → isDefaultAgent/markedAgent, the AgentPickerOption field implied → default), the i18n key agent.picker.implied → agent.picker.default with real 'default' translations across all 18 locales, and the picker/i18n tests updated (the four-name order pinned; alias/rename tests unchanged). The plan-exit recommendation is pinned by test to never target build — build is the resting state, not a recommendation target. Overlay manifest hashes refreshed for the touched files. Refs #868 · spec-20260907-011500 D1 rev 3
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
aarontrowbridge
marked this pull request as ready for review
September 7, 2026 03:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #868 (spec-20260907-011500 D1 rev 3 — the amended spec is the contract).
What lands
The config default.
agent_orderbecomes["plan", "build", "develop", "research"](buildOpencodeConfigContent, #305's field, honored APP-SIDE by the overlay's picker sort) — the four-name fixed order, pinned by the extension test.The named tile + the default marker.
buildrenders under its own name marked default — the S1 implied-absent marker is replaced, not the render shape:isImpliedAgent/impliedAgent→isDefaultAgent/markedAgent, theAgentPickerOptionfieldimplied→default, and the i18n keyagent.picker.implied→agent.picker.defaultwith real "default" translations across all 18 locales (en + 17).build's id was never renamed — the alias/rename tests are untouched except for comment honesty.The tests. The S1 implied-marker assertions become default-marker assertions; the picker-sort suite gains the four-name order pin (the shipped
agent_ordersorts plan → build → develop → research); the alias/rename tests unchanged. The plan-exit recommendation (landed S2,posture_recommendation.ts) is pinned by a property test to NEVER target build across every shape split × executor hint — build is the resting state, not a recommendation target.The gates. Overlay manifest hashes refreshed for exactly the 22 touched overlay files (surgical — not a full manifest refresh, whose stale upstream cache would churn unrelated classifications); drift gate PASS (596 files, committed overlay vs manifest); i18n parity ×18 with placeholder preservation.
Verification (run on the branch)
pnpm -r run typecheck— clean (schema, amico-run, extension).pnpm -r run test— schema 246 green; amico-run 1 pre-existing failure (agent_spawn.test.ts$AMICO_AGENT_CONFIG_DIR env leak — machine-local env, reproduced on clean main); extension 2 pre-existing failures (terminal.test.ts×2 — env-local, reproduced on clean main;editable_diffs_wiring.test.ts×2 flaked dirty in the same run and passes on clean main — the chore(test): overlay-sync test applies to the local fork checkout's committed tree — point it at a temp tree #842 dirt struck mid-suite and was restored before commit).bun:test→vitest alias (config outside the repo): 19/19 — picker 17 (incl. the new four-name pin) + app/ui parity ×18 locales, old key gone everywhere.drift_gate.mjsPASS — committed overlay verified against the manifest (596 files). The full gate (fork re-derivation) is env-broken on this machine (the fork clone lacks the pinned tag; the v1.18.29 archive cache is absent) — pre-existing on clean main, CI runs the committed-state lane.Refs #868 · spec-20260907-011500 D1 rev 3 · amends #862 (S1)