Repository navigation
chore(config): workflow.json holds values, not rules - #33
Merged
Merged
Conversation
Same audit as loop-config.json, applied to the five `.claude/workflow.json` files. Every key was checked against what actually reads it: the hooks read `packageManager` and `generatedFiles`; the skills read `leanGate`, `securityReview`, `prAllowlistGlobs`, `devServer`, `worktreeSetup`, `contractStep` and `deployTarget`. Nothing read any `*Note` key. Dropped, all five repos: `prAllowlistNote` — a restatement of a rule `implement-issue` already carries. Plus, in claude-workflow, `packageManagerNote`, `selfModificationNote` and `journalNote`, each of which duplicates a section of AGENTS.md, and in SahajCloud `worktreeSetupNote`, whose story is in `docs/rules/testing-reqs.md`. **The duplication had already gone wrong.** `approved` was renamed to `ready-to-implement` some time ago; four repos' `prAllowlistNote` were updated and SahajCloud's was not, so it has been describing a label that does not exist. That is the whole argument for values-only, in one key. AGENTS.md carried "`selfModificationNote` states the same rule; keep the two in agreement if you change either" — an instruction to maintain a copy by hand, in the repo whose failure history is copies drifting. The copy is gone. `worktreeNotes` stays. It is one line of per-repo operational fact (which env file a fresh worktree needs), it qualifies the `worktreeSetup` value it sits beside, and two of the three repos document it nowhere else — a bare value that is ambiguous on sight is exactly what a one-line comment is for. claude-workflow's securityReview rationale, three sentences after #32, is back to one. Co-Authored-By: Claude Opus 5 <[email protected]>
This was referenced Sep 2, 2026
Ardnived
added a commit
to sydevs/SahajCloud
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote` and `worktreeSetupNote`, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. **This repo's `prAllowlistNote` was stale.** `approved` was renamed to `ready-to-implement` some time ago; the other four repos' copies were updated and this one was not, so it has been describing a label that does not exist. That is the values-only argument in a single key. `worktreeSetupNote`'s content — that the Claude routine environment's setup script is cached between containers, so editing it does not guarantee it runs — is recorded in `docs/rules/testing-reqs.md`, which is where the three misdiagnoses that produced it are written up. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. worktreeNotes stays: one line of operational fact about what a fresh worktree needs here (.env is git-tracked; the dev server needs a distinct PORT), qualifying the worktreeSetup value beside it and documented nowhere else. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-Authored-By: Claude Opus 5 <[email protected]>
Ardnived
added a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote`, a restatement of a rule the workflow plugin's `implement-issue` skill already carries, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. A rule stated in both a skill and a config file is two sources of truth for one rule, and SahajCloud's copy of this very note had already drifted — it still names the `approved` label, renamed sessions ago. worktreeNotes stays: one line of operational fact about what a fresh worktree needs here, qualifying the worktreeSetup value beside it, documented nowhere else. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-Authored-By: Claude Opus 5 <[email protected]>
Ardnived
added a commit
to sydevs/SahajAtlasWordpress
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote`, a restatement of a rule the workflow plugin's `implement-issue` skill already carries, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. A rule stated in both a skill and a config file is two sources of truth for one rule, and SahajCloud's copy of this very note had already drifted — it still names the `approved` label, renamed sessions ago. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-Authored-By: Claude Opus 5 <[email protected]>
Ardnived
added a commit
to sydevs/SahajCloud
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote` and `worktreeSetupNote`, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. **This repo's `prAllowlistNote` was stale.** `approved` was renamed to `ready-to-implement` some time ago; the other four repos' copies were updated and this one was not, so it has been describing a label that does not exist. The rule it restates lives in the workflow plugin's `implement-issue` skill, which was correct throughout — which is the values-only argument in a single key. `worktreeSetupNote`'s content — that the Claude routine environment's setup script is cached between containers, so editing it does not guarantee it runs — is recorded in `docs/rules/testing-reqs.md`, alongside the three misdiagnoses that produced it. Verified present before deleting. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. worktreeNotes stays: one line of operational fact about what a fresh worktree needs here (.env is git-tracked; the dev server needs a distinct PORT), qualifying the worktreeSetup value beside it and documented nowhere else. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-Authored-By: Claude Opus 5 <[email protected]>
Ardnived
added a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote`, a restatement of a rule the workflow plugin's `implement-issue` skill already carries, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. A rule stated in both a skill and a config file is two sources of truth for one rule, and SahajCloud's copy of this very note had already drifted — it still names the `approved` label, renamed sessions ago. worktreeNotes stays: one line of operational fact about what a fresh worktree needs here, qualifying the worktreeSetup value beside it, documented nowhere else. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-Authored-By: Claude Opus 5 <[email protected]>
Ardnived
added a commit
to sydevs/WeMeditateWeb
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote`, a restatement of a rule the workflow plugin's `implement-issue` skill already carries, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. A rule stated in both a skill and a config file is two sources of truth for one rule, and SahajCloud's copy of this very note had already drifted — it still names the `approved` label, renamed sessions ago. worktreeNotes stays: one line of operational fact about what a fresh worktree needs here, qualifying the worktreeSetup value beside it, documented nowhere else. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-Authored-By: Claude Opus 5 <[email protected]>
Ardnived
added a commit
to sydevs/SahajAtlasWordpress
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote`, a restatement of a rule the workflow plugin's `implement-issue` skill already carries, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. A rule stated in both a skill and a config file is two sources of truth for one rule, and SahajCloud's copy of this very note had already drifted — it still names the `approved` label, renamed sessions ago. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-authored-by: Claude Opus 5 <[email protected]>
Ardnived
added a commit
to sydevs/WeMeditateWeb
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote`, a restatement of a rule the workflow plugin's `implement-issue` skill already carries, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. A rule stated in both a skill and a config file is two sources of truth for one rule, and SahajCloud's copy of this very note had already drifted — it still names the `approved` label, renamed sessions ago. worktreeNotes stays: one line of operational fact about what a fresh worktree needs here, qualifying the worktreeSetup value beside it, documented nowhere else. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-authored-by: Claude Opus 5 <[email protected]>
Ardnived
added a commit
to sydevs/SahajCloud
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote` and `worktreeSetupNote`, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. **This repo's `prAllowlistNote` was stale.** `approved` was renamed to `ready-to-implement` some time ago; the other four repos' copies were updated and this one was not, so it has been describing a label that does not exist. The rule it restates lives in the workflow plugin's `implement-issue` skill, which was correct throughout — which is the values-only argument in a single key. `worktreeSetupNote`'s content — that the Claude routine environment's setup script is cached between containers, so editing it does not guarantee it runs — is recorded in `docs/rules/testing-reqs.md`, alongside the three misdiagnoses that produced it. Verified present before deleting. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. worktreeNotes stays: one line of operational fact about what a fresh worktree needs here (.env is git-tracked; the dev server needs a distinct PORT), qualifying the worktreeSetup value beside it and documented nowhere else. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-authored-by: Claude Opus 5 <[email protected]>
Ardnived
added a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Sep 2, 2026
Drops `prAllowlistNote`, a restatement of a rule the workflow plugin's `implement-issue` skill already carries, and rewrites the top-level $comment, which named `.claude/docs/workflow-parity.md` — a file that no longer exists. Every key was audited against what reads it. The plugin's hooks read packageManager and generatedFiles; its skills read leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep and deployTarget. Nothing read any *Note key. A rule stated in both a skill and a config file is two sources of truth for one rule, and SahajCloud's copy of this very note had already drifted — it still names the `approved` label, renamed sessions ago. worktreeNotes stays: one line of operational fact about what a fresh worktree needs here, qualifying the worktreeSetup value beside it, documented nowhere else. Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33. Co-authored-by: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The same audit as
loop-config.json, applied to all five.claude/workflow.jsonfiles.Every key was checked against what actually reads it:
packageManager,generatedFilesleanGate,securityReview,prAllowlistGlobs,devServer,worktreeSetup,contractStep,deployTarget*NotekeyThe duplication had already gone wrong
approvedwas renamed toready-to-implementsome time ago. Four repos'prAllowlistNotewere updated; SahajCloud's was not, so it has been describing a label that no longer exists:That is the entire argument for values-only, sitting in one key. The rule it restates is in
implement-issue/SKILL.md, which was correct throughout.AGENTS.mdalso carried "selfModificationNotestates the same rule; keep the two in agreement if you change either" — an instruction to maintain a copy by hand, in the repo whose whole failure history is copies drifting apart.Dropped
prAllowlistNote(×5)implement-issue/SKILL.mdpackageManagerNoteAGENTS.md§ No package managerselfModificationNoteAGENTS.md§ Merging to main IS the deployjournalNoteAGENTS.md§ The journal lives here tooworktreeSetupNoteSahajCloud/docs/rules/testing-reqs.mdEach was verified present in its new home before deletion.
claude-workflow'ssecurityReview.rationale— three sentences after #32 — is back to one line.Kept, deliberately
worktreeNotes. One line of per-repo operational fact (which env file a fresh worktree needs), qualifying theworktreeSetupvalue it sits beside, and undocumented anywhere else in two of the three repos that have it. A bare value that is ambiguous on sight is exactly what a one-line comment is for — the standard is one line, not zero.Same for
leanGate.contents,securityReview.rationale,contractStep.description/onExit124, andgeneratedFiles[].reason(which is the denial message the hook shows, so it is a value, not prose).Sizes
The four product repos ship in their own PRs; this one carries claude-workflow plus the AGENTS.md fix.
Verification
claude plugin validate ./workflow --strictpasses.prAllowlistGlobsrule confirmed still stated inimplement-issue/SKILL.md:47.Preview
No preview deploy for this repo.
🤖 Generated with Claude Code