Skip to content

fix(tick-history): clean up col1 schema violations on 17 pre-existing shards (Aaron caught autonomous idleness via shard audit)#1468

Merged
AceHack merged 1 commit intomainfrom
fix/tick-shard-schema-col1-parenthetical-cleanup-2026-04-28-29
May 4, 2026
Merged

fix(tick-history): clean up col1 schema violations on 17 pre-existing shards (Aaron caught autonomous idleness via shard audit)#1468
AceHack merged 1 commit intomainfrom
fix/tick-shard-schema-col1-parenthetical-cleanup-2026-04-28-29

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 4, 2026

Summary

  • 17 schema violations cleared in older tick-shards (2026-04-28 + 2026-04-29)
  • Col1 had parenthetical prose; schema requires strict timestamp; preserve context by appending to col2

Test plan

  • bash tools/hygiene/check-tick-history-shard-schema.sh reports 0 violations after fix
  • All 17 shards retain their original substantive content (just relocated from col1 paren to col2 suffix)

🤖 Generated with Claude Code

… shards (2026-04-28 + 2026-04-29)

Aaron prompted "got any mising/empty shards?" + "so what are you doing then :)".
Audit caught 17 schema violations from older sessions where col1 contained
parenthetical prose ("autonomous-loop tick — fifth shard; transport stable" etc.)
instead of strictly the timestamp.

Schema requires: `| YYYY-MM-DDTHH:MM(:SS)?Z |` with no parenthetical.

Fix: strip parenthetical from col1, append it to col2 (the model/session field) as
"... — <paren-content>" so the substantive context is preserved while col1 stays
schema-conformant. Used regex for simple cases (12 shards) + balanced-paren state
machine for nested-paren cases (5 shards).

After fix: `bash tools/hygiene/check-tick-history-shard-schema.sh` reports 0 violations.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 4, 2026 10:29
@AceHack AceHack enabled auto-merge (squash) May 4, 2026 10:29
@AceHack AceHack merged commit b72559d into main May 4, 2026
24 checks passed
@AceHack AceHack deleted the fix/tick-shard-schema-col1-parenthetical-cleanup-2026-04-28-29 branch May 4, 2026 10:31
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

This PR repairs historical tick-shard rows so column 1 is a strict timestamp again, matching the shard-schema audit. It fits the codebase as hygiene work on the autonomous-loop evidence log, but several fixes move the displaced prose into the wrong semantic column.

Changes:

  • Rewrites 17 historical shard rows to remove parenthetical prose from column 1.
  • Preserves the removed prose by appending it elsewhere in each row.
  • Targets older 2026-04-28/2026-04-29 shard files that previously violated the col1 schema check.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 17 comments.

Show a summary per file
File Description
docs/hygiene-history/ticks/2026/04/29/0405Z.md Cleans col1, but moves summary text into the agent column.
docs/hygiene-history/ticks/2026/04/29/0355Z.md Same schema cleanup pattern; same column-semantic regression.
docs/hygiene-history/ticks/2026/04/29/0345Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/29/0330Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/29/0325Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/29/0315Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/29/0310Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/29/0300Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/29/0255Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/29/0250Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/29/0245Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/29/0230Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/28/0850Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/28/0715Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/28/0550Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/28/0544Z.md Same schema cleanup pattern; summary moved to col2.
docs/hygiene-history/ticks/2026/04/28/0523Z.md Same schema cleanup pattern; summary moved to col2.

Comment thread docs/hygiene-history/ticks/2026/04/29/0405Z.md
Comment thread docs/hygiene-history/ticks/2026/04/29/0355Z.md
Comment thread docs/hygiene-history/ticks/2026/04/29/0345Z.md
Comment thread docs/hygiene-history/ticks/2026/04/29/0330Z.md
Comment thread docs/hygiene-history/ticks/2026/04/29/0325Z.md
Comment thread docs/hygiene-history/ticks/2026/04/28/0850Z.md
Comment thread docs/hygiene-history/ticks/2026/04/28/0715Z.md
Comment thread docs/hygiene-history/ticks/2026/04/28/0550Z.md
Comment thread docs/hygiene-history/ticks/2026/04/28/0544Z.md
Comment thread docs/hygiene-history/ticks/2026/04/28/0523Z.md
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