Skip to content

docs(pm-stack): add epic template and conformance audit (#1285) - #4010

Merged
dezren39 merged 1 commit into
mainfrom
queue/4996-1285-epic-intake-conformance
Nov 2, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/4996-1285-epic-intake-conformance

Conversation

@dezren39

@dezren39 dezren39 commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Epic issue template
  -> intake checklist (labels + Project #4 + native sub-issues)
  -> read-only conformance audit
       -> issue labels, owner, definition of done
       -> Project #4 membership when gh has read:project

The audit reports gaps only; it does not repair existing epics.

Evidence

Merge Danger

Door: Two-way; the template, checklist, and read-only script can be reverted independently.

Blast Radius: Low — new filing guidance and a local audit script; no existing issues are changed.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 1, 2026 22:02
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 5 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b03aaeaa-f3d5-4180-9965-753bb2a75375
Commits

Reviewing files that changed from the base of the PR and between bdc66c7 and 938aee9.

Files selected for processing: 5
  • .github/ISSUE_TEMPLATE/epic.md
  • planning/README.md
  • planning/templates/epic-intake.md
  • pm-stack/aggregator/scripts/check-epic-conformance.ts
  • pm-stack/aggregator/test/epic-conformance.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T22:05:40.854366Z 938aee9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 938aee96f8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +20 to +21
const project = (item as { project?: { number?: unknown } }).project;
return project?.number === 4 || project?.number === "4";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Check membership against the actual GitHub CLI output

When project access is available, this predicate incorrectly reports even attached epics as missing Project #4. Verified with installed gh 2.96.0: gh issue view --json projectItems requests project{id,title} and exports flattened items such as {"status":{"optionId":"abc","name":"Todo"},"title":"Main"}, not nested project.number objects. The current test fixture therefore masks the live failure. Query the project's number and owner explicitly through GraphQL, or resolve membership using its project ID.

Useful? React with 👍 / 👎.

}

function hasNamedOwner(body: string): boolean {
return /^\s*owner\s*:\s*\S/im.test(body);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep owner matching on the same line as the field

If an epic leaves Owner: blank and has another section afterward, the \s* after the colon consumes the intervening newlines and \S matches the next heading. For example, Owner:\n\n## Definition of done\n\nShip it produces no owner finding despite naming nobody. Restrict the whitespace after the colon to horizontal whitespace and require a nonempty value on that line so the audit catches this intake gap.

Useful? React with 👍 / 👎.

@dezren39
dezren39 merged commit b39500e into main Nov 2, 2026
1 check passed
@dezren39
dezren39 deleted the queue/4996-1285-epic-intake-conformance branch November 2, 2026 15:44
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