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
fix(miner-governor): require global live opt-in (#5231)
resolveMinerActionMode required EITHER the operator's global env config
OR the target repo's own .gittensory-miner.yml opt-in to reach live mode.
That meant a repo's own manifest alone could enable real miner writes
without the operator ever opting their instance into live execution.
Changes the resolver from OR to AND -- the repo field is now a repo-side
allowance, not a standalone authorization.
Fixes two test fixtures (test/unit/miner-attempt-runner.test.ts's
allowingGovernorContext, test/unit/miner-governor-chokepoint-persisted.test.ts's
baseInput) whose "everything allows" defaults set only the global opt-in,
relying on the old OR semantics to reach live -- both now set the repo
opt-in too, matching the new AND requirement.
0 commit comments