8000 fix(run-summary): a plugin schema path is schema use, not a plugin-source read (run 19: 5 → 0) by adeelahmad · Pull Request #37 · adeelahmad/aloop · GitHub
[go: up one dir, main page]

Skip to content

fix(run-summary): a plugin schema path is schema use, not a plugin-source read (run 19: 5 → 0) - #37

Merged
adeelahmad merged 1 commit into
masterfrom
claude/project-thread-qerfr9
Oct 18, 2026
Merged

adeelahmad merged 1 commit into
masterfrom
claude/project-thread-qerfr9

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Before: run 19 was recorded with 5 sub-agent reads of the plugin's own source, up from 0 in run 17. All five were the planner running SCH=<plugin>/schemas/planning-artifacts.kdl; md-db describe --schema "$SCH", legitimate schema use that the counter excluded only when the path followed --schema literally.

After: run-summary treats any <plugin>/schemas/… reference as schema use, so run 19 reads 0, and the evidence ledger and ROADMAP M0.8 say so with the correction noted. A read of SKILL.md or a bin script still counts.

How: test-first in scripts/test/evidence.test.py (the shell-variable form is not a read; the fixture failed with 2 reads before the change and passes with 1 after). run-summary on run 19's transcript now prints 0 reads. CHANGELOG updated. make ci: 60/60.


Generated by Claude Code

…urce read (run 19: 5 → 0)

Run 19 reported 5 sub-agent reads of the plugin's own source. All five were the
planner's `SCH=<plugin>/schemas/planning-artifacts.kdl; md-db describe --schema "$SCH"`:
legitimate schema use that the counter excluded only in the literal `--schema <path>`
form. The counter now treats any `<plugin>/schemas/…` reference as schema use.
Test-first (evidence.test.py fixture: the variable form is not a read, a SKILL.md read
still is). The evidence ledger and ROADMAP M0.8 record run 19 as 0 reads with the
correction noted; CHANGELOG updated. make ci: 60/60.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
@adeelahmad
adeelahmad merged commit 361f8d7 into master Oct 18, 2026
4 checks passed
adeelahmad pushed a commit that referenced this pull request Oct 18, 2026
….66, 8m17s, 12/12)

Run 21 is the first run under the dispatch model gate: every dispatch went on haiku and the cost
fell from $2.79 (run 20) to $0.66 with 3 blocks, 1 wake and 0 plugin-source reads. ROADMAP M0.8
carries runs 20 and 21; the evidence ledger gets both rows (run-summary's output).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014j4wLin3oJTtnvjE9Lq2VV
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

0