feat(worklog): harden protocol efficiency and drift checks - #6
Merged
cheshirecode merged 10 commits intoJul 26, 2026
Merged
Conversation
Exclude supported transcript Markdown from task-state and duplicate-slug validation while retaining checks for genuinely misplaced task files. Worklog-Slug: worklog-protocol-efficiency
Normalize the pre-existing import boundary so the CI job's unpinned Ruff 0.16 release agrees with the locally installed Ruff 0.15 formatter. Worklog-Slug: worklog-protocol-efficiency
Keep the Worklog CI gate on the repository's established Ruff 0.15.12 rule set instead of absorbing a surprise 0.16 migration into this protocol PR. Restore the incidental formatter-only delta from the failed upgrade attempt. Worklog-Slug: worklog-protocol-efficiency
Print the resolved Ruff version immediately before the Worklog suite so future rule-set drift is visible in the failing job without log archaeology. Worklog-Slug: worklog-protocol-efficiency
ideogram-fredtran
marked this pull request as ready for review
July 26, 2026 03:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The protocol had four concrete drift modes: unsupported task-state directories were invisible to lint, default init selected the write-capable full preamble, tracker hydration could fan out across the durable backlog, and public command names could diverge across surfaces. Existing cache invalidation behavior also lacked consumer-level regression coverage.
Markdown and Git remain authoritative; generated views stay advisory and rebuildable.
Validation
Reviewed head:
655f9a3e5d71e59c1428bcf27a64c5ed7090e7dcbash tests/run.sh all— 57 passed, 0 failedbash tests/run.sh worklog-skill— 18 passed, 0 failedgit diff --check— passed