diff --git a/.modonome/snapshot/badge.json b/.modonome/snapshot/badge.json
index d8ea4727..9d0d9390 100644
--- a/.modonome/snapshot/badge.json
+++ b/.modonome/snapshot/badge.json
@@ -1 +1 @@
-{"color":"blue","label":"snapshot","message":"832 files, 104462 tok","schemaVersion":1}
+{"color":"blue","label":"snapshot","message":"836 files, 104462 tok","schemaVersion":1}
diff --git a/.modonome/snapshot/map.json b/.modonome/snapshot/map.json
index e7ab79ab..9f91868f 100644
--- a/.modonome/snapshot/map.json
+++ b/.modonome/snapshot/map.json
@@ -1 +1 @@
-{"api":[{"anchor":"S:c5854b8940","doc":"Recursively snapshot path -> \"size:sha-like(content)\" for every file.","kind":"function","line":27,"name":"snapshot","path_id":"F:0103cf3d56","signature":"async function snapshot(dir)"},{"anchor":"S:44e7188c1d","doc":"Tiny content hash (FNV-1a): avoids a crypto import and is deterministic.","kind":"function","line":50,"name":"hash","path_id":"F:0103cf3d56","signature":"function hash(buf)"},{"anchor":"S:4ee042ed06","kind":"function","line":59,"name":"makeHostRepo","path_id":"F:0103cf3d56","signature":"async function makeHostRepo()"},{"anchor":"S:08df8d7472","kind":"function","line":70,"name":"runPreflight","path_id":"F:0103cf3d56","signature":"function runPreflight(target)"},{"anchor":"S:c47beeac78","doc":"Normalize a relative import against the importing file's directory, resolving \".\" and \"..\" segments. Returns a posix path with no leading \"./\".","kind":"function","line":11,"name":"normalizeRelative","path_id":"F:015261eab0","signature":"function normalizeRelative(fromPath, module)"},{"anchor":"S:0d7b0da50a","doc":"Resolve a relative import to a repo file, trying common extensions and index files. External and bare imports return null and become no edge.","kind":"function","line":24,"name":"resolveImport","path_id":"F:015261eab0","signature":"function resolveImport(fromPath, module, fileSet)"},{"anchor":"S:c732826ee5","doc":"Build an adjacency map { relPath -> [relPath, ...] } from per-file imports. Only edges that resolve to another repo file are kept.","kind":"function","line":41,"name":"buildImportGraph","path_id":"F:015261eab0","signature":"export function buildImportGraph(perFile, fileSet)"},{"anchor":"S:79144070a6","doc":"Degree centrality: out-edges of a node plus in-edges pointing at it.","kind":"function","line":55,"name":"centrality","path_id":"F:015261eab0","signature":"export function centrality(adj)"},{"anchor":"S:bb578790a3","doc":"PageRank over the import graph. Fixed iteration count keeps it deterministic. Dangling nodes (no out-edges) redistribute their rank uniformly.","kind":"function","line":67,"name":"pagerank","path_id":"F:015261eab0","signature":"export function pagerank(adj, { damping = 0.85, iterations = 40 } = {})"},{"anchor":"S:4d0bae812e","kind":"function","line":91,"name":"round","path_id":"F:015261eab0","signature":"function round(n, places = 6)"},{"anchor":"S:b88ce47ede","doc":"Rank files by a normalized composite of churn, centrality, and PageRank. Returns a sorted list of { path, churn, centrality, pagerank, score }, highest first.","kind":"function","line":98,"name":"attentionRank","path_id":"F:015261eab0","signature":"export function attentionRank(paths, { churn = new Map(), centralityMap = new Map(), pagerankMap = new Map() } = {})"},{"anchor":"S:5ad0c942a1","doc":"Report whether the import graph has a cycle and one example cycle, reusing the shared cycle detector so the snapshot can warn about circular dependencies.","kind":"function","line":117,"name":"findCycle","path_id":"F:015261eab0","signature":"export function findCycle(adj)"},{"anchor":"S:1e6749f65a","kind":"function","line":31,"name":"run","path_id":"F:02a5f8fc55","signature":"function run(env)"},{"anchor":"S:c932c7339f","doc":"Build a minimal repo that satisfies the root allow-list, protected-file manifest, link integrity, and audit-naming checks, so only the ADR-number logic under test can make the run fail or pass.","kind":"function","line":15,"name":"makeMinimalRepo","path_id":"F:0391f3b249","signature":"function makeMinimalRepo()"},{"anchor":"S:0ab594146c","kind":"function","line":33,"name":"runScript","path_id":"F:0391f3b249","signature":"function runScript(tmp)"},{"anchor":"S:689125598d","doc":"A git-init'd variant of makeMinimalRepo(), for the staleness check, which shells out to `git log` and needs a real repository to query.","kind":"function","line":43,"name":"makeMinimalGitRepo","path_id":"F:0391f3b249","signature":"function makeMinimalGitRepo()"},{"anchor":"S:bac2ebbef5","kind":"function","line":53,"name":"gitCommit","path_id":"F:0391f3b249","signature":"function gitCommit(tmp, message)"},{"anchor":"S:cd2e7eba8f","doc":"Commit with an explicit, backdated timestamp, so staleness tests do not depend on same-day wall-clock ordering between setup commits and a `last_reviewed` stamp (git's `--since` treats a bare date as ","kind":"function","line":61,"name":"gitCommitAt","path_id":"F:0391f3b249","signature":"function gitCommitAt(tmp, message, isoDate)"},{"anchor":"S:949f988c9e","kind":"function","line":10,"name":"makeDb","path_id":"F:044b762a79","signature":"function makeDb(orders = new Map())"},{"anchor":"S:0a11409d06","doc":"Full detail for a single work item, as shown in the read-only inspector drawer. * Extends the card summary shape with the fields only needed once someone opens the * item: identities, lease, allowed e","kind":"interface","line":14,"name":"WorkItemDetail","path_id":"F:08064e0c53","signature":"export interface WorkItemDetail extends WorkItemSummary"},{"anchor":"S:6a4d8aa30d","kind":"interface","line":31,"name":"WorkItemDrawerProps","path_id":"F:08064e0c53","signature":"export interface WorkItemDrawerProps"},{"anchor":"S:1e67af68fc","kind":"function","line":52,"name":"Section","path_id":"F:08064e0c53","signature":"function Section({ label, children }: { label: string; children: ReactNode })"},{"anchor":"S:fff471613b","doc":"A read-only inspector for a single work item, presented in the shared `Drawer` * primitive. Lays out status, the maker and checker identities, lease and branch * info, attempt count, the allowed edit ","kind":"function","line":68,"name":"WorkItemDrawer","path_id":"F:08064e0c53","signature":"export function WorkItemDrawer({ item, open, onClose }: WorkItemDrawerProps)"},{"anchor":"S:9f9c07db7d","kind":"function","line":10,"name":"Model","path_id":"F:08577063d4","signature":"export const Model = () => ("},{"anchor":"S:02e2e85572","kind":"function","line":19,"name":"resolveModonomeDir","path_id":"F:08b7435c86","signature":"function resolveModonomeDir(rawMode, dirParam)"},{"anchor":"S:8097fe47fc","kind":"function","line":29,"name":"readBody","path_id":"F:08b7435c86","signature":"function readBody(req)"},{"anchor":"S:a10a756308","kind":"function","line":48,"name":"sendJson","path_id":"F:08b7435c86","signature":"function sendJson(res, status, body)"},{"anchor":"S:b06f3444be","kind":"function","line":55,"name":"stateWithSource","path_id":"F:08b7435c86","signature":"function stateWithSource(dir, mode, writable)"},{"anchor":"S:5092562c12","kind":"function","line":61,"name":"modonomeApiPlugin","path_id":"F:08b7435c86","signature":"export function modonomeApiPlugin()"},{"anchor":"S:7078ce1661","kind":"function","line":38,"name":"today","path_id":"F:09ba331878","signature":"function today()"},{"anchor":"S:735c642c3a","doc":"Gather every near-miss across the branch name, commit identities, and commit bodies unique to this branch.","kind":"function","line":44,"name":"collectNearMisses","path_id":"F:09ba331878","signature":"export function collectNearMisses({ branch, commits })"},{"anchor":"S:4358d9c393","doc":"A denylist proposal is per unique (tier, surface, token): the widener proposes adding a token, not fixing N occurrences. Keep the first occurrence as evidence.","kind":"function","line":65,"name":"proposalsFrom","path_id":"F:09ba331878","signature":"export function proposalsFrom(findings)"},{"anchor":"S:b89188d9e3","kind":"function","line":74,"name":"main","path_id":"F:09ba331878","signature":"function main(argv)"},{"anchor":"S:b29fc4b0d5","kind":"function","line":3,"name":"ArmEngine","path_id":"F:0a6a758e7d","signature":"export const ArmEngine = () => ("},{"anchor":"S:8cd25e6f09","kind":"type","line":10,"name":"PanelMode","path_id":"F:0a85f3b8e5","signature":"export type PanelMode = \"host\" | \"product\";"},{"anchor":"S:40a4170626","kind":"type","line":11,"name":"ArmingMode","path_id":"F:0a85f3b8e5","signature":"export type ArmingMode = \"disabled\" | \"dry-run\" | \"armed\";"},{"anchor":"S:49f97badd7","kind":"type","line":12,"name":"WorkState","path_id":"F:0a85f3b8e5","signature":"export type WorkState ="},{"anchor":"S:3e9158c80b","kind":"type","line":22,"name":"RiskTier","path_id":"F:0a85f3b8e5","signature":"export type RiskTier = 1 | 2 | 3 | 4;"},{"anchor":"S:86cb290127","doc":"The subject a mode points at: which repo the panel is reading.","kind":"interface","line":25,"name":"Subject","path_id":"F:0a85f3b8e5","signature":"export interface Subject"},{"anchor":"S:a337ae8f0b","doc":"The engine configuration (schemas/config.schema.json), the levers the panel edits.","kind":"interface","line":37,"name":"ModonomeConfig","path_id":"F:0a85f3b8e5","signature":"export interface ModonomeConfig"},{"anchor":"S:d56c1854d7","doc":"One prerequisite in the armed-mode gate checklist.","kind":"interface","line":72,"name":"ArmingCheck","path_id":"F:0a85f3b8e5","signature":"export interface ArmingCheck"},{"anchor":"S:6bc87187a8","kind":"interface","line":80,"name":"ArmingStatus","path_id":"F:0a85f3b8e5","signature":"export interface ArmingStatus"},{"anchor":"S:5a49db2766","kind":"interface","line":87,"name":"WorkItemVM","path_id":"F:0a85f3b8e5","signature":"export interface WorkItemVM"},{"anchor":"S:f3e5c99141","kind":"interface","line":109,"name":"LeaseVM","path_id":"F:0a85f3b8e5","signature":"export interface LeaseVM"},{"anchor":"S:dddb39652d","kind":"type","line":116,"name":"GateStatus","path_id":"F:0a85f3b8e5","signature":"export type GateStatus = \"pass\" | \"fail\" | \"flaky\" | \"running\" | \"pending\";"},{"anchor":"S:9bc07de53c","kind":"interface","line":118,"name":"GateVM","path_id":"F:0a85f3b8e5","signature":"export interface GateVM"},{"anchor":"S:126357e421","kind":"interface","line":127,"name":"CostByModel","path_id":"F:0a85f3b8e5","signature":"export interface CostByModel"},{"anchor":"S:ebe2964819","kind":"interface","line":135,"name":"CostVM","path_id":"F:0a85f3b8e5","signature":"export interface CostVM"},{"anchor":"S:72a5c214ac","kind":"interface","line":144,"name":"LearningVM","path_id":"F:0a85f3b8e5","signature":"export interface LearningVM"},{"anchor":"S:e03cf612ca","kind":"interface","line":154,"name":"DecisionVM","path_id":"F:0a85f3b8e5","signature":"export interface DecisionVM"},{"anchor":"S:6ef3b2f2e5","doc":"One commit the metadata-only remediator would rewrite, and why.","kind":"interface","line":164,"name":"RemediationProposalVM","path_id":"F:0a85f3b8e5","signature":"export interface RemediationProposalVM"},{"anchor":"S:b41535d6e7","doc":"The armed metadata-only remediator (ADR-035) as a read-only surface plus one owner * lever. `applyEnabled` mirrors the config flag; `ready` is true only when every arming * condition is met, and `bloc","kind":"interface","line":175,"name":"RemediationVM","path_id":"F:0a85f3b8e5","signature":"export interface RemediationVM"},{"anchor":"S:3ad2d564a8","kind":"type","line":184,"name":"AuditKind","path_id":"F:0a85f3b8e5","signature":"export type AuditKind ="},{"anchor":"S:7c6ba2a644","kind":"interface","line":199,"name":"AuditEventVM","path_id":"F:0a85f3b8e5","signature":"export interface AuditEventVM"},{"anchor":"S:19226d4902","kind":"interface","line":206,"name":"ProtectedPathVM","path_id":"F:0a85f3b8e5","signature":"export interface ProtectedPathVM"},{"anchor":"S:61e677ae40","kind":"interface","line":213,"name":"TrendPoint","path_id":"F:0a85f3b8e5","signature":"export interface TrendPoint"},{"anchor":"S:cefb8c3f64","doc":"Where a loaded PanelState actually came from, so the UI never presents demo data as real.","kind":"interface","line":219,"name":"PanelSource","path_id":"F:0a85f3b8e5","signature":"export interface PanelSource"},{"anchor":"S:4a0171ecb5","kind":"interface","line":228,"name":"PanelState","path_id":"F:0a85f3b8e5","signature":"export interface PanelState"},{"anchor":"S:a2d9480f78","doc":"The write side of the panel, threaded down from App to the screens that mutate real * state. Every call here hits a real file on disk when `writable` is true; screens must * still confirm before calli","kind":"interface","line":255,"name":"WriteActions","path_id":"F:0a85f3b8e5","signature":"export interface WriteActions"},{"anchor":"S:6dd199eea1","doc":"Resolve an alias to an active, in-window key entry in the allowlist.","kind":"function","line":19,"name":"resolveActiveKey","path_id":"F:0c1c5ad5d9","signature":"export function resolveActiveKey(peerKeys, alias, now = new Date())"},{"anchor":"S:f3b8628cdb","doc":"Full ordered verification. options.skipContentGate runs only the signature checks (steps 3 to 5), used when the caller already ran the schema and redaction gate.","kind":"function","line":35,"name":"verifyPacket","path_id":"F:0c1c5ad5d9","signature":"export function verifyPacket(packet, peerKeys, { now = new Date(), skipContentGate = false } = {})"},{"anchor":"S:ee5246d16c","kind":"function","line":14,"name":"generateKeypair","path_id":"F:0cacf66a3b","signature":"export function generateKeypair()"},{"anchor":"S:842e875c5a","doc":"Raw 32-byte public key as base64, accepting either a public or private KeyObject.","kind":"function","line":19,"name":"publicKeyB64","path_id":"F:0cacf66a3b","signature":"export function publicKeyB64(keyObject)"},{"anchor":"S:8a971e3c54","doc":"Public KeyObject from a raw 32-byte base64 public key.","kind":"function","line":26,"name":"publicKeyFromB64","path_id":"F:0cacf66a3b","signature":"export function publicKeyFromB64(b64)"},{"anchor":"S:380b82547c","doc":"Private KeyObject from base64 PKCS8 DER (the env-secret format).","kind":"function","line":32,"name":"privateKeyFromB64Pkcs8","path_id":"F:0cacf66a3b","signature":"export function privateKeyFromB64Pkcs8(b64)"},{"anchor":"S:19e5ddb185","kind":"function","line":36,"name":"privateKeyToB64Pkcs8","path_id":"F:0cacf66a3b","signature":"export function privateKeyToB64Pkcs8(keyObject)"},{"anchor":"S:1c7919b4ea","kind":"function","line":40,"name":"signMessage","path_id":"F:0cacf66a3b","signature":"export function signMessage(message, privateKeyObject)"},{"anchor":"S:fb81ef11a3","kind":"function","line":44,"name":"verifyMessage","path_id":"F:0cacf66a3b","signature":"export function verifyMessage(message, sigB64, publicKeyObject)"},{"anchor":"S:4a08c48993","doc":"Short fingerprint for out-of-band key comparison (ADR-017 enrollment): the first 16 hex characters of sha256 over the raw public key bytes.","kind":"function","line":54,"name":"fingerprint","path_id":"F:0cacf66a3b","signature":"export function fingerprint(pubB64)"},{"anchor":"S:f2e1ea8458","kind":"function","line":16,"name":"deriveMode","path_id":"F:0da05a2a05","signature":"export function deriveMode(config: ModonomeConfig, envArmed: boolean): ArmingMode"},{"anchor":"S:97bc3f0eb4","kind":"function","line":22,"name":"deriveArming","path_id":"F:0da05a2a05","signature":"export function deriveArming("},{"anchor":"S:a3fb13b441","kind":"function","line":4,"name":"Tones","path_id":"F:10e76cfcd3","signature":"export const Tones = () => ("},{"anchor":"S:a1d4334d94","kind":"function","line":36,"name":"App","path_id":"F:113387361d","signature":"export function App()"},{"anchor":"S:670e55d75a","kind":"const","line":10,"name":"CACHE_SCHEMA_VERSION","path_id":"F:119e3c0fce","signature":"export const CACHE_SCHEMA_VERSION = 1;"},{"anchor":"S:31032f0509","doc":"A value safe to pass as a git revision argument: a short-to-full hex SHA. Rejects anything else, in particular a leading \"-\", which git would parse as an option (some git options can read or write fil","kind":"function","line":17,"name":"isPlausibleRevision","path_id":"F:119e3c0fce","signature":"export function isPlausibleRevision(value)"},{"anchor":"S:7762c6d861","kind":"function","line":21,"name":"cachePath","path_id":"F:119e3c0fce","signature":"function cachePath(root)"},{"anchor":"S:59b9039619","doc":"Load the cache for a repo, or null when absent, unreadable, or a different version.","kind":"function","line":28,"name":"loadCache","path_id":"F:119e3c0fce","signature":"export function loadCache(root)"},{"anchor":"S:ba5f7d1ffe","doc":"Persist the cache. entries is { relPath: { hash, symbols, imports, purposeRaw } }.","kind":"function","line":41,"name":"saveCache","path_id":"F:119e3c0fce","signature":"export function saveCache(root, { built_at_head = null, entries = {} })"},{"anchor":"S:ed24428ce0","doc":"The current git HEAD sha for the repo, or null when unavailable.","kind":"function","line":50,"name":"gitHead","path_id":"F:119e3c0fce","signature":"export function gitHead(root)"},{"anchor":"S:236237bc1b","doc":"Strip git's optional quoting from a porcelain path.","kind":"function","line":56,"name":"unquote","path_id":"F:119e3c0fce","signature":"function unquote(p)"},{"anchor":"S:93d0a78f18","doc":"The set of paths that changed since the cache was built: uncommitted work (git status) plus commits since cache.built_at_head. Returns null when git is not usable, which forces a full rebuild.","kind":"function","line":65,"name":"changedPaths","path_id":"F:119e3c0fce","signature":"export function changedPaths(root, cache)"},{"anchor":"S:3968554637","kind":"const","line":8,"name":"VOLATILE_FIELDS","path_id":"F:12c7a4e461","signature":"export const VOLATILE_FIELDS = ['id', 'signature'];"},{"anchor":"S:9f7fa8d585","kind":"function","line":10,"name":"packetContent","path_id":"F:12c7a4e461","signature":"export function packetContent(packet)"},{"anchor":"S:a0ea4d9d0f","kind":"function","line":18,"name":"computePacketId","path_id":"F:12c7a4e461","signature":"export function computePacketId(packet)"},{"anchor":"S:d2ef86c19f","kind":"function","line":23,"name":"packetIdMatches","path_id":"F:12c7a4e461","signature":"export function packetIdMatches(packet)"},{"anchor":"S:4700befa2a","kind":"function","line":16,"name":"run","path_id":"F:137056535b","signature":"function run(args = [], env = {})"},{"anchor":"S:bc56c13940","doc":"Restore the committed (current, unsigned) artifact after any test that writes to it, so the suite leaves no drift behind.","kind":"function","line":22,"name":"preservingArtifact","path_id":"F:137056535b","signature":"function preservingArtifact(fn)"},{"anchor":"S:2cd4d9571d","kind":"function","line":189,"name":"withTempFile","path_id":"F:137056535b","signature":"function withTempFile(name, content, fn)"},{"anchor":"S:5708b6bd2b","kind":"function","line":4,"name":"PendingApproval","path_id":"F:13d31b33ea","signature":"export const PendingApproval = () => ("},{"anchor":"S:4f265e8008","kind":"function","line":8,"name":"Approved","path_id":"F:13d31b33ea","signature":"export const Approved = () => ("},{"anchor":"S:93e0292f30","kind":"function","line":12,"name":"Protected","path_id":"F:13d31b33ea","signature":"export const Protected = () => ;"},{"anchor":"S:e80517f20b","kind":"interface","line":6,"name":"ActivationCheck","path_id":"F:14edab923f","signature":"export interface ActivationCheck"},{"anchor":"S:30eded078f","kind":"interface","line":17,"name":"ActivationLadderProps","path_id":"F:14edab923f","signature":"export interface ActivationLadderProps"},{"anchor":"S:73a3da9f65","doc":"The activation ladder: the three-rung progression from Disabled to Dry-run to Armed, * paired with the armed-mode gate checklist. Arming is only allowed when every * prerequisite holds. Items marked o","kind":"function","line":46,"name":"ActivationLadder","path_id":"F:14edab923f","signature":"export function ActivationLadder("},{"anchor":"S:237d74cadf","kind":"function","line":15,"name":"parseScalar","path_id":"F:1575110130","signature":"function parseScalar(raw)"},{"anchor":"S:299c43d83e","kind":"function","line":33,"name":"stripQuotes","path_id":"F:1575110130","signature":"function stripQuotes(s)"},{"anchor":"S:0b7b39d873","doc":"Parse a raw value string from after the colon, handling inline comments and quoted strings. Returns the trimmed scalar text or empty string.","kind":"function","line":42,"name":"extractRawValue","path_id":"F:1575110130","signature":"function extractRawValue(afterColon)"},{"anchor":"S:b4a3093fe9","doc":"Count leading spaces to determine nesting depth.","kind":"function","line":59,"name":"indentOf","path_id":"F:1575110130","signature":"function indentOf(line)"},{"anchor":"S:bec355e18a","doc":"Parse an array of non-empty, non-comment lines into a nested object. Each entry is { indent, key, rawValue }.","kind":"function","line":67,"name":"parseEntries","path_id":"F:1575110130","signature":"function parseEntries(entries, start, minIndent)"},{"anchor":"S:8990e6571f","kind":"function","line":99,"name":"parseFlatYaml","path_id":"F:1575110130","signature":"export function parseFlatYaml(text)"},{"anchor":"S:5bac9ae6d5","kind":"function","line":120,"name":"formatScalarForYaml","path_id":"F:1575110130","signature":"function formatScalarForYaml(value)"},{"anchor":"S:efe9cb11d4","doc":"Patch one or more top-level (zero-indent) scalar keys in a config.yaml's raw text, line by line. Every other line, including every comment, is left untouched, so a hand-written config file survives an","kind":"function","line":131,"name":"patchTopLevelYaml","path_id":"F:1575110130","signature":"export function patchTopLevelYaml(text, patch)"},{"anchor":"S:0064b473e6","kind":"function","line":14,"name":"tmpQueue","path_id":"F:195e9217ca","signature":"function tmpQueue()"},{"anchor":"S:d240732a9d","kind":"function","line":18,"name":"sampleAction","path_id":"F:195e9217ca","signature":"function sampleAction(id, target = \"ci\")"},{"anchor":"S:05a5299b28","kind":"interface","line":5,"name":"ConceptTileProps","path_id":"F:1a137480ae","signature":"export interface ConceptTileProps extends ButtonHTMLAttributes"},{"anchor":"S:14c08c7efc","doc":"A compact, focusable tile naming one engine concept: an icon, its name, and a short * category tag. Renders as a real button so it is keyboard-reachable on its own, meant * to be wrapped in a HoverCar","kind":"function","line":20,"name":"ConceptTile","path_id":"F:1a137480ae","signature":"export function ConceptTile({ icon, label, tag, className, ...rest }: ConceptTileProps)"},{"anchor":"S:76d7b21daf","doc":"Today's real high-water mark is 7 (Arming & Safety, Caps & budget tab). The budget is set a few above that: a real ratchet against regression, not an arbitrary ceiling.","kind":"const","line":18,"name":"MAX_CONTROLS_PER_TAB","path_id":"F:1a19f02364","signature":"export const MAX_CONTROLS_PER_TAB = 10;"},{"anchor":"S:b840cddd67","kind":"function","line":20,"name":"readScreens","path_id":"F:1a19f02364","signature":"function readScreens(root)"},{"anchor":"S:7a05eaea5a","doc":"Every field in config.schema.json must resolve to either a literal reference in a screen (a real control, or read-only display) or a documented exemption in exposure.json. A plain substring search, no","kind":"function","line":34,"name":"auditCoverage","path_id":"F:1a19f02364","signature":"export function auditCoverage(root)"},{"anchor":"S:da2f845458","doc":"Splits a screen's source into one segment per tab (by source order, using the `{tab === \"id\" ?` marker this codebase's tabbed screens consistently use), or a single whole-file segment for screens with","kind":"function","line":57,"name":"splitByTabs","path_id":"F:1a19f02364","signature":"function splitByTabs(text)"},{"anchor":"S:6a7737bb57","kind":"function","line":66,"name":"extractTags","path_id":"F:1a19f02364","signature":"function extractTags(text, tagNames)"},{"anchor":"S:0ac24bec51","doc":"Two checks, both numeric: a screen/tab must not exceed the control-density budget, and every value-entry control (Toggle, NumberField, Slider, Select) must carry a hint. Input is excluded from the hin","kind":"function","line":76,"name":"auditCoherence","path_id":"F:1a19f02364","signature":"export function auditCoherence(root)"},{"anchor":"S:762b3eaf4a","kind":"function","line":17,"name":"Models","path_id":"F:1aa7cf650d","signature":"export const Models = () => ("},{"anchor":"S:fc01241f03","doc":"A config fixture with distinct maker/checker models and a models registry.","kind":"function","line":13,"name":"cfg","path_id":"F:1bcaaff9eb","signature":"function cfg(overrides = {})"},{"anchor":"S:55b15c0abb","doc":"A short, stable id from a string. Hex keeps it deterministic across platforms.","kind":"function","line":9,"name":"short","path_id":"F:1cf31c4792","signature":"function short(text, len = 10)"},{"anchor":"S:2e016b842d","kind":"function","line":13,"name":"fileAnchor","path_id":"F:1cf31c4792","signature":"export function fileAnchor(relPath)"},{"anchor":"S:00db09c5a8","kind":"function","line":17,"name":"symbolAnchor","path_id":"F:1cf31c4792","signature":"export function symbolAnchor(relPath, name)"},{"anchor":"S:ab79b43633","doc":"Build the path dictionary from walked files. Returns { paths, pathIdByPath } where `paths` is the serializable { id -> relPath } map and `pathIdByPath` is the reverse lookup callers use to reference p","kind":"function","line":24,"name":"buildPathDictionary","path_id":"F:1cf31c4792","signature":"export function buildPathDictionary(relPaths)"},{"anchor":"S:63613c3a63","doc":"Build the symbol dictionary from API entries. Each entry carries its anchor, owning path id, name, and line, so an anchor resolves to an exact location.","kind":"function","line":37,"name":"buildSymbolDictionary","path_id":"F:1cf31c4792","signature":"export function buildSymbolDictionary(apiEntries)"},{"anchor":"S:a3ca73d34c","doc":"Lifecycle status of a learning: staged for review, or promoted into a permanent gate.","kind":"type","line":6,"name":"LearningStatus","path_id":"F:1d03291691","signature":"export type LearningStatus = \"staged\" | \"promoted\";"},{"anchor":"S:6cbed7ff26","doc":"Plain data shape for a single learning surfaced by the system. Components in this * package define their own shape rather than importing app-level types, so this * interface is the contract a host app","kind":"interface","line":13,"name":"LearningSummary","path_id":"F:1d03291691","signature":"export interface LearningSummary"},{"anchor":"S:8b9971d92a","kind":"interface","line":30,"name":"LearningCardProps","path_id":"F:1d03291691","signature":"export interface LearningCardProps"},{"anchor":"S:d293a69125","doc":"A card summarizing a single learning the system has surfaced: the lesson learned, * how old it is, what signal or evidence produced it, and its lifecycle status. * Staged learnings offer Promote and P","kind":"function","line":49,"name":"LearningCard","path_id":"F:1d03291691","signature":"export function LearningCard({ learning, onPromote, onPrune }: LearningCardProps)"},{"anchor":"S:14850052c8","kind":"interface","line":6,"name":"TabItem","path_id":"F:1db369d970","signature":"export interface TabItem"},{"anchor":"S:c68bb17ca2","kind":"interface","line":17,"name":"TabsProps","path_id":"F:1db369d970","signature":"export interface TabsProps"},{"anchor":"S:bd1a0a35f8","doc":"An accessible horizontal tab list. Implements the WAI-ARIA tabs pattern: the * container carries `role=\"tablist\"`, each tab carries `role=\"tab\"` and * `aria-selected`, and only the active tab is in th","kind":"function","line":35,"name":"Tabs","path_id":"F:1db369d970","signature":"export function Tabs({ tabs, active, onChange, className }: TabsProps)"},{"anchor":"S:d737cd7277","kind":"function","line":51,"name":"flagValue","path_id":"F:1e5ef6ba70","signature":"function flagValue(argv, name)"},{"anchor":"S:8f93f4689a","doc":"Resolve the full arming posture. Config values are advisory; the MODONOME_ARMED environment variable is authoritative (ADR-004). The capability flag layers ADR-024: even an armed engine will not rewri","kind":"function","line":59,"name":"armState","path_id":"F:1e5ef6ba70","signature":"function armState(root, env = process.env)"},{"anchor":"S:46d884501c","kind":"function","line":74,"name":"armingBlockers","path_id":"F:1e5ef6ba70","signature":"function armingBlockers(arm)"},{"anchor":"S:baa16abe42","kind":"function","line":83,"name":"targetIdentity","path_id":"F:1e5ef6ba70","signature":"function targetIdentity(argv)"},{"anchor":"S:6140d7ae56","kind":"function","line":89,"name":"identityUsable","path_id":"F:1e5ef6ba70","signature":"function identityUsable(id)"},{"anchor":"S:edeb959111","doc":"Gather the branch-unique commit range oldest-first with the fields the applier needs: tree object, first parent, author and committer identity and dates, and raw message. Enforces the protected-histor","kind":"function","line":96,"name":"gatherRange","path_id":"F:1e5ef6ba70","signature":"function gatherRange()"},{"anchor":"S:4bc9723575","doc":"Advisory range for `plan`: tolerant of a missing origin/main so the proposal works in a fresh clone. Newest-first from git log; reversed to oldest-first for stable output.","kind":"function","line":120,"name":"advisoryRange","path_id":"F:1e5ef6ba70","signature":"function advisoryRange()"},{"anchor":"S:59807c1a98","kind":"function","line":133,"name":"buildPlan","path_id":"F:1e5ef6ba70","signature":"function buildPlan(branch, commits, identity)"},{"anchor":"S:2484ffb006","kind":"function","line":141,"name":"printPlan","path_id":"F:1e5ef6ba70","signature":"function printPlan(plan, identity)"},{"anchor":"S:e7f49cafe1","kind":"function","line":167,"name":"isDirtyTracked","path_id":"F:1e5ef6ba70","signature":"function isDirtyTracked()"},{"anchor":"S:e2861b1099","kind":"function","line":172,"name":"rollback","path_id":"F:1e5ef6ba70","signature":"function rollback(savedHead)"},{"anchor":"S:e8b27564c5","doc":"Replay the range from the first changed commit forward, reusing each original tree object so the rewrite is metadata-only. Verifies tree-SHA invariance per commit and rolls back on any failure. Return","kind":"function","line":179,"name":"applyPlan","path_id":"F:1e5ef6ba70","signature":"function applyPlan(commits, plan)"},{"anchor":"S:b97efe3854","kind":"function","line":231,"name":"cmdPlan","path_id":"F:1e5ef6ba70","signature":"function cmdPlan(argv)"},{"anchor":"S:69db4ad7cc","kind":"function","line":243,"name":"cmdApply","path_id":"F:1e5ef6ba70","signature":"function cmdApply(argv, root)"},{"anchor":"S:602e030d27","kind":"function","line":294,"name":"main","path_id":"F:1e5ef6ba70","signature":"function main(argv)"},{"anchor":"S:5a6c3aef24","kind":"class","line":7,"name":"OrderService","path_id":"F:1ecd18c4b9","signature":"export class OrderService"},{"anchor":"S:a2fef04067","kind":"function","line":4,"name":"Budget","path_id":"F:1f40b6eb6e","signature":"export const Budget = () => ("},{"anchor":"S:537ea4dfe0","kind":"type","line":5,"name":"ToggleTone","path_id":"F:214cc0a5f4","signature":"export type ToggleTone = \"primary\" | \"info\" | \"owner\";"},{"anchor":"S:cd836c2fc7","kind":"interface","line":7,"name":"ToggleProps","path_id":"F:214cc0a5f4","signature":"export interface ToggleProps"},{"anchor":"S:84b00e90de","doc":"An accessible switch for boolean config such as dry_run, auto_merge, or * local_model_only_by_default. Implemented as a `role=\"switch\"` button rather * than a checkbox so the on/off semantics are anno","kind":"function","line":28,"name":"Toggle","path_id":"F:214cc0a5f4","signature":"export function Toggle("},{"anchor":"S:b919653baa","kind":"function","line":44,"name":"DryRun","path_id":"F:2207a6ebce","signature":"export const DryRun = () => ("},{"anchor":"S:ea5d04ea13","kind":"function","line":48,"name":"Armed","path_id":"F:2207a6ebce","signature":"export const Armed = () => ("},{"anchor":"S:7cd45cbc03","kind":"function","line":36,"name":"formatYamlScalar","path_id":"F:22566cb46e","signature":"function formatYamlScalar(value)"},{"anchor":"S:1c5d801590","doc":"A line-level patch, not a full YAML re-serialize, so every hand-written comment in config.yaml survives an edit made from the panel. Only top-level, zero-indent keys are touched; nested maps (roles, m","kind":"function","line":44,"name":"patchYamlText","path_id":"F:22566cb46e","signature":"function patchYamlText(text, patch)"},{"anchor":"S:b06714d9c5","kind":"function","line":69,"name":"patchConfig","path_id":"F:22566cb46e","signature":"export function patchConfig(modonomeDir, patch)"},{"anchor":"S:8b67ef3e8b","kind":"function","line":83,"name":"workItemFile","path_id":"F:22566cb46e","signature":"function workItemFile(modonomeDir, itemId)"},{"anchor":"S:fd9d32de9a","kind":"function","line":89,"name":"releaseLease","path_id":"F:22566cb46e","signature":"export function releaseLease(modonomeDir, itemId)"},{"anchor":"S:5b0e153cfb","kind":"function","line":100,"name":"pruneLearning","path_id":"F:22566cb46e","signature":"export function pruneLearning(modonomeDir, lesson)"},{"anchor":"S:a931ad2e62","doc":"Concatenate the committed prompt source files into one searchable string. * @param {string} root repository root that contains the prompts directory * @returns {string} the concatenated committed prom","kind":"function","line":44,"name":"resolvePromptText","path_id":"F:23917c6197","signature":"export function resolvePromptText(root)"},{"anchor":"S:0a5fed1978","doc":"Load every fixture JSON file from a directory. * @param {string} dir directory holding fixture *.json files * @returns {Array