ckb/.agents/skills/ckb-feynman/references/edge-cases.md
Michał Kopeć 2589b0ab50 Template 1.27.0: ckb-feynman skill, eval case, runner glob fix
New core skill ckb-feynman (plain-words explanation of one page, Wiki /
Sources / Mine gaps, explain-back, numbered next moves, sessions in
outputs/teaching/feynman/). Registered in AGENTS.md routing and
disambiguation, ckb-init, ckb-teach-me (skips the folder, reserves the
slug), both READMEs, manuals and changelogs. outputs/teaching/ added to
the directory contract. tests/run_evals.py matches deleted files with
glob semantics. Eval case tests/evals/ckb-feynman/session.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 21:42:13 +01:00

2.3 KiB

ckb-feynman — edge cases

Reference material for the ckb-feynman skill. Read when a run hits an unusual situation the main steps don't cover.

No page for the concept. Say the cascade has nothing on it and stop: do not explain it from general knowledge, which is exactly what this skill exists to avoid. Offer to record it in wiki/query-gaps.md (on a yes, through ckb-retrieve) or to ingest a source the user brings.

The page is a stub. Explain what little it says, then make the thinness itself the first Wiki gap. Short is fine; padding is not.

The page is very long. Ask which section to take, or offer the two or three headings that carry the concept. One section explained properly beats a whole page skimmed.

No ## Sources, or the cited source is missing. The page cannot be checked against anything. Explain from the page, say so in a clause, and count it as a Wiki gap. A missing source file is also a ckb-lint finding.

The source fingerprint differs. The source moved under the page. Explain from the source, say the page is behind it, and list the drift as a Wiki gap; fixing the page is ckb-ingest's job.

A superseded page or decision. Explain the current one and mention the older one as history. If the user wants the old one explained on purpose, say at the top that it is superseded.

An open > CONTRADICTION: on the concept. Explain both sides in plain words and that the KB has not settled it. Never pick a winner.

Most of the page is inside <private>. Explain what is public, say a private passage holds the rest, and name who to ask. It is not a gap to record.

The user declines the flip, or stops halfway. Save what exists; drop ## What they said back. A session without Step 5 is still a session.

The same concept was studied before. Read the earlier file in outputs/teaching/feynman/ first. Mention gaps it found that are still open, and whether its fingerprints still match. Write a new dated file.

No sha256sum. Skip the fingerprint check, say once that the sources were read but not digest-checked, and leave the ## Sources bullets without a digest. Without Python only the candidate script is lost: find the page from the indexes.


Licensed under the Apache License, Version 2.0 — see LICENSE at the repository root, or http://www.apache.org/licenses/LICENSE-2.0.