Skip to content

token-audit, review-kit, token-meter 0.2.2: review follow-up fixes - #13

Merged
aoreshkov merged 3 commits into
mainfrom
fix/review-followup-0.2.2
Oct 22, 2026
Merged

aoreshkov merged 3 commits into
mainfrom
fix/review-followup-0.2.2

Conversation

@aoreshkov

Copy link
Copy Markdown
Owner

Follow-up fixes from a review of the 0.2.1 releases. One commit per plugin, each bumped to 0.2.2 with a CHANGELOG.md entry.

token-audit 0.2.2

  • A record whose timestamp is not an ISO date and time is counted in one warning and left out, instead of reaching the started and when columns and the session header raw.
  • --json titles and action names lose control, C1 and bidi characters, as prompts and commands already did. The --json shape is unchanged.
  • Subagent usage written into a parent transcript without a message id is counted instead of dropped.

review-kit 0.2.2

  • A reporter's written: false detail and a planner error are kept on one line and bounded, like every other cause.
  • A verify-only report says the earlier run's coverage gaps are not available to it and are in that run's own result, instead of guessing where they are recorded. The planner prompt is unchanged, so resume is unaffected.
  • scripts/seeded-defects-real-run.mjs: a failed scaffold deletes its scratch workspace (unless --keep) and leaves no empty results folder.

token-meter 0.2.2

  • A failed repository read is logged and keeps the branch last read.
  • A failed read of the hidden setting is logged and leaves the band as it is, so a hidden band does not come back.
  • A failed effort write in turn.step is logged instead of dropped; the request still goes on unchanged.
  • Debug lines no longer prefix the plugin name, which Claude Code already adds.
  • Tests for failed store writes and reads, a failed repository read, and a measurement that cannot be read.

Checks

  • node --test (166 pass)
  • claude plugin validate --strict for ., ./review-kit, ./token-audit, ./token-meter
  • claude plugin test ./token-meter (40 pass)
  • tsc over token-meter
  • New tests fail on the previous code

After merge: tag token-audit-v0.2.2, review-kit-v0.2.2 and token-meter-v0.2.2 with notes from the changelog.

🤖 Generated with Claude Code

aoreshkov and others added 3 commits October 22, 2026 21:13
…ess sidechain usage

- Timestamps that are not ISO date-times are counted in a warning and dropped,
  instead of reaching the text tables and the session header unsanitised.
- --json titles and action names go through the same control/C1/bidi strip as
  prompts and commands.
- Sidechain usage without message.id is keyed by line, as on the main path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A written:false detail goes through causeOf(), as the 0.2.1 notes promised.
- The planner's error goes through causeOf() like every other catch.
- A verify-only report says the earlier coverage is not available to it
  instead of guessing where it is recorded.
- seeded-defects-real-run: a failed scaffold cleans up its workspace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… hidden

- refreshBranch lets a repo/cwd failure reach `guarded`, which logs it and
  keeps the branch last read.
- A failed $.store.get is logged and leaves isHidden as it is.
- turn.step's effort write goes through `guarded` instead of an empty catch.
- Tests for failing store.set/store.get, repo reads and measurements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aoreshkov
aoreshkov merged commit 75f112c into main Oct 22, 2026
5 checks passed
@aoreshkov
aoreshkov deleted the fix/review-followup-0.2.2 branch October 22, 2026 19:31
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.

1 participant