Skip to content

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

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 two prose keys from .claude/workflow.json and rewrites the top-level $comment, which named .claude/docs/workflow-parity.md — a file that no longer exists.

This repo's copy was stale

approved was renamed to ready-to-implement some time ago. The other four repos' prAllowlistNote were updated; this one was not:

"Where a TICKETLESS PR may be opened without an approved issue … Ticket work is gated on the approved label instead"

It has been describing a label that does not exist. The rule it restates lives in the plugin's implement-issue/SKILL.md, which was correct throughout — which is the values-only argument in a single key.

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

worktreeSetupNote's content — the routine environment's setup script being cached between containers, so editing it does not guarantee it runs — is in docs/rules/testing-reqs.md, alongside the three misdiagnoses that produced it. Verified present before deleting.

Kept deliberately

worktreeNotes — 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 it sits beside, documented nowhere else. The standard is one line, not zero.

Verification

  • Parses as JSON.
  • No reference anywhere in the workspace to either dropped key.
  • docs/rules/testing-reqs.md:49 confirmed to carry the cached-setup-script finding.

Preview

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

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

🤖 Generated with Claude Code

@railway-app

railway-app Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the SahajCloud-pr-678 environment in sahajcloud

Service Status Web Updated
SahajCloud ✅ Success (View Logs) Sep 2, 2026 at 6:49 pm UTC
1 service not affected by this PR
  • mailpit

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-678 September 2, 2026 18:40 Destroyed
@Ardnived
Ardnived force-pushed the claude/workflow-json-values-only branch from f107b6f to 908d4df Compare September 2, 2026 18:43
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-678 September 2, 2026 18:43 Destroyed
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
Ardnived force-pushed the claude/workflow-json-values-only branch from 908d4df to 6ccadf9 Compare September 2, 2026 18:47
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-678 September 2, 2026 18:47 Destroyed
@Ardnived
Ardnived merged commit 10a135f into main Sep 2, 2026
2 checks passed
@Ardnived
Ardnived deleted the claude/workflow-json-values-only branch September 2, 2026 19:08

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-678 — 6ccadf98 Deployed Sep 2, 2026 by railway-app[bot]
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