Skip to content

Harden agent issue board: generator validation + canonical labels - #37

Merged
cschanhniem merged 1 commit into
mainfrom
harden-issue-board
Jun 18, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
harden-issue-board

Conversation

@cschanhniem

Copy link
Copy Markdown
Contributor

Summary

Closes the drift gap flagged in #36.

  • Canonical labels — the agent-board labels (type:agent-task, role:*, status:open-claim, good-first-agent-task) are now in .github/labels.yml, the single source of truth, and in the validator's STATIC_LABELS.
  • validateAgentIssueGenerator() — new pnpm validate check: every task in tasks-available.json must produce a well-formed issue title, at least 4 labels that all exist in labels.yml, and a body containing the done condition and problem-file link. Catches board/canonical drift in CI.
  • Safe imports — generator exports its builders and guards the CLI block so it can be imported without side effects.

Test plan

  • pnpm validate passes (includes new check over all 100 tasks)
  • pnpm build clean
  • pnpm format clean

- .github/labels.yml: add type:agent-task, role:*, status:open-claim,
  good-first-agent-task as canonical labels (single source of truth)
- validate-repo.mjs: validateAgentIssueGenerator() asserts every task
  produces a well-formed title, >=4 labels all defined in labels.yml,
  and a body containing the done condition + problem link
- generate-agent-issues.mjs: export builders; guard CLI for safe import

Closes the board/labels drift gap noted in the prior PR.
@cschanhniem
cschanhniem merged commit a761a4b into main Jun 18, 2026
1 check passed
@cschanhniem
cschanhniem deleted the harden-issue-board branch June 18, 2026 07:46
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