Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .aoci/baseline.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"created_at": "2026-08-07T17:44:36Z",
"updated_at": "2026-11-21T16:27:31Z",
"updated_at": "2026-11-23T02:56:12Z",
"files": {
".gitattributes": {
"role": "index",
Expand Down Expand Up @@ -137,9 +137,9 @@
},
"aoci.code.txt": {
"role": "index",
"sha256": "e417a9223f67f2520b9fd2a1e295fd7f4a945bfef9bc1c67cdb37a0d25dd1155",
"size": 238573,
"normalized_sha256": "e417a9223f67f2520b9fd2a1e295fd7f4a945bfef9bc1c67cdb37a0d25dd1155"
"sha256": "899111000c50f3fde44a2b7d392f7556f432d9dd1d24546035602af8a6ae345f",
"size": 238585,
"normalized_sha256": "899111000c50f3fde44a2b7d392f7556f432d9dd1d24546035602af8a6ae345f"
},
"aoci.meta.txt": {
"role": "index",
Expand Down Expand Up @@ -239,9 +239,9 @@
},
"docs/managed-scope-and-budget.md": {
"role": "index",
"sha256": "03aa51ecd9ba39b772e79402f0b2d2a3ab2429561283a86cb1c27647e1a90364",
"size": 36933,
"normalized_sha256": "03aa51ecd9ba39b772e79402f0b2d2a3ab2429561283a86cb1c27647e1a90364"
"sha256": "9916bf5279763b1022436dd2f05f616f28c03c3bce4b136e277006f51f9891e0",
"size": 37239,
"normalized_sha256": "9916bf5279763b1022436dd2f05f616f28c03c3bce4b136e277006f51f9891e0"
},
"docs/mongodb-collection-evidence-profile.md": {
"role": "index",
Expand Down
2 changes: 1 addition & 1 deletion aoci.code.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ database-evidence.md[CG5L]: F:Documents source setup, catalog-only collection, s
getting-started.md[CG5S]: F:Guides the first week: install and initialize, a teammate's clone, connect the Agent and build the index, keep it aligned on every task | R:code:docs/install.md,code:docs/cognition-volumes.md | A:- | S:Three safety-test anchors verbatim, no-argument aoci_maintain on one line; scan before Guide, read init's build cost first; five everyday commands match root help; a clone: init --agent, never scan
install.md[CG5M]: F:Documents source builds and layered verification of exact signed 16-asset releases using checksums, identity, signatures, attestations, SBOMs, and manifest | R:code:docs/supply-chain.md,code:.github/workflows/release.yml,code:scripts/release/manifest/main.go | A:sha256sum -c,cosign verify-blob,gh attestation verify | S:No runtime dependency on gh, Cosign or Go; scanning a Git tree needs host git; a non-Git root has no ignore authority; bundle verify may need a Sigstore root; api.github.com serves assets
localization.md[CG5T]: F:Defines locale authority, asset parity, the Volumes Locale switch, prospective Entry language, and runtime text consistency rules | R:code:internal/config/config.go,code:internal/mcptools/server.go,code:internal/cli/locale_switch_transaction.go | A:- | S:Git's stderr after a failed inventory query is the one untranslated exception; the Volumes switch rewrites only the Root marker with config and Baseline, Legacy stays read-only
managed-scope-and-budget.md[CG5L]: F:Explains scope roles, governed changes, approval, activation, posture, observe review, untracked-source warning, onboarding, starter rules, exclusions, budgets | R:code:spec/public/aoci-managed-scope-and-budget-v1.txt,code:internal/volumegovernance/facts.go,code:internal/cli/scope_activate.go,code:internal/fs/safe_inventory.go,code:internal/managedscope/starter.go,code:internal/mcptools/tools_observe_review.go | A:- | S:S hard limit = Meta rune quota; non-Git root reads child Git; v2 name rules, starter rules, root list: init-only; rules+Observe merge: activate --reviewed-by; pre-scan exclude batches
managed-scope-and-budget.md[CG5L]: F:Explains scope roles, governed changes, first-Entry approval, activation, posture, Observe review, inventory warnings, onboarding, starter rules and budgets | R:code:spec/public/aoci-managed-scope-and-budget-v1.txt,code:internal/volumegovernance/facts.go,code:internal/cli/scope_activate.go,code:internal/fs/safe_inventory.go,code:internal/managedscope/starter.go,code:internal/mcptools/tools_observe_review.go | A:- | S:S quota from Meta; non-Git roots use child Git; v2 names, starter rules, root list init-only; rules+Observe via activate --reviewed-by; pre-scan exclude batches; first Entry ends narrowing exception
overview-delivery.md[CG5M]: F:Documents Overview chunk transport, v1/v2 cursors, guarded reuse, result-size declaration, Challenge pass share, split proof, capacity stop, L5 deltas | R:code:internal/mcptools/tools_read.go,code:internal/mcptools/overview_session_v2.go,code:internal/mcptools/overview_capacity.go | A:- | S:v2 token never reconstructed, failures restart at Chunk 1; one Chunk per call; a confirmation counts only for the delivery sent to its end; delta_since needs a probe pass; Database Volumes reuse too
rollback.md[CG5T]: F:Provides safe binary rollback, conditional MCP process refresh, and layout-appropriate post-rollback verification | R:code:docs/upgrading.md | A:- | S:A host-wide restart is unnecessary when its MCP integration can reload and prove the replacement process; Volumes close through Verify, Check, and Guide, while status --deep remains Legacy-only
safe-inventory-and-scope-refresh.md[CG5T]: F:Explains Safe Inventory exclusions and sensitive-name rule sets, the Managed Scope route for changing a Baseline's scope, and the retired Legacy refresh | R:- | A:- | S:An ignored directory collapses to one line only when every file is a hard exclusion; exclude_root_dirs names are hard at the root and where git ignores them; sensitive_name_rules v2 is a Scope Change
Expand Down
11 changes: 8 additions & 3 deletions docs/managed-scope-and-budget.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,14 @@ aoci --repo /work scope rule add host-config --action exclude --pattern .mcp.jso
aoci --repo /work scan
```

Order matters because roles freeze at the first `scan`: narrowing afterwards
reduces coverage, which needs `scope approve` on a TTY even when no Entry has
been written yet.
Once the first `scan` has created a Baseline, edit the rules and run
`aoci scope activate` to adopt the narrower scope.

Starting with v0.2.0-rc3, excluding an Index source that is still waiting
for its first Entry follows the ordinary approval policy while both the Code
and Database Volumes are empty. An eligible change can apply automatically
in `auto` mode. Once either Volume has an Entry, dropping such a source
counts as a coverage reduction and requires human approval.

To defer several directories in one edit, repeat `--pattern` before the first
scan. The rules share a reason and each has its own ID in the result.
Expand Down
Loading