Make historical agent authority deployment-bound - #35
Conversation
|
Maintenance review result: keep draft / NO-GO. Production activation currently never persists a historicalAgentCutovers row, while agent-runtime and masked-host fallback treat an absent marker as permission to restore legacy authority. After generic associations are granted and later revoked, historical fallback can therefore resurrect. The current test manually inserts the cutover and does not exercise a production transition. Before merge, add an atomic real cutover path (likely only after both exact generic associations exist) and prove revocation cannot restore Standard Resources or masked-host authority. Also fail preview before PIN consumption when the deployment-local historical activation witness is absent. Baseline Linux CI expectation has since been repaired on main by PR #38; update this branch only after the authority blocker is fixed. |
Summary
wayang.masked-host-workspace.v1, effective only with exact-pair Standard resources, including scheduled sessionsmasked-host-workspaceContinuity invariant
Accidental widening of the active historical agent is more acceptable than narrowing it. Uncut pairs on the explicitly activated home retain legacy fallback. Secondary/copy deployments stay inert without a local witness. This PR must not be deployed on the active home until
make setup-historical-agent-activationhas been completed locally and its status verified.Validation
main)make doctor: 0 failures; expected missing worktree.envwarning; historical activation correctly reported inactiveDeployment / rollback
WAYANG_DATA_DIRbackup and matching prior binary/source artifactThe combined PIN-approved per-pair cutover workflow remains a later stage; schema support is present, but this PR does not expose a one-click narrowing cutover.