Implementation Plan: T5-P6-A10-WP3 — Make NDJSON Vocabulary Drift Visible in Per-Session Diagnostics#4146
Merged
Trecek merged 6 commits intoJun 28, 2026
Conversation
Surface the seen_ndjson_unknown_event_count and seen_ndjson_unknown_item_count counters — previously dead-ending on ClaudeSessionResult — through SkillResult (via frozen NdjsonDriftOutcome bundle) into flush_session_log, so they appear in summary.json, sessions.jsonl, and (when non-zero) anomalies.jsonl with kind=ndjson_drift severity=warning. Add a doctor check (codex_ndjson_drift, Check 35) that scans sessions.jsonl for codex entries with non-zero drift counters and returns WARNING with the affected count.
…ge, sort NdjsonDriftOutcome import, use backend.name for codex filter
…djson suppressed fields
…o match sibling test resilience on WSL2 xdist
Replace `assert "2" in result.message` with `assert "2 codex session" in result.message` to match the actual message format and prevent a false pass if the count appears elsewhere in the text.
The inline comment restated what the condition already communicates. Removed per project rules: only add comments when the WHY is non-obvious.
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
Wire the existing
seen_ndjson_unknown_event_countandseen_ndjson_unknown_item_countcounters — currently dead-ending onClaudeSessionResult— throughSkillResult(via a frozenNdjsonDriftOutcomebundle) intoflush_session_log, so they appear insummary.json,sessions.jsonl, and (when non-zero)anomalies.jsonl. Add a doctor check (codex_ndjson_drift, Check 35) that scanssessions.jsonlfor codex entries with non-zero drift counters and returns WARNING with the affected count.Implementation Plan
Plan file:
/home/talon/projects/autoskillit-runs/impl-20260628-121003-915180/.autoskillit/temp/make-plan/t5_p6_a10_wp3_ndjson_drift_visibility_plan_2026-06-28_121500.mdCloses #4046
🤖 Generated with Claude Code via AutoSkillit
Token Usage Summary
* Step used a non-Anthropic provider; caching behavior may differ.
Token Efficiency
Model Usage Breakdown