š„ feat: the old process-rules names go (P-57)
Slice: #268
niyam stops reading and writing every process-rules name. P-55 (#269) and P-56 (#270), released in 0.6.10, wrote the niyam names; veda-hq/niyam, niyam-sandbox and athya-hq/athya_mono are onboarded at 0.6.10, and the owner's Mac has run machine. The owner asked in chat on 2026-11-11, "I want to fix everything", and approved this with a š.
Mac and lock
- Only
~/.config/niyamandNIYAM_AGENTare read;PROCESS_RULES_AGENTis no longer set or read. - Only
niyam-no-agent-tokencounts as the placeholder. - The hooks find the launcher at
~/.config/niyam/bin/niyam, elseniyamon PATH. 0.6.10's hook texts join the older lists, soonboardreplaces them in place. - A 0.6.10 session file still counts until
machinerewrites it, so no session locks out between the upgrade andmachine.
Destructive, each a line in machine's plan before its one yes
- It removes
~/.config/process-rulesand the old launcher. - It deletes the
process-ruleskeychain entry, only after reading back thatniyamholds the same token. When they differ or a read fails, it leaves the entry and says why. doctormarks ā² any of those left behind.
Repository
- Only
.github/niyam.json,.github/workflows/niyam.yml(jobniyam,niyam-ref),.github/niyam/cloud-setup.sh,/opt/niyamandniyam/onboardare read. onboardstops writing.github/process-rules/cloud-setup.shand deletes it in its own pull request.checks.ymltakesniyam-refalone, and the decisions concurrency group isniyam-decisions-ā¦.owner-stepreads only the niyam ids and check names.
Releases (destructive)
- The bridge archive
athya-hq-process-rules-<v>.tgzis no longer attached. upgradeasks veda-hq/niyam alone and no longer handles@athya-hq/process-rules.old-cli.tsis deleted.
What stays, and why: the reader of <!-- process-rules vetted ⦠--> marks (data; dropping it would un-vet decisions), the frozen older hook texts onboard compares against, the names of leftovers kept only to delete or report them, and the history in docs/decisions.md and docs/roadmap.md.
pnpm check passes (1312 tests), and actionlint is clean as CI runs it. The release waits until no niyam worktree or athya_mono pull request branch still carries pre-0.6.10 hooks.
š¤ Generated with Claude Code
Summary by cubic
Completes the rename from process-rules to niyam: no release reads or writes a process-rules name anymore. P-55 and P-56 wrote the niyam names while still reading the old ones; this slice removes those reads, since onboarded repositories and this Mac have already moved.
Destructive steps, each a line in machine's plan
- Removes
~/.config/process-rulesand deletes theprocess-ruleskeychain entry after verifyingniyamholds the same token (counted gone only whensecurityreports item-not-found);as-agentstrips an inheritedPROCESS_RULES_AGENTfrom the commands it runs;doctormarks ā² either leftover, and ā a launcher that still runs process-rules. - Stops attaching the
athya-hq-process-rules-<v>.tgzbridge archive and deletesold-cli.ts;upgradeasksveda-hq/niyamalone. onboardstops writing.github/process-rules/cloud-setup.shand deletes it from adopters; the setup file also removes a leftover/usr/local/bin/process-rules;checks.ymltakesniyam-refalone, andowner-steptakesprocess-rules / ā¦checks out of adopters' rulesets, requiring the niyam check of the same job where the workflow runs it.
What stays, and why
- The reader of
<!-- process-rules vetted ⦠-->marks (data; dropping it would un-vet decisions), the frozen older hook textsonboardcompares against, and names kept only to delete or report leftovers. - The
process-rules-decisions-ā¦concurrency key stays one more release, since a workflow_dispatch can run from any branch. - A 0.6.10 session file still counts until
machinerewrites it, so no session locks out between the upgrade andmachine.