Skip to content

docs(agents): record #355's rules on kernel composition, A/B against main and pushed WIP - #448

Merged
JasonXuDeveloper merged 1 commit into
feat/storage-layerfrom
claude/skills-355
Nov 22, 2026
Merged

JasonXuDeveloper merged 1 commit into
feat/storage-layerfrom
claude/skills-355

Conversation

@JasonXuDeveloper

Copy link
Copy Markdown
Owner

This PR records three rules learned on #355 in AGENTS.md and in the benchmark skill. It changes only docs.

AGENTS.md

  • Principle 4 (the owner's rule): generated code only composes kernel calls. Unifying or simplifying it never changes which kernels run or in what order. Speed comes from three places only:
    • a cheaper composition;
    • faster kernels;
    • generated code the JIT compiles well: everything inlined, state in registers, no per-element static readonly, one length check, cold paths out of line.
  • Rules (the owner's rule): work in progress is pushed. Unfinished work is committed and pushed to its working branch, so another session can continue it:
    • the summary starts with WIP:;
    • the body says what is done, what is measured and what is left;
    • the tree must build;
    • it reaches main only once finished and verified.

benchmark skill

tools/agents.sh --check: 0 problems.

Refs #355.


Generated by Claude Code

…main and pushed WIP

The runner A/B of feat/storage-layer against main found regressions that each step's A/B against its own base had
missed: small string collections paid a fixed cost per run that built up over four steps. The benchmark skill now
asks for timings at 1, 3, 32 and 1,000 elements and an A/B of a series against the last main before its pull request,
records how to build such a base when head needs newer packages, and corrects the whole suite's runner time. AGENTS.md
gains the owner's rules that generated code only composes kernels (speed from composition, kernels and JIT-friendly
code) and that unfinished work is committed and pushed so another session can continue it.
@JasonXuDeveloper
JasonXuDeveloper merged commit b7c65f3 into feat/storage-layer Nov 22, 2026
3 checks passed
@JasonXuDeveloper
JasonXuDeveloper deleted the claude/skills-355 branch November 22, 2026 10:19
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