docs: specify tiered API safety modes - #6
Open
TeamNL1 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a draft specification for three API safety modes:
--default,--human, and--auto.The specification preserves the existing safe default and defines a permanent create-only boundary for reduced-guardrail workflows: data may be read from Form A and written to a separate, non-colliding scope in Form B, but existing AMS data may never be updated, replaced, or deleted.
This PR contains descriptive guidelines only. It does not implement the modes or change runtime behavior.
Linked Issue
Relates to: no issue number has been assigned.
Relevant Aim IDs
B8,B9,C3,C5,C6,C7,C8,D1,D4,D5,D6,D7,D8,D9,D10,D11,D12,E4,E6,E7,E9,F6,F8Highest applicable risk level: Critical.
Safety Impact
No credentials, AMS data access, writes, updates, upserts, deletes, sandbox guards, or production behavior are changed by this PR.
The specification proposes reduced approval interaction for reviewed workflows while retaining validation, dry-run planning, immutable previews, environment verification, scope limits, duplicate and retry protections, auditability, and credential safeguards.
The proposed
--automode permanently prohibits updates, upserts, replacements, overwrites, archives, and deletes. Unattended live creation also remains disabled until the current governance conflict has been explicitly reviewed and resolved.Testing
Commands run: