diff --git a/.aoci/baseline.json b/.aoci/baseline.json index 8b1e75c9..5cf9d11a 100644 --- a/.aoci/baseline.json +++ b/.aoci/baseline.json @@ -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", @@ -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", @@ -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", diff --git a/aoci.code.txt b/aoci.code.txt index ce7e1e46..b4603a19 100644 --- a/aoci.code.txt +++ b/aoci.code.txt @@ -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 diff --git a/docs/managed-scope-and-budget.md b/docs/managed-scope-and-budget.md index 59782afd..401d78a9 100644 --- a/docs/managed-scope-and-budget.md +++ b/docs/managed-scope-and-budget.md @@ -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.