Repository navigation
docs(design): add LOG_ONLY mode design doc - #310
Conversation
|
Assessment: Request Changes I reviewed the design at a159e32 against the code it names and the written decisions. The main problem: log-only mode turns off more than the doc says, because on the interpreter and metadata paths the policy is the only protection. Two parts of the implementation sketch also don't match how decisions and records flow today. Review Categories
Assumptions and rules I checked that held:
The per-decision |
|
Assessment: Request Changes I re-reviewed at 576d307. All four earlier findings are addressed. One new defect remains: in multi-leg attempts the not-enforced record is lost, so a trial can report zero flips for an action that enforce mode refuses (inline on L156). Earlier findings, status at 576d307
Assumptions and rules I checked that held:
|
Description
Adds the design doc for a box-wide LOG_ONLY mode:
team/designs/0005-log-only-mode.md.Today a policy in Box either enforces right away or isn't used, so there's no safe way to trial a generated policy. LOG_ONLY evaluates the policy on every action as if enforced, but its denials don't block. Box records what would have happened, so a builder can watch the results and then switch to enforcement. It matches AgentCore's LOG_ONLY.
The doc proposes the behavior, six key decisions (including the setting on the
policykey and the record fields), and an implementation sketch. Review on this PR is the design review.Type of Change
Documentation update
Testing
Docs-only change; no code touched, so
just checkdoesn't apply.mainCI is currently red for an unrelated reason (#266).Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.