Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/0-0-0-readiness/CLASSIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,17 @@ Per `docs/active-trajectory.md` strict bucket taxonomy: classification requires

**Batch 2 result (as of #838 merge, 2026-04-29T11:53:43Z): 8 of 9 files SAFE_TO_RESET_LFG_SUPERSEDES (81 lines), 1 file NEEDS_HUMAN_DECISION (12 lines).**

**Post-option-(c)-migration result (contingent on the migration PR landing): all 9 Batch 2 files SAFE_TO_RESET_LFG_SUPERSEDES (93 lines).** The `loop-tick-history.md` row above flips from NEEDS_HUMAN_DECISION → SAFE_TO_RESET_LFG_SUPERSEDES atomically with that PR's merge (decision-vs-resolution discipline: in-force state until merge is the pre-merge state).
**Post-option-(c)-migration result (in-force as of #839 merge, 2026-04-29T12:46:29Z): all 9 Batch 2 files SAFE_TO_RESET_LFG_SUPERSEDES (93 lines).** The `loop-tick-history.md` row above flipped from NEEDS_HUMAN_DECISION → SAFE_TO_RESET_LFG_SUPERSEDES atomically with #839's merge.

### Batch 3a (2026-04-29T12:48Z)

| File | Diff +/- | Status | Evidence |
|---|---|---|---|
| `memory/project_laptop_only_source_integration_scratch_sqlsharp_features_or_designs_high_priority_2026_04_27.md` | +8/-27 | **SAFE_TO_RESET_LFG_SUPERSEDES** | LFG has `cabaabe sync: AceHack→LFG bulk content forward-port + CI cadence split + Windows trajectory seed (#651)` (forward-port + cadence-split) and `6a2f08e substrate: laptop-only source integration (#642)` (LFG-side reapplication). AceHack-only `+8` lines drop the **closed-list-scope qualifier** from the `../scratch` / `../SQLSharp` zero-matches completion criterion. AceHack version: `git grep -- '../scratch' returns zero matches`. LFG version: `git grep -- '../scratch' returns zero matches *outside the closed-list history surfaces* (memory/**, docs/BACKLOG.md, docs/backlog/**, docs/research/**, ...)`. Without the qualifier, the criterion is **technically unsatisfiable** because grep would always hit references on the closed-list surfaces themselves (this very file is one of those surfaces). LFG version is more accurate AND rule-compliant; AceHack version is a simplification regression. |

**Batch 3a result: 1 of 1 files SAFE_TO_RESET_LFG_SUPERSEDES.** (Post-merge of this PR — atomic with merge per decision-vs-resolution discipline. Ledger update from headline `classified_safe_lines = 227 → 235` and `unclassified_lines = 46 → 38` lands in a small follow-up PR after this PR merges; this PR holds the classification record only, not the ledger headline edit.)
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: This paragraph says Batch 3a is “atomic with merge” but then defers the ledger headline update to a follow-up PR. That creates an in-repo state where the classification record and the ledger counts disagree. Prefer updating the counts in the same PR that records the classification, or reword this section so it’s explicitly a planned classification until the ledger update merges.

Suggested change
**Batch 3a result: 1 of 1 files SAFE_TO_RESET_LFG_SUPERSEDES.** (Post-merge of this PR — atomic with merge per decision-vs-resolution discipline. Ledger update from headline `classified_safe_lines = 227 → 235` and `unclassified_lines = 46 → 38` lands in a small follow-up PR after this PR merges; this PR holds the classification record only, not the ledger headline edit.)
**Batch 3a planned classification: 1 of 1 files SAFE_TO_RESET_LFG_SUPERSEDES.** (This PR records the file-level classification only. The ledger headline update from `classified_safe_lines = 227 → 235` and `unclassified_lines = 46 → 38` lands in a small follow-up PR; treat the classification as planned rather than merged into the ledger until that headline edit lands.)

Copilot uses AI. Check for mistakes.

**Remaining unclassified after Batch 3a (38 lines / 1 file)**: `.github/workflows/budget-snapshot-cadence.yml` — has real behavioral divergence (auto-merge policy + Scorecard `TokenPermissionsID` security fix) requiring explicit Level-1 buddy review per the Second-Agent Design Review Gate (Amara 2026-04-29 packet 10) before classification.
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: This is a current-state doc (docs/0-0-0-readiness/**), but the new text adds persona-name attribution (“Amara …”). Per docs/AGENT-BEST-PRACTICES.md “No name attribution in code, docs, or skills” rule, names should be confined to the closed-list history surfaces (and docs/active-trajectory.md), so this should use a role-ref instead (or move the named attribution into a history surface and link it).

Suggested change
**Remaining unclassified after Batch 3a (38 lines / 1 file)**: `.github/workflows/budget-snapshot-cadence.yml` — has real behavioral divergence (auto-merge policy + Scorecard `TokenPermissionsID` security fix) requiring explicit Level-1 buddy review per the Second-Agent Design Review Gate (Amara 2026-04-29 packet 10) before classification.
**Remaining unclassified after Batch 3a (38 lines / 1 file)**: `.github/workflows/budget-snapshot-cadence.yml` — has real behavioral divergence (auto-merge policy + Scorecard `TokenPermissionsID` security fix) requiring explicit Level-1 buddy review per the Second-Agent Design Review Gate (2026-04-29 packet 10) before classification.

Copilot uses AI. Check for mistakes.

### Calibration batch reclassification (older "ALREADY-COVERED" label)

Expand Down
10 changes: 5 additions & 5 deletions docs/active-trajectory.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ unsafe_lines = 0 no NEEDS_FORWARD_SYNC or NEEDS_HUMAN_DECISION
unclassified_lines = 46 HEURISTIC_LFG_DOMINATES — pending per-file semantic inspection
```

**Decision-vs-resolution discipline note (per Amara 2026-04-29)**: the `unsafe_lines = 0` value lands ON MERGE of the option-(c) migration PR. While that PR is open, the in-force ledger state is `unsafe_lines = 12 / classified_safe_lines = 215`. The above values represent post-merge state, contingent on the migration PR landing. A plan is not a state change.
**Ledger state**: in-force as of post-#839-merge (option-(c) migration landed 2026-04-29T12:46:29Z). The 9 ACEHACK_ONLY tick rows are durably preserved as Option B shards under `docs/hygiene-history/ticks/2026/04/28/` on LFG main. Hard-reset of `loop-tick-history.md` is content-preservation-safe.
Comment on lines 145 to +148
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: unclassified_lines is still shown as 46 even though this PR records Batch 3a as classifying the 8-line memory/project_laptop_only_*.md file SAFE_TO_RESET_LFG_SUPERSEDES. After this merges, this ledger block will be out of sync with the in-force classification record, and later in this doc it’s treated as the single source of truth. Either update the ledger (+composition) here in the same PR, or keep Batch 3a marked as planned until the ledger update lands.

Copilot uses AI. Check for mistakes.

`potential_loss_lines = 273` was computed 2026-04-29T10:25Z via `git diff --numstat refs/remotes/origin/main..refs/remotes/acehack/main` and remains canonical: the AceHack and LFG main tips have not advanced relative to each other in a way that touched the divergent files (#837 + #838 + the option-(c) migration only touch docs in `docs/0-0-0-readiness/` and add new shard files in `docs/hygiene-history/ticks/2026/04/28/` — neither set affects the existing AceHack-vs-LFG diff for the divergent file set). Re-compute on next batch open if either tip moves materially.

Expand All @@ -170,21 +170,21 @@ Per the Migration Preflight Ledger discipline (per multi-AI review 2026-04-29 pa

Net: 9 shard writes; 1 no-op (COMMON_IDENTICAL with positional drift). The misclassification of `2026-04-21T17:28` as SAME_TIMESTAMP_DRIFT (caught during the trajectory's earlier prose-only classification on #838) was corrected here by the preflight ledger's content-hash check — exactly the bug-class the discipline is designed to prevent. **A timestamp is an address, not an identity.**

Composition of `classified_safe_lines = 227` (post-merge values, contingent on this PR landing — pre-merge in-force value is 215):
Composition of `classified_safe_lines = 227` (in-force post-#839-merge):

- 9 infra files (97 lines): see "9 infra files" table above. SAFE_TO_RESET_LFG_SUPERSEDES with named per-file evidence.
- 5 calibration-batch files (28 lines, 2026-04-28): MEMORY.md (11) + codeql_umbrella (12) + doc_class_mirror_beacon (1) + CURRENT-aaron (2) + CURRENT-amara (2). Originally labeled "ALREADY-COVERED" in older taxonomy; under strict bucket each has named evidence in `docs/0-0-0-readiness/CLASSIFICATION.md` → SAFE_TO_RESET_LFG_SUPERSEDES.
- Batch 1 (9 lines, 2026-04-29T11:32Z): SECURITY.md (4) + validate-agencysignature-pr-body.sh (5). See `docs/0-0-0-readiness/CLASSIFICATION.md` Batch 1 table for named evidence per file.
- Batch 2 (81 lines, 2026-04-29T12:05Z): codeql-config.yml (6) + memory-index-duplicate-lint.yml (8) + audit-memory-index-duplicates.sh (8) + Shard.fs (9) + AUTONOMOUS-LOOP.md (9) + macos.sh (11) + fix-markdown-md032-md026.py (16) + curl-fetch.sh (14). See `docs/0-0-0-readiness/CLASSIFICATION.md` Batch 2 table for named evidence per file. Common pattern: LFG version is either rule-compliant (role-refs vs persona-name violations on current-state surfaces), more accurate (correct retry-math on curl-fetch.sh), the perf-fixed form (Shard.fs non-boxing comparer), the current doctrine (AUTONOMOUS-LOOP.md Option B shard-mode), or strict superset (fix-markdown-md032-md026.py YAML frontmatter handling).
- Option-(c) migration (12 lines, this PR): `loop-tick-history.md` reclassifies from NEEDS_HUMAN_DECISION → SAFE_TO_RESET_LFG_SUPERSEDES because the 9 ACEHACK_ONLY rows are durably preserved as Option B shards under `docs/hygiene-history/ticks/2026/04/28/`. Hard-reset of the table on AceHack is then content-preservation-safe.
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: This bullet still says “Option-(c) migration (12 lines, this PR)”, but the option-(c) migration landed in #839 (and this PR is post-#839 cleanup + Batch 3a classification). Update the reference so readers don’t misattribute the migration to this PR.

Suggested change
- Option-(c) migration (12 lines, this PR): `loop-tick-history.md` reclassifies from NEEDS_HUMAN_DECISION → SAFE_TO_RESET_LFG_SUPERSEDES because the 9 ACEHACK_ONLY rows are durably preserved as Option B shards under `docs/hygiene-history/ticks/2026/04/28/`. Hard-reset of the table on AceHack is then content-preservation-safe.
- Option-(c) migration (12 lines, landed in #839; this PR is post-#839 cleanup + Batch 3a classification): `loop-tick-history.md` reclassifies from NEEDS_HUMAN_DECISION → SAFE_TO_RESET_LFG_SUPERSEDES because the 9 ACEHACK_ONLY rows are durably preserved as Option B shards under `docs/hygiene-history/ticks/2026/04/28/`. Hard-reset of the table on AceHack is then content-preservation-safe.

Copilot uses AI. Check for mistakes.

Composition of `unsafe_lines = 0` (post-merge values; pre-merge in-force value is 12 — the file is `loop-tick-history.md` until this PR lands):
Composition of `unsafe_lines = 0` (in-force post-#839-merge):

```text
(empty post-merge)
(empty)
```

Pre-merge composition (in-force until this PR lands): `12 docs/hygiene-history/loop-tick-history.md (mutual divergence — 9 truly-unique-AceHack timestamps + 9 truly-unique-LFG timestamps + 1 COMMON_IDENTICAL_REORDERED row, per the Migration Preflight Ledger above; maintainer-(c) decision recorded; awaiting this PR's merge for resolution).
`loop-tick-history.md` was previously NEEDS_HUMAN_DECISION (12 lines, mutual divergence — 9 truly-unique-AceHack timestamps + 9 truly-unique-LFG timestamps + 1 COMMON_IDENTICAL_REORDERED row per the Migration Preflight Ledger above). Maintainer chose option (c); the option-(c) migration PR (#839, merged 2026-04-29T12:46:29Z) wrote 9 ACEHACK_ONLY rows as Option B shards on LFG, making hard-reset content-preservation-safe. File now classifies SAFE_TO_RESET_LFG_SUPERSEDES.

Composition of `unclassified_lines = 46` (2 files):

Expand Down
1 change: 1 addition & 0 deletions docs/hygiene-history/ticks/2026/04/29/1248Z.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| 2026-04-29T12:48:00Z | claude-opus-4-7 | b9ccd753 | Post-#839 cleanup tick + Batch 3a classification. Sequence: PR #839 (option-(c) migration) merged 2026-04-29T12:46:29Z (commit 76785e3); local main synced; merged feature branch deleted; fresh clone fetches refreshed (LFG main = 76785e3, AceHack main = 6755081, content-drift unchanged at 273 AceHack-only +lines because #839 only added LFG-only shard files which don't touch the AceHack-vs-LFG diff for divergent files). Branched `classify-batch-3a-project-laptop-only-2026-04-29`. Two work items: (a) flip post-#839 contingent language ("if/when... + Until that merge...") in `docs/active-trajectory.md` to in-force language ("in-force post-#839-merge") — applies Evidence-Tense Discipline (Amara packet 11/12) consistently; (b) classify `memory/project_laptop_only_*.md` SAFE_TO_RESET_LFG_SUPERSEDES with named evidence (AceHack drops closed-list-scope qualifier from `../scratch` / `../SQLSharp` zero-matches completion criterion making it technically unsatisfiable; LFG version is rule-compliant + accurate). Ledger headline NOT touched in this PR (stays 227/0/46 as in-force pre-Batch-3a-merge); follow-up PR will flip to 235/0/38 atomically with Batch 3a merge. Two-PR split per decision-vs-resolution discipline avoids contingent prose Codex flagged twice. Cron `b9ccd753` alive. | [PR #839 merged](https://github.com/Lucent-Financial-Group/Zeta/pull/839) → [Batch 3a (next)](https://github.com/Lucent-Financial-Group/Zeta/pulls) | **Buddy Gate operational** (Amara packet 10/11/12): Level 1 review fired correctly on the tick-shard rephrase decision (decision-vs-resolution boundary); Amara's prior packet input served as the Level 1 buddy review evidence. Distinction codified: "Buddies advise. Peers run." / "Buddies review the crossing. Claude still walks the lane." Deferred queue now 9 items; Amara proposed P0/P1/P2 split for post-0/0/0 consolidation: P1 = 8 durable operational rules (Residual-Set Drift, Weak-Key Classification Drift, Diff-Direction Identity Drift, Decision-Resolution Drift, Migration Preflight Ledger, Derived-Rollup Drift, Second-Agent Design Review Gate, Evidence-Tense Discipline); P2 = research (Aurora Immune Governance Extension). After Batch 3a + budget-snapshot-cadence.yml classification (with Level 1 buddy review), `unclassified_lines` reaches 0, satisfying the strict gate's classification condition; remaining gate conditions are operational (fresh-clone fsck + ls-remote-vs-fetch SHA match + dry-run push shape + maintainer signoff). |
Loading