Skip to content

feat(corecrew): add Karpathy coding rules to engineer and template - #3

Merged
rstrlnkv merged 1 commit into
mainfrom
feat/corecrew-coding-discipline
Nov 11, 2026
Merged

rstrlnkv merged 1 commit into
mainfrom
feat/corecrew-coding-discipline

Conversation

@rstrlnkv

Copy link
Copy Markdown
Owner

Adds four coding rules, after Andrej Karpathy's notes on LLM coding pitfalls (multica-ai/andrej-karpathy-skills), where corecrew did not already cover them:

  • engineer agent: every changed line traces to the brief; remove only what the change left unused (older dead code goes to Open); no option or error path the brief does not have; a brief that reads two ways comes back with both readings in Open; a simpler way is named in Open.
  • CLAUDE.md template (new projects): state assumptions and ask on an ambiguous request; nothing speculative; surgical edits.

"Goal-driven execution" is not added: the red-test-first rule already covers it.

Tests: each rule is stated exactly once (tests/test_agents.sh, tests/test_scaffold.sh). Full suite passes locally; claude plugin validate passes. CHANGELOG: Changed under Unreleased (minor release via /corecrew:ship corecrew).

The engineer agent traces every changed line to the brief, removes only
what its change left unused, adds no speculative option or error path,
returns an ambiguous brief with both readings in Open and names a simpler
way. The CLAUDE.md template gives a new project's main session the same
rules. Requirement CC-57.

Step-Id: 20261111-211144-01-bb644901
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T18:19:18.628692Z f5cc5ff PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@rstrlnkv
rstrlnkv merged commit 8e0cdac into main Nov 11, 2026
10 checks passed
@rstrlnkv
rstrlnkv deleted the feat/corecrew-coding-discipline branch November 15, 2026 08:17
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