|
2 | 2 |
|
3 | 3 | `code-explainer` writes the following deterministic output tree under `<output>/`: |
4 | 4 |
|
5 | | -1. `overview/OVERVIEW.md` |
6 | | -2. `deep/ARCHITECTURE_DEEP.md` |
7 | | -3. `deep/MODULES_DEEP.md` |
8 | | -4. `deep/FLOWS_DEEP.md` |
9 | | -5. `deep/DEPENDENCIES_DEEP.md` |
10 | | -6. `deep/GLOSSARY.md` |
11 | | -7. `diagrams/*.mmd` |
12 | | -8. `diagrams/svg/*.svg` |
13 | | -9. `diagrams/png/*.png` |
14 | | -10. `meta/analysis_manifest.json` |
15 | | -11. `meta/confidence_report.json` |
16 | | -12. `meta/source_attribution.json` |
17 | | -13. `meta/index.json` |
18 | | -14. `meta/stack.json` |
19 | | -15. `meta/entrypoints.json` |
20 | | -16. `meta/dependencies.json` |
21 | | -17. `meta/flows.json` |
22 | | -18. `meta/diagram_manifest.json` |
23 | | -19. `meta/mermaid_validation.json` |
24 | | -20. `meta/render_report.json` |
25 | | -21. `meta/enrichment.json` |
26 | | -22. `meta/coverage_report.json` |
27 | | -23. `meta/llm_summary.json` |
28 | | -24. `meta/docs_generation.json` |
29 | | -25. `meta/quality_report.json` |
| 5 | +1. `overview/OVERVIEW.md` (when `--format markdown|both`) |
| 6 | +2. `deep/ARCHITECTURE_DEEP.md` (when `--format markdown|both`) |
| 7 | +3. `deep/MODULES_DEEP.md` (when `--format markdown|both`) |
| 8 | +4. `deep/FLOWS_DEEP.md` (when `--format markdown|both`) |
| 9 | +5. `deep/DEPENDENCIES_DEEP.md` (when `--format markdown|both`) |
| 10 | +6. `deep/GLOSSARY.md` (when `--format markdown|both`) |
| 11 | +7. `html/ONBOARDING.html` (when `--format html|both`) |
| 12 | +8. `diagrams/*.mmd` |
| 13 | +9. `diagrams/svg/*.svg` |
| 14 | +10. `diagrams/png/*.png` |
| 15 | +11. `meta/analysis_manifest.json` |
| 16 | +12. `meta/confidence_report.json` |
| 17 | +13. `meta/source_attribution.json` |
| 18 | +14. `meta/index.json` |
| 19 | +15. `meta/stack.json` |
| 20 | +16. `meta/entrypoints.json` |
| 21 | +17. `meta/dependencies.json` |
| 22 | +18. `meta/flows.json` |
| 23 | +19. `meta/diagram_manifest.json` |
| 24 | +20. `meta/mermaid_validation.json` |
| 25 | +21. `meta/render_report.json` |
| 26 | +22. `meta/enrichment.json` |
| 27 | +23. `meta/coverage_report.json` |
| 28 | +24. `meta/explainer_context.json` |
| 29 | +25. `meta/verification_checkpoint.json` |
| 30 | +26. `meta/llm_summary.json` |
| 31 | +27. `meta/docs_generation.json` |
| 32 | +28. `meta/html_generation.json` (when `--format html|both`) |
| 33 | +29. `meta/fact_check_report.json` |
| 34 | +30. `meta/content_completeness.json` |
| 35 | +31. `meta/quality_report.json` |
30 | 36 |
|
31 | 37 | ## Manifest Schema |
32 | 38 |
|
|
44 | 50 | - `diagram_count` |
45 | 51 | - `audience` |
46 | 52 | - `overview_length` |
| 53 | +- `output_format` |
| 54 | +- `analysis_type` |
47 | 55 | - `include_globs[]` |
48 | 56 | - `exclude_globs[]` |
49 | 57 | - `docs_discovered` |
50 | 58 | - `docs_parsed` |
51 | 59 | - `llm_descriptions_enabled` |
52 | 60 | - `llm_descriptions_used` |
53 | 61 | - `llm_model` |
| 62 | +- `verification_fact_count` |
| 63 | +- `fact_check_passed` |
| 64 | +- `html_generated` |
54 | 65 |
|
55 | 66 | ## Coverage Schema |
56 | 67 |
|
|
65 | 76 | - `parsed_docs[]` with `path`, `title`, `summary`, `headings[]`, `line_count`, `size_bytes`, `keywords[]` |
66 | 77 | - `skipped_docs[]` with `path`, `reason` |
67 | 78 |
|
| 79 | +## Explainer Context Schema |
| 80 | + |
| 81 | +`explainer_context.json` contains: |
| 82 | + |
| 83 | +- `generated_at` |
| 84 | +- `analysis_type` (`onboarding|project-recap|plan-review|diff-review`) |
| 85 | +- `source` |
| 86 | +- `repo_root` |
| 87 | +- `since` |
| 88 | +- `git_ref` |
| 89 | +- `plan_file` |
| 90 | +- `project_recap` (mode-specific) |
| 91 | +- `plan_review` (mode-specific) |
| 92 | +- `diff_review` (mode-specific) |
| 93 | +- `highlights[]` |
| 94 | + |
| 95 | +## Verification Schema |
| 96 | + |
| 97 | +`verification_checkpoint.json` contains: |
| 98 | + |
| 99 | +- `generated_at` |
| 100 | +- `analysis_type` |
| 101 | +- `fact_count` |
| 102 | +- `facts[]` with: |
| 103 | +- `claim_id` |
| 104 | +- `claim_text` |
| 105 | +- `expected_text` |
| 106 | +- `must_include_tokens[]` |
| 107 | +- `status` |
| 108 | +- `evidence_locations[]` with `path`, `line`, `excerpt` |
| 109 | + |
68 | 110 | ## LLM Narrative Schema |
69 | 111 |
|
70 | 112 | `llm_summary.json` contains: |
|
82 | 124 | - `confidence_notes[]` |
83 | 125 | - `error` |
84 | 126 |
|
| 127 | +## Fact-Check Schema |
| 128 | + |
| 129 | +`fact_check_report.json` contains: |
| 130 | + |
| 131 | +- `checked_at` |
| 132 | +- `output_format` |
| 133 | +- `analysis_type` |
| 134 | +- `fact_count` |
| 135 | +- `confirmed_count` |
| 136 | +- `mismatch_count` |
| 137 | +- `passed` |
| 138 | +- `checks[]` |
| 139 | +- `advisory_checks[]` |
| 140 | + |
85 | 141 | ## Confidence Schema |
86 | 142 |
|
87 | 143 | `confidence_report.json` contains: |
|
0 commit comments