You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lib/adv_status.sh (442 LOC, 15 shell functions) reads ADV internal state files with jq. Replace with oca adv-status Go subcommand that reads state through the advruntime package.
Why
Shell reads of change.json, snapshot.json, temporal.env are fragile coupling to ADV internal format
If ADV schema changes (signal cutover), shell parsing breaks silently
Go subcommand is testable, typed, and degrades gracefully
Acceptance Criteria
oca adv-status --format text replaces adv_status.sh output
oca adv-status --format json for machine-readable output
--query active-change|worktrees|temporal-health for specific queries
adv_status.sh deleted or reduced to thin wrapper calling oca adv-status
Proposal
docs/proposals/2026-05-08-cross-repo-boundary-audit.md § O2 + § State File Reads
Summary
lib/adv_status.sh(442 LOC, 15 shell functions) reads ADV internal state files withjq. Replace withoca adv-statusGo subcommand that reads state through theadvruntimepackage.Why
change.json,snapshot.json,temporal.envare fragile coupling to ADV internal formatAcceptance Criteria
oca adv-status --format textreplacesadv_status.shoutputoca adv-status --format jsonfor machine-readable output--query active-change|worktrees|temporal-healthfor specific queriesadv_status.shdeleted or reduced to thin wrapper callingoca adv-statusProposal
docs/proposals/2026-05-08-cross-repo-boundary-audit.md§ O2 + § State File ReadsWSJF Estimate
Value: 8 | TC: 7 | RROE: 8 | Effort: 5 | WSJF: 4.6