Skip to content

feat(skill): add reading unfamiliar code to the bundled pack - #531

Merged
ion-alpha-dev merged 1 commit into
mainfrom
skill/reading-unfamiliar-code
Aug 14, 2026
Merged

feat(skill): add reading unfamiliar code to the bundled pack#531
ion-alpha-dev merged 1 commit into
mainfrom
skill/reading-unfamiliar-code

Conversation

@ion-alpha-dev

@ion-alpha-dev ion-alpha-dev commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

What

Adds reading-unfamiliar-code to the bundled skill pack: a procedure for building a working model of code you did not write, scoped to the edit you are about to make rather than to the repository as a whole. Seven rows in the pack's retrieval table say which objectives must reach it.

Why

The pack had nothing on comprehension, and it is the step every other skill assumes has already happened. The measurement in the skill's opening section is the reason it is worth a slot: models hallucinate roughly 13 percent of the third-party library calls they generate and roughly 85 percent of the calls to a project's own functions, and model size barely moves it. Verifying against official documentation answers the first number. The second has no documentation to verify against, only the tree.

Its organising idea is provenance. Every claim the pending edit depends on is written down and marked read (the definition was opened in this tree, this session), ran (the behaviour was observed), or assumed (nothing was checked), and no edit may rest on a claim still marked assumed. Three claims earn the marks on nearly every change: that the symbols the edit calls are real, that one concrete input has been followed from the entry point to its effect, and that every other site observing the state being altered has been enumerated.

How to verify

go test ./skill/... is green. TestPackIsRetrievable is the one that matters: it runs the runtime's own ranker over the real pack against every row of skill/bundled/skills/retrieval.txt, including the seven new ones, with no model and no tokens.

Notes for reviewers

The skill ships with no flynnhq.com/check and the body has a section saying why: the condition worth grading is an ordering inside a run (definitions opened and a path traced before the first write), and no shell command can observe the run that is invoking it.

Two phrases in the description were reworded so the skill stops outranking structural-boundaries on "where should this new code go" and domain-language on "what should I call this thing". Both rows now pass. That tuning is sensitive to the rest of the pack: recall gathers a fixed five candidates per keyword ordered by slug and then scores on a raw count of matching terms, so adding a skill can displace an unrelated one. Worth fixing in the ranker rather than in each description, and it is not fixed here.

A procedure for building a working model of code you did not write, scoped to the edit you are about to make rather than to the repository as a whole.

Its organising idea is provenance. Every claim the pending edit depends on is written down and marked read (the definition was opened in this tree, this session), ran (the behaviour was observed), or assumed (nothing was checked), and no edit may rest on a claim still marked assumed. Three claims earn the marks on nearly every change: that the symbols the edit calls are real, that one concrete input has been followed from the entry point to its effect, and that everything else observing the thing being altered has been enumerated. Unknowns are named rather than assumed away, and the model is written where the next session finds it.

The opening section carries the measurement the skill exists for: models hallucinate roughly 13 percent of the third-party library calls they generate and roughly 85 percent of the calls to a project's own functions, and model size barely moves it. The published corpus answers the first number by verifying against official documentation. The second has no documentation to verify against, only the tree.

It also states what this runtime executes that others cannot: concurrent children under --fanout folded into one verifiable record, so a thorough read does not cost the parent's context; sandboxed, priced execution that makes running the code the default source of evidence; a sealed run record, so what was opened before the first write is recoverable; and memory that carries the model into the next session.

The skill ships without a check field and says so in the body. The condition worth grading is an ordering inside the run, and no shell command can observe the run that is invoking it.

Signed-off-by: Ion Alpha <contact@ionalpha.io>
@ion-alpha-dev
ion-alpha-dev force-pushed the skill/reading-unfamiliar-code branch from f248b53 to 78220b9 Compare August 14, 2026 19:09
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ion-alpha-dev
ion-alpha-dev merged commit 852c59e into main Aug 14, 2026
28 of 29 checks passed
@ion-alpha-dev
ion-alpha-dev deleted the skill/reading-unfamiliar-code branch August 14, 2026 19:22
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant