Skip to content

chore(config): workflow.json holds values, not rules - #188

Merged
Ardnived merged 2 commits into
mainfrom
claude/workflow-json-values-only
Sep 2, 2026
Merged

Ardnived merged 2 commits into
mainfrom
claude/workflow-json-values-only

Conversation

@Ardnived

@Ardnived Ardnived commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Drops prAllowlistNote from .claude/workflow.json — 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.

Why

Every key was audited against what actually reads it:

Read by Keys
Plugin hook code packageManager, generatedFiles
Plugin skills leanGate, securityReview, prAllowlistGlobs, devServer, worktreeSetup, contractStep, deployTarget
Nothing every *Note key

A rule stated in both a skill and a config file is two sources of truth for one rule. That is not hypothetical here: SahajCloud's copy of this exact note had already drifted, still naming the approved label that was renamed to ready-to-implement sessions ago. This file holds the values a tuning change edits — reviewable on its own, with no prose to keep in sync.

Kept deliberately

worktreeNotes — one line of operational fact about what a fresh worktree needs in this repo, qualifying the worktreeSetup value it sits beside, and documented nowhere else. The standard is one line, not zero.

Verification

  • Parses as JSON.
  • No reference anywhere in the workspace to the dropped key.
  • The rule it restated confirmed still stated in the plugin's implement-issue/SKILL.md.

Preview

No behaviour change — this file is read by the workflow plugin, not by the widget.

Part of a sweep across all five sydevs repos — see sydevs/claude-workflow#33.

🤖 Generated with Claude Code

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Deploying sahajatlas with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2e1cf69
Status: ✅  Deploy successful!
Preview URL: https://9cc443df.sahajatlas.pages.dev
Branch Preview URL: https://claude-workflow-json-values.sahajatlas.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

@Ardnived
Ardnived force-pushed the claude/workflow-json-values-only branch from 9a6d6e6 to dc594ae Compare September 2, 2026 18:43
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
Ardnived merged commit 3cc3de1 into main Sep 2, 2026
5 checks passed
@Ardnived
Ardnived deleted the claude/workflow-json-values-only branch September 2, 2026 22:52
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