Skip to content

chore: expand pnpm check to mirror full CI merge gate#2074

Merged
nick-inkeep merged 5 commits intomainfrom
feat/local-ci-parity
Feb 19, 2026
Merged

chore: expand pnpm check to mirror full CI merge gate#2074
nick-inkeep merged 5 commits intomainfrom
feat/local-ci-parity

Conversation

@nick-inkeep
Copy link
Collaborator

@nick-inkeep nick-inkeep commented Feb 17, 2026

Summary

Expand pnpm check to mirror the full CI merge gate and restructure AGENTS.md so AI coding agents know exactly which commands to run and when.

Motivation

Previously, pnpm check only ran turbo check (lint + typecheck + test + build per-package), leaving format verification, env-description validation, and knip as CI-only steps. Contributors and AI agents had to know about 5+ separate commands to replicate CI locally. This meant CI failures that could have been caught pre-push.

Changes

  • package.jsoncheck script now chains: turbo checkpnpm format:checkpnpm check:env-descriptionspnpm knip
  • AGENTS.md — replaced flat command bullet list with a two-tier Verification section:
    • Pre-push gate: pnpm formatpnpm check (one copy-paste block)
    • Iteration table: individual commands with "when to use" guidance
    • Simplified completion checklist to reference pnpm check instead of 4 separate items
    • Standard Development Workflow cross-references the Verification section
  • agents-docs/.../overview.mdx — corrected pre-push hook description (pnpm format, not pnpm check:prepush), consolidated CI description to reference pnpm check as the single gate

Test plan

  • pnpm check runs all gate steps locally and matches CI output
  • No functional code changes — script wiring and docs only
  • AGENTS.md verified for internal consistency (Verification section, completion checklist, and workflow section all agree)

Generated with Claude Code

@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2026

⚠️ No Changeset found

Latest commit: 0079040

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agents-api Ready Ready Preview, Comment Feb 19, 2026 0:07am
agents-docs Ready Ready Preview, Comment Feb 19, 2026 0:07am
agents-manage-ui Ready Ready Preview, Comment Feb 19, 2026 0:07am

Request Review

Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(0) Total Issues | Risk: Low

🔴❗ Critical (0) ❗🔴

None

🟠⚠️ Major (0) 🟠⚠️

None

🟡 Minor (0) 🟡

None

💭 Consider (0) 💭

None


✅ APPROVE

Summary: Clean docs & script wiring PR that improves DX by giving contributors a single pnpm check command that mirrors the CI merge gate. The documentation corrections accurately reflect the actual pre-push hook behavior (pnpm format, not check:prepush). All changes are accurate, well-structured, and improve contributor experience. Ship it! 🚀

Discarded (5)
Location Issue Reason Discarded
overview.mdx:270 Snippet references raw GitHub URL from main branch Pre-existing pattern not introduced by this PR — out of scope
PR description Claims AGENTS.md documents check:husky/check:prepush but these terms don't appear PR description metadata accuracy, not a code issue
.github/workflows/ci.yml CI runs checks redundantly after this change Out of scope — requires separate CI workflow PR (correctly noted by reviewer as follow-up)
Multiple files Terminology split: 'format verification' vs 'format:check' Validated as acceptable given different audiences (AGENTS.md for AI, overview.mdx for humans)
Multiple files Documentation aligns with pre-push hook Positive observation, not an issue
Reviewers (3)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-docs 1 0 0 0 0 0 1
pr-review-devops 3 0 0 0 0 0 0
pr-review-consistency 4 0 0 0 0 0 4
Total 8 0 0 0 0 0 5

Note: DevOps findings were INFO-level positive observations validating correctness, not issues requiring action.

@nick-inkeep
Copy link
Collaborator Author

CI Note: Pre-existing flaky browser test on main

The CI failure is in agents-manage-ui browser test: form.browser.test.tsxshould properly highlight nested error state. It fails with:

Could not capture a stable screenshot within 15000ms.

This is not caused by this PR (which only touches AGENTS.md, package.json scripts, and overview.mdx — no agents-manage-ui changes).

Evidence: The last 3 CI runs on main also fail:

The flaky screenshot test appears to have been introduced between fde1ccc and 37e72ed on main.

Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(0) Total Issues | Risk: Low

🔴❗ Critical (0) ❗🔴

None

🟠⚠️ Major (0) 🟠⚠️

None

🟡 Minor (0) 🟡

None

💭 Consider (1) 💭

💭 1) AGENTS.md:13 Add runtime expectation guidance for pnpm check

Issue: The expanded pnpm check command chains 4+ sequential check suites (turbo check, format:check, env-descriptions, knip) which can take several minutes. Contributors unfamiliar with the codebase might run it during active development expecting quick feedback.

Why: First-contact legibility — setting expectations helps contributors choose the right tool for their workflow (rapid iteration vs. pre-PR verification).

Fix: Consider adding a brief note distinguishing pnpm check (comprehensive gate for pre-PR verification) from faster alternatives (pnpm lint:fix, pnpm typecheck, pnpm test) for rapid iteration. This is optional — the current documentation already lists all components, and experienced contributors will naturally infer the runtime implications.

Refs: AGENTS.md:13


✅ APPROVE

Summary: Clean docs & script wiring PR that improves contributor DX by consolidating CI gate steps into a single pnpm check command. All documentation changes accurately reflect actual behavior (verified against .husky/pre-push and CI workflow). The terminology fix in the second commit ensures consistency. Ship it! 🚀

Discarded (1)
Location Issue Reason Discarded
.github/workflows/ci.yml CI now runs format:check, env-descriptions, and knip redundantly (once via pnpm check, once as separate steps) Pre-existing observation already noted in prior review. Intentional redundancy for safety. Out of PR scope — would require a separate CI workflow PR.
Reviewers (4)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-docs 0 0 0 0 0 0 0
pr-review-devops 1 0 0 0 0 0 1
pr-review-consistency 0 0 0 0 0 0 0
pr-review-product 1 0 1 0 0 0 0
Total 2 0 1 0 0 0 1

Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(0) Total Issues | Risk: Low

🔴❗ Critical (0) ❗🔴

None

🟠⚠️ Major (0) 🟠⚠️

None

🟡 Minor (0) 🟡

None

💭 Consider (0) 💭

None


✅ APPROVE

Summary: Clean docs & script wiring PR that improves contributor DX by consolidating CI gate steps into a single pnpm check command. All documentation changes verified against actual implementation:

  • ✅ Pre-push hook correctly documented as pnpm format (matches .husky/pre-push)
  • pnpm check accurately described as mirroring full CI gate
  • ✅ Terminology consistent across AGENTS.md and overview.mdx

No issues found across 3 reviewers. Ship it! 🚀

Discarded (0)

No findings to discard.

Reviewers (3)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-docs 0 0 0 0 0 0 0
pr-review-devops 0 0 0 0 0 0 0
pr-review-consistency 0 0 0 0 0 0 0
Total 0 0 0 0 0 0 0

nick-inkeep and others added 2 commits February 19, 2026 03:13
pnpm check previously only ran the turbo subset (lint + typecheck + test).
CI also ran format:check, check:env-descriptions, and knip as separate
steps. Now pnpm check chains all four, so "green locally = green in CI."

Also fixes contributing docs: pre-push hook description was wrong
(claimed check:prepush, actually runs pnpm format) and removes the
stale caveat about CI running extra checks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Addresses review feedback — line 269 said "format" but the actual
script runs format:check (verification, not auto-fix). Now matches
line 13 which correctly uses "format:check".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(0) Total Issues | Risk: Low

🔴❗ Critical (0) ❗🔴

None

🟠⚠️ Major (0) 🟠⚠️

None

🟡 Minor (0) 🟡

None

💭 Consider (0) 💭

None


✅ APPROVE

Summary: Clean docs & script wiring PR that improves contributor DX by consolidating CI gate steps into a single pnpm check command. All documentation changes verified against actual implementation:

  • ✅ Pre-push hook correctly documented as pnpm format (verified against .husky/pre-push)
  • pnpm check accurately described as mirroring full CI gate (verified against ci.yml)
  • ✅ Terminology consistent across AGENTS.md and overview.mdx (both use format:check)

No issues found across 3 reviewers. Ship it! 🚀

Discarded (0)

No findings to discard.

Reviewers (3)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-docs 0 0 0 0 0 0 0
pr-review-devops 0 0 0 0 0 0 0
pr-review-consistency 0 0 0 0 0 0 0
Total 0 0 0 0 0 0 0

Restructure the quick reference to clearly separate build/dev from
verification. Add a pre-push gate (pnpm format → pnpm check) and an
iteration table for individual commands. Simplify the completion
checklist to reference pnpm check as the single CI gate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(2) Total Issues | Risk: Medium

🔴❗ Critical (0) ❗🔴

None

🟠⚠️ Major (1) 🟠⚠️

Inline Comments:

  • 🟠 Major: AGENTS.md:19 Documentation claims pnpm check includes build but it does not
  • 🟠 Major: AGENTS.md:277 Same build issue (duplicate location)

🟡 Minor (1) 🟡

Inline Comments:

  • 🟡 Minor: AGENTS.md:260 Terminology inconsistency — uses format instead of format:check

💭 Consider (0) 💭

None


🚫 REQUEST CHANGES

Summary: The verification cheatsheet restructure is a clear improvement for contributor DX — the two-tier approach (pre-push gate vs. development iteration) addresses the prior "Consider" feedback well. However, the documentation claims pnpm check includes build, but neither turbo check (per turbo.json:163-165) nor the root check script (per package.json:36) includes a build step. This factual inaccuracy would mislead AI agents into believing they've verified the build when they haven't.

To resolve: Remove build from the CI gate description at lines 19, 260, and 277. Also fix the formatformat:check terminology on line 260 for internal consistency.

Discarded (0)

No findings to discard.

Reviewers (3)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-docs 0 0 0 0 0 0 0
pr-review-devops 1 0 0 0 2 0 0
pr-review-consistency 1 0 0 0 1 0 0
Total 2 0 0 0 3 0 0

Note: pr-review-docs correctly identified AGENTS.md as internal AI tooling docs (out of scope for customer-facing docs review).

@github-actions github-actions bot deleted a comment from claude bot Feb 19, 2026
… fix format terminology

turbo check depends on [lint, typecheck, test] — not build.
Also fix `format` → `format:check` in the completion checklist for
consistency with the actual script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(0) Total Issues | Risk: Low

🔴❗ Critical (0) ❗🔴

None

🟠⚠️ Major (0) 🟠⚠️

None

🟡 Minor (0) 🟡

None

💭 Consider (0) 💭

None


✅ APPROVE

Summary: Delta re-review confirms all prior findings (2 MAJOR, 1 MINOR) were correctly addressed in commit 00790400c:

  • ✅ Removed incorrect build from pnpm check description at lines 19, 260, 277
  • ✅ Fixed formatformat:check terminology for consistency
  • ✅ Documentation now accurately reflects turbo.json (check depends on ["lint", "typecheck", "test"])
  • .husky/pre-push runs pnpm format — matches updated docs

Clean docs & script wiring PR that improves contributor DX by giving a single pnpm check command that mirrors the full CI merge gate. Ship it! 🚀

Discarded (0)

No findings to discard.

Reviewers (3)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-devops 0 0 0 0 0 0 0
pr-review-docs 0 0 0 0 0 0 0
pr-review-consistency 0 0 0 0 0 0 0
Total 0 0 0 0 0 0 0

Note: All reviewers verified the prior findings were correctly addressed. No new issues introduced in the delta commit.

@github-actions github-actions bot deleted a comment from claude bot Feb 19, 2026
Drop iteration table to inline list, remove duplicated pre-push block
from workflow section (now cross-references Verification), strip
parenthetical from checklist item. ~25 lines → ~12 lines, same signal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(0) Total Issues | Risk: Low

🔴❗ Critical (0) ❗🔴

None

🟠⚠️ Major (0) 🟠⚠️

None

🟡 Minor (0) 🟡

None

💭 Consider (0) 💭

None


✅ APPROVE

Summary: Delta re-review of commit 01b0707e7 confirms the compression of AGENTS.md verification/workflow sections is clean:

  • Internal consistency maintainedpnpm check is defined once (line 19) and referenced via anchor links and checklist items
  • AI artifact quality preserved — compression improves context efficiency (~40 lines → ~15 lines) without losing essential guidance
  • Accuracy verifiedpnpm check description (lint + typecheck + test + format:check + env-descriptions + knip) matches actual implementation in package.json and turbo.json
  • Cross-references work[Verification](#verification) anchor correctly resolves to the heading

The prior review already approved after fixing the build terminology and format vs format:check issues in commit 00790400c. This delta is purely compression with no semantic changes. Ship it! 🚀

Discarded (0)

No findings to discard.

Reviewers (2)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-devops 0 0 0 0 0 0 0
pr-review-consistency 0 0 0 0 0 0 0
Total 0 0 0 0 0 0 0

Note: Both reviewers verified the compression maintains quality and consistency. No issues introduced in the delta commit.

@github-actions github-actions bot deleted a comment from claude bot Feb 19, 2026
@nick-inkeep nick-inkeep merged commit 6f02144 into main Feb 19, 2026
11 checks passed
@nick-inkeep nick-inkeep deleted the feat/local-ci-parity branch February 19, 2026 12:15
@github-actions
Copy link
Contributor

🔎💬 Inkeep AI search and chat service is syncing content for source 'Inkeep Agent Framework Docs'

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

Comments