Skip to content

Give each rule one home - #74

Merged
andreisavu merged 3 commits into
mainfrom
claude/project-thread-bw4p7i
Oct 4, 2026
Merged

andreisavu merged 3 commits into
mainfrom
claude/project-thread-bw4p7i

Conversation

@andreisavu

Copy link
Copy Markdown
Contributor

Requested by Andrei · project thread

Before: eight rules sit in two to four places each: the seat rules, kit.md, a skill, and a template README. Two copies disagree. kit.md says "cite the file that the script wrote", and the shared rule says "snapshot the file and cite the ref". The device-scan README says "container", and the skill says "workstation".

After: a template README is the reference for its code. A skill is the procedure. The seat rules keep only the rules that hold with no skill open, plus the skill names. kit.md holds the facts of the kit and the bench.

How:

  • Engineer rules: the scan rule names the skill. The build-step record rule is cut, because guide-a-build-step holds it.
  • kit.md: the datasheet, measurement, and power-off rules are cut. The shared rules and guide-a-build-step hold them.
  • The device-scan, usb-camera, and psu READMEs keep commands and facts. The judgment from usb-camera step 12 moves into observe-the-camera. No README names a skill.
  • References to a step number become references to a section. This covers two Python error texts and their tests.
  • docs/templates.md: a grammar fix.

Not changed: test/live/led-sweep.ts keeps its own copy of two house rules in its eval prompt.

Review: https://claude.ai/artifact/UpTRSZ8FiUUHPjwQuvghaz

🤖 Generated with Claude Code

https://claude.ai/code/session_01V7z2GtopJRsfvJU9rCMuCh


Generated by Claude Code

Move the rules of the bench into the file that owns them. A template
README holds the facts of the code. A skill holds the procedure. The seat
rules hold only what must hold with no skill open.

- Shorten the scan rule of the Engineer to name the skill.
- Cut the record rule of the Engineer. guide-a-build-step holds it.
- Cut three duplicate house rules from the kit file.
- Make the device-scan README a reference. Use "workstation".
- Remove the skill name from the usb-camera README. Move the judgment
  of step 12 to observe-the-camera.
- Keep only the command facts in step 4 of the psu README.
- Name a README section in place of a step number in the error texts.
- Fix a sentence in docs/templates.md.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V7z2GtopJRsfvJU9rCMuCh
@andreisavu andreisavu self-assigned this Oct 4, 2026
claude added 2 commits October 4, 2026 21:56
The house rule "The power stays off until the checks of the build pass"
has no other home that holds for the whole build, so kit.md keeps it. A
seed test now pins it and the HM310P first power-on rule. The
observe-the-camera skill holds the aim rule again, and its clip rules
are a step of their own. The psu sensor error names the sensor step
again. Two READMEs get a wrap fix and a plain paragraph.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V7z2GtopJRsfvJU9rCMuCh
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V7z2GtopJRsfvJU9rCMuCh
@andreisavu
andreisavu marked this pull request as ready for review October 4, 2026 22:00
@andreisavu
andreisavu merged commit 6036315 into main Oct 4, 2026
1 check passed
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