Skip to content

backlog(P2): B-0529 — tick-shard schema validator vs current practice drift#3362

Merged
AceHack merged 1 commit into
mainfrom
b-0529/tick-shard-schema-drift-otto-cli-2026-05-15
May 15, 2026
Merged

backlog(P2): B-0529 — tick-shard schema validator vs current practice drift#3362
AceHack merged 1 commit into
mainfrom
b-0529/tick-shard-schema-drift-otto-cli-2026-05-15

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 15, 2026

Summary

Files B-0529 P2 row documenting the substrate-wide drift between the documented 6-col pipe-row tick-shard schema and the H1-rich-body practice that the May 2026 cohort adopted. Surfaced via Codex P1 review on PR #3359.

Recommendation: hybrid (Option 3) — keep machine-parseable pipe-row first line + H1-rich body. Three sub-tasks sequenced:

  1. Backfill May 2026 shards with pipe-row headers (one-shot script)
  2. Update docs/hygiene-history/ticks/README.md "Shard file schema" section
  3. Wire validator to CI's gate.yml (non-required → required after sweep)

P2 priority because the validator is NOT wired to CI — drift is invisible at gate-time today.

Test plan

  • bun x markdownlint-cli2 docs/backlog/P2/B-0529-*.md → 0 violations
  • Frontmatter matches B-0526 row template
  • ID allocation discipline followed (on-disk top B-0526; in-flight PRs claim B-0527 only; B-0528 left free for Lior's potential B-0527 rename per advisory; this row takes B-0529)
  • CI required checks pass on PR
  • Auto-merge fires after CI green

🤖 Generated with Claude Code

… drift

Codex P1 review on PR #3359 surfaced that tools/hygiene/check-tick-history-shard-schema.ts
expects a 6-column pipe-row first line per docs/hygiene-history/ticks/README.md, but the
May 2026 shard cohort universally starts with H1 (substrate-wide drift). Validator is NOT
wired to CI, so violations have been invisible.

This row proposes Option 3 (hybrid): pipe-row first line + H1-rich body. Three sub-tasks
sequenced: backfill May 2026 shards, update README, wire validator to CI gate.

Refs:
- PR #3359 (Codex P1 surface)
- PR #3361 (this tick's shard following hybrid pattern)

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 15, 2026 05:20
@AceHack AceHack enabled auto-merge (squash) May 15, 2026 05:21
@AceHack AceHack merged commit c6f2620 into main May 15, 2026
23 of 24 checks passed
@AceHack AceHack deleted the b-0529/tick-shard-schema-drift-otto-cli-2026-05-15 branch May 15, 2026 05:22
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new P2 backlog row (B-0529) to document and track the drift between the tick-shard schema validator’s “pipe-row first line” expectation and the May 2026 practice of H1-rich shard bodies, including options and a recommended hybrid approach.

Changes:

  • Introduces backlog item B-0529 describing the validator/practice mismatch and its operational implications.
  • Captures concrete reproduction output and proposes a sequenced remediation plan (backfill → docs update → CI wiring).

Comment on lines +23 to +27
`tools/hygiene/check-tick-history-shard-schema.ts` validates that every tick shard's first non-empty line is a 6-column pipe-row with an ISO 8601 UTC timestamp matching the path's date + the filename's `HHMMZ`. The schema is documented in [docs/hygiene-history/ticks/README.md](../../hygiene-history/ticks/README.md):

```text
| <ISO 8601 UTC timestamp> | <model id> | <cron sentinel> | <body> | <PR ref> | <observation> |
```

## What

`tools/hygiene/check-tick-history-shard-schema.ts` validates that every tick shard's first non-empty line is a 6-column pipe-row with an ISO 8601 UTC timestamp matching the path's date + the filename's `HHMMZ`. The schema is documented in [docs/hygiene-history/ticks/README.md](../../hygiene-history/ticks/README.md):
AceHack added a commit that referenced this pull request May 15, 2026
…estigation cleared 4 standard agent loops (#3365)

Negative-finding substrate: cleared Lior, Riven, Codex/Vera, Copilot loops + lane-allocator + git worktree prune
+ git gc.pruneexpire as suspects for the worktree-pruning race observed in tick 0414Z. Source remains untraced;
remaining candidates (claude-loop, otto-forward, peer-Otto, .git/hooks/, macOS system services) listed for
next-tick investigation. Investigation-budget discipline: 12 tool calls; diminishing returns; next-tick continuation.

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants