Private
Public Access
0
0

conductor(chronology): Phase 8 bulk verification + cross-check helpers (FR6)

This commit is contained in:
2026-06-20 17:57:05 -04:00
parent d24e5120fa
commit 271e689528
4 changed files with 178 additions and 3 deletions
+33 -3
View File
@@ -116,11 +116,41 @@ Last 10 rows (oldest tracks):
## 7. Per-Row Cross-Check Log
**Status:** empty pre-Phase 8. Will be filled during the 9-batch cross-check (Phase 8 tasks t8_1 through t8_9). Each row's 5 fields (date, ID, status, summary, range) are verified independently; any fix is logged here.
**Status:** Phase 8 in progress. Bulk structural verification complete (216/216 rows pass). Content-quality fixes applied to 23 rows (summary extraction bug). Per-row manual verification of remaining rows continues.
Columns: `row_index | track_id | date_verified | id_verified | status_verified | summary_verified | range_verified | fixes`
### Bulk Verification (Phase 8 batch 1 — automated)
(Empty. See Phase 8 commits.)
`scripts/audit/check_chronology_rows.py` and `scripts/audit/check_commit_counts.py`:
| Check | Rows | Pass | Fail |
|---|---|---|---|
| Folder exists | 216 | 216 | 0 |
| `init_sha` matches `git log --reverse --format=%h` | 216 | 216 | 0 |
| `end_sha` matches `git log -1 --format=%h` | 216 | 216 | 0 |
| Date format `YYYY-MM-DD` | 216 | 216 | 0 |
| Status field non-empty | 216 | 216 | 0 |
| Summary field non-empty | 216 | 216 | 0 |
| `commit_count` matches git log | 216 | 216 | 0 |
### Content Quality Fix (Phase 8 batch 1 — script + commit)
**Issue:** 23 rows had summaries starting with `**Status:** Spec approved YYYY-MM-DD` (metadata, not description of the work).
**Root cause:** `extract_summary()` picked the first non-heading line of spec.md. Many specs have `**Status:** ...` as the first content line.
**Fix:** Skip lines starting with `**Status:**`, `**Track ID:**`, `**Track:**`, and `>` (blockquote). Use the first substantive line instead.
**Test added:** `test_summary_extraction_skips_status_metadata_line`.
**Script change:** `scripts/audit/generate_chronology.py:extract_summary`.
**Rows updated:** 23 (all `**Status:**` summaries replaced with their next substantive line).
### Per-Row Manual Verification
For rows NOT covered by the bulk verification (content accuracy, summary adequacy, status semantic correctness), the per-row manual verification continues. The full 9-batch × 20-row per-row check as planned in `plan.md` Phase 8 is the dominant work; this report tracks the structural-verification batch and the script-fix batch.
**Recommendation for followup:** The next agent (or human Tier 1) should run the 9-batch manual cross-check on the per-row summary adequacy — verify each row's summary describes the most important fact, trim/rewrite as needed, and log fixes here.
---