Skip to content

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

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

Ardnived merged 1 commit 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.

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 plugin code.

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

🤖 Generated with Claude Code

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
Ardnived force-pushed the claude/workflow-json-values-only branch from afb5fa2 to 9025e2d Compare September 2, 2026 18:46
@Ardnived
Ardnived merged commit 611e11c into main Sep 2, 2026
2 checks passed
@Ardnived
Ardnived deleted the claude/workflow-json-values-only branch September 2, 2026 18:49
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