Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(onboarding): resolve section count contradiction with skip rule#421

Merged
tmchow merged 1 commit into
mainfrom
feat/onboarding-section-skip
Mar 28, 2026
Merged

fix(onboarding): resolve section count contradiction with skip rule#421
tmchow merged 1 commit into
mainfrom
feat/onboarding-section-skip

Conversation

@tmchow
Copy link
Copy Markdown
Collaborator

@tmchow tmchow commented Mar 28, 2026

PR #413 added Section 2 ("How It's Used") with a skip rule for pure infrastructure repos, but left contradictory section-count language that could cause the agent to either produce an invalid 5-section doc or hallucinate a fake consumer view to satisfy the count.

Addresses this review comment.

Changes

  • Core principle 3: Added explicit note that Section 2 may be skipped, producing five sections
  • Phase 2: Fixed stale "five sections" → "six sections" (missed when PR feat(onboarding): add consumer perspective and split architecture diagrams #413 added Section 2)
  • Phase 3 intro: Changed "exactly six sections" → "the sections defined below" (no longer hardcodes a count that conflicts with the skip rule)
  • Formatting requirements: Changed "five sections" → "each section" (count-agnostic)

Compound Engineering v2.56.0
🤖 Generated with Claude Opus 4.6 (1M context, extended thinking) via Claude Code

PR #413 added Section 2 (How It's Used) with a skip rule for pure
infrastructure repos, but left "exactly six sections" language and stale
"five sections" references that contradicted the skip instruction.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@tmchow tmchow merged commit d2436e7 into main Mar 28, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Mar 28, 2026
Copy link
Copy Markdown

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

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: e3d65b708f

ℹ️ 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".

Read files in parallel batches where there are no dependencies between them. For example, batch README.md, entry points, and AGENTS.md/CLAUDE.md together in a single turn since none depend on each other's content.

Only read files whose content is needed to write the five sections with concrete, specific detail. The inventory already provides structure, languages, frameworks, scripts, and entry point paths -- don't re-read files just to confirm what the inventory already says. Different repos need different amounts of reading; a small CLI tool might need 4 files, a complex monorepo might need 20. Let the sections drive what you read, not an arbitrary count.
Only read files whose content is needed to write the six sections with concrete, specific detail. The inventory already provides structure, languages, frameworks, scripts, and entry point paths -- don't re-read files just to confirm what the inventory already says. Different repos need different amounts of reading; a small CLI tool might need 4 files, a complex monorepo might need 20. Let the sections drive what you read, not an arbitrary count.
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 Make file-reading scope match the optional section skip

This update now requires reading content for “the six sections,” but Section 2 is explicitly skippable for pure infrastructure repositories, so the instruction can still push the agent to gather (or invent) consumer-facing material that should be omitted in that mode. Making this line count-agnostic (e.g., “the sections you will produce”) would keep Phase 2 aligned with the skip rule and avoid contradictory guidance during onboarding generation.

Useful? React with 👍 / 👎.

@github-actions github-actions Bot mentioned this pull request Mar 28, 2026
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