⨠feat: what onboard writes says niyam (P-56)
Slice: #267
Everything onboard writes in a repository now uses niyam's names. The old names are still read until P-57 (#268). The owner asked in chat on 2026-11-11, "I want to fix everything", and approved this with a š.
Workflow
onboardwrites.github/workflows/niyam.ymland deletesprocess-rules.ymlin the same pull request. A client's own edits survive the move.- The jobs are
niyam,niyam-weekly,niyam-mergedandniyam-asks. Theirname:lines don't change, so the check names and the rulesets stay as they are. - The input is
niyam-ref.checks.ymldeclares bothniyam-refandprocess-rules-ref, because a caller passing an undeclared input would be invalid and hold every pull request. It checks out under.niyam, and its concurrency group isniyam-decisions-ā¦. - CI now installs actionlint, and a test lints callers that pass each input, and an unknown one.
Cloud setup
- The file is
.github/niyam/cloud-setup.sh, installing under/opt/niyam. - The Setup snippet runs the new file, else the old one, with
NIYAM_SETUPandPROCESS_RULES_SETUPboth set. onboardalso writes the old file, with the same content, so the snippet already pasted keeps working until the owner pastes the new one. Thefrom-setupmark is read in either place.
Settings, branch and template
onboardmoves.github/process-rules.jsonto.github/niyam.jsonbyte for byte, deleting the old file. Readers keep the fallback.- The work rules let onboard's pull request delete only those two moved files, each into its own new name.
- The onboard branch is
niyam/onboard. owner-step and the newer-pin checks also recogniseprocess-rules/onboard. - The board template, Project athya-hq #4, is now titled "niyam template".
Internal names: the decisions status mark, the temp folder prefix, the test-commit branch, and the title of a new agent token and signing key.
Tests: older-texts.test.ts freezes the real 0.6.8 workflow, settings and cloud file of athya_mono, niyam and niyam-sandbox. Each repo moves to the new names, and a rerun changes nothing. Older templates under the old ids, mixed old-and-new states, the snippet in a real shell, and owner-step on both ids and branches are covered too. pnpm check passes (1351 tests) and so does actionlint.
This repo's own onboarded files stay as they are. They pin v0.6.8, whose checks.yml has no niyam-ref; onboard moves them after the release. Recorded in docs/decisions.md; the README is updated.
š¤ Generated with Claude Code
Summary by cubic
Everything onboard writes in a repository now uses niyam's names: the workflow, the settings file, the cloud setup file, and the onboard branch. The old names are still read until P-57 (#268).
Behavior changes
- The workflow becomes
.github/workflows/niyam.ymlwith jobsniyam,niyam-weekly,niyam-merged,niyam-asks, and inputniyam-ref;checks.ymlalso declaresprocess-rules-refso callers onboarded before this PR stay valid. - The settings file moves byte for byte to
.github/niyam.json, and the cloud setup file to.github/niyam/cloud-setup.sh, installing under/opt/niyam. - The onboard pull request deletes the old workflow and settings file in the same PR; work rules allow moving only those two files. A rerun updates a pull request still open from the old branch, except when
niyam/onboard's own pull request is open, which alone gets updated. - The Setup snippet runs the new cloud setup file, else the old one; the setup mark records which file ran, and doctor names it.
checks.ymlkeeps the decisions concurrency keyprocess-rules-decisions-ā¦until P-57, so it never runs at once with older releases.- owner-step reads workflows with CRLF line endings as LF, and with identity alone leaves a workflow under its old name as is.
- Internal names changed: the decisions status mark, temp folder prefix, token and signing-key titles, and the board template title.
Migration
- Clients' own edits survive the move.
- This repo's own onboarded files stay as they are and move after the release.