diff --git a/cli/audit.mdx b/cli/audit.mdx index 9a6c407..73c8843 100644 --- a/cli/audit.mdx +++ b/cli/audit.mdx @@ -353,7 +353,7 @@ Audit scope: 12 changed files vs main (d4a2f91..HEAD) ```json title="$ fallow audit --format json" { "kind": "audit", - "schema_version": 11, + "schema_version": 12, "version": "3.31.0", "command": "audit", "verdict": "fail", @@ -381,7 +381,7 @@ Audit scope: 12 changed files vs main (d4a2f91..HEAD) "duplication_demoted": 0 }, "dead_code": { - "schema_version": 9, + "schema_version": 10, "total_issues": 2, "unused_exports": [ { "path": "src/components/Button.tsx", "export_name": "OldButton", "introduced": true, "actions": [...] } @@ -554,7 +554,7 @@ The decision surface is the ranked set of `coupling-boundary`, `public-api-contr ### JSON envelope -`fallow review --format json` returns `decisions`, `focus`, `deltas`, `impact_closure`, `partition`, and `graph_facts`. When the project has a CODEOWNERS file, it also returns `ownership`. The brief `schema_version` is 11 since the `ownership` section. A consumer can read it to detect the section. +`fallow review --format json` returns `decisions`, `focus`, `deltas`, `impact_closure`, `partition`, and `graph_facts`. When the project has a CODEOWNERS file, it also returns `ownership`. The brief `schema_version` is 12. Consumers can use it to detect contract changes. `deltas` also has the dependency keys that the decision surface reads: `dependency_added` (`::`) and `dependency_major_bumped` (`::@->`). The envelope names what changed even when the cap collapses the decision. Both keys are always present, as empty arrays when nothing changed. diff --git a/cli/dead-code.mdx b/cli/dead-code.mdx index 50875d6..5045045 100644 --- a/cli/dead-code.mdx +++ b/cli/dead-code.mdx @@ -286,7 +286,7 @@ In `--format json`, re-export cycles have their own field, with the shape of eac ```json title="$ fallow dead-code --format json (excerpt)" { "kind": "dead-code", - "schema_version": 9, + "schema_version": 10, "re_export_cycles": [ { "files": ["src/api/index.ts", "src/api/internal/index.ts"], diff --git a/explanations/dead-code.mdx b/explanations/dead-code.mdx index f4ba888..3cbed43 100644 --- a/explanations/dead-code.mdx +++ b/explanations/dead-code.mdx @@ -1069,7 +1069,7 @@ When you pass `--explain`, or run through MCP, the JSON output includes a `_meta ```json { - "schema_version": 9, + "schema_version": 10, "_meta": { "docs": "https://fallow.tools/docs/cli/dead-code/", "rules": { diff --git a/public-content-manifest.json b/public-content-manifest.json index 63132dc..c9c846c 100644 --- a/public-content-manifest.json +++ b/public-content-manifest.json @@ -7,7 +7,7 @@ "visibility": "public-only" }, "content": { - "sha256": "46913310d60a6d81018d51ef04c38770d17b19b82c8160aac6c36d8bb5bf47b6", + "sha256": "8e95c54d440d2281ae6fd8ecabd36a66e163818f824b7385b859448d20fdcd09", "files": [ { "path": "adoption.mdx", @@ -86,8 +86,8 @@ }, { "path": "cli/audit.mdx", - "bytes": 46801, - "sha256": "688ef1da7ae7444a27825e48f2db396deeeae607ddc890669a392e66ca2e1e70" + "bytes": 46775, + "sha256": "b67b3b86efe445f94f800c68c68493ea548d6e9026e7a3de800ad54fd462c76e" }, { "path": "cli/config.mdx", @@ -101,8 +101,8 @@ }, { "path": "cli/dead-code.mdx", - "bytes": 33394, - "sha256": "babe550f36419c70cece19fd6d1061327a4f9bd31fba0f19b584a771b6b0548f" + "bytes": 33395, + "sha256": "f90b43b9c506d9911dd05fe6a3bf9fb24451f1eaa505e117389a491cf1ce4e21" }, { "path": "cli/decision-surface.mdx", @@ -291,8 +291,8 @@ }, { "path": "explanations/dead-code.mdx", - "bytes": 92938, - "sha256": "127902f64461e6aade063d744dec7e7f119ee9f6b51dc3a4642e668d438e23b4" + "bytes": 92939, + "sha256": "59a88315d81e3195613a30e2944b65e4823e783583ef8846efdfe5daab60c91c" }, { "path": "explanations/duplication.mdx",