You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: docs/wiki/Architecture.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
High-level pipeline:
4
4
5
5
1. Writers: The extension instruments editor and file system events and appends PCM events to `.coderoot/v1/files/<rel>.xform.jsonl` (rotated by size).
6
-
2. Snapshot builder: `snapshotBuilder.buildSnapshotFromJournal()` consumes rotated journal files and materializes a per-file snapshot under `.coderoot/v1/snapshots/<rel>.pcm.json` (schema_version 1.1.7).
6
+
2. Snapshot builder: `snapshotBuilder.buildSnapshotFromJournal()` consumes rotated journal files and materializes a per-file snapshot under `.coderoot/v1/snapshots/<rel>.pcm.json` (schema_version 1.1.8).
7
7
3. Index & manifest: `indexManifest.writeManifest()` writes a small repository-level manifest used by reporters and maintenance tasks.
8
8
4. Reporter: `report.generateReport()` locates `assets/ci-reporter.mjs` and executes `generateReport(workspaceRoot)` to produce JSON and Markdown outputs.
PCM Snapshots are per-file JSON summaries stored under `.coderoot/v1/snapshots/<relative-path>.pcm.json`. They provide a complete view of file composition without storing source code.
6
+
7
+
---
8
+
9
+
## What Snapshots Contain
10
+
11
+
A snapshot includes:
12
+
13
+
***Spans**: Regions of the file (by byte range) with origin, category, and timestamps
14
+
***Summary**: Aggregated counts by origin, category, and subtype
0 commit comments