Skip to content

feat: SEAM 2 — regime rules as recommendations, the five-knob priors table (#699) - #701

Merged
aarontrowbridge merged 10 commits into
mainfrom
699-seam2-regime-priors
Sep 1, 2026
Merged

feat: SEAM 2 — regime rules as recommendations, the five-knob priors table (#699)#701
aarontrowbridge merged 10 commits into
mainfrom
699-seam2-regime-priors

Conversation

@aarontrowbridge

Copy link
Copy Markdown
Member

Fixes #699. Part of #679 (the codesign PRD). The Aug-16 campaign core finding becomes recommendations: a committed priors table for the five named calibration knobs (tr_frac, β, y_goal, GLS weighting, min_contrast), keyed by platform family, provenance-stamped with the census (2026-08-31, 12 profiles: 4 spin / 4 transmon / 4 atom) + the public-scale caveat riding every entry, served through the amico_recommend query path (the one recommendation surface — ledger recs keep their cap-to-medium; static priors state confidence explicitly: gls_weighting HIGH from the measurement kinds + PR #36; min_contrast 2.5 HIGH from the #65/#81 + #83/#84 fixture evidence; β and y_goal MEDIUM from the hardware-loop doctrine; tr_frac LOW by design — starting points the flywheel sharpens). The audit (a new amico_recommend action) is F2 sensor: FAILS an off-scope prior without the caveat, PASSES with it, surfaces census staleness. A1 leak guard mechanical: no census-vendor name anywhere (family keying only — and two public-paper vendor designations hand-struck beyond what the guard could catch), no drift-scale/trust-geometry/crossover fields, internal tier unreachable by construction. The dynamic-census contract stated in-schema; regeneration wiring to the freshness cadence = the named follow-up. Evidence chains per value in the table sources. Director gates: 1880 passed + the 3 documented pre-existing env failures, typecheck clean; plugin_exercise end-to-end green by cast run. Overlay untouched.

@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 09bd711b-9e3c-46e2-b10b-953a6a223eaa


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@aarontrowbridge
aarontrowbridge merged commit 6abe71d into main Sep 1, 2026
9 checks passed
@aarontrowbridge
aarontrowbridge deleted the 699-seam2-regime-priors branch September 1, 2026 05:12
aarontrowbridge added a commit that referenced this pull request Sep 1, 2026
…e follow-through on #701)

origin/main advanced mid-slice with #701 (SEAM 2 — regime priors): the plugin's
amicode_recommend gained the composed query (ledger priors ∪ regime priors via
serveRecommendations, platform family scoped from the recorded system), the new
audit action (auditRegimePriorApplications — the off-profile sensor with the
census-staleness check), the current_census arg, and the four-action
description. That body is now in the core VERBATIM (byte-identical to main's
plugin text; the two sibling specifiers re-based to ../opencode-plugin/), so
both transports serve it: the plugin adapter projects it (behavioral reference
— main's own scripts/plugin_exercise.ts passes against the shim), and the MCP
server serves it under the bare wire name (recommend).

The conflict discipline: rebase resolved opencode-plugin/amicode_tools.ts as
the retirement adapter (ours) — main's plugin content lives on through the
core; regime_priors.ts/.json, their tests, plugin_exercise.ts, and the
packaging list arrived from main untouched (diff vs main on the plugin dir =
exactly the four type-fix files from the extraction).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Codesign SEAM 2: regime rules as recommendations — the five-knob priors table

1 participant