Skip to content

fix(cli): add build to agent-docs CLI reference - #6951

Closed
josephfarina wants to merge 1 commit into
mainfrom
fix/agent-docs-cleanup
Closed

josephfarina wants to merge 1 commit into
mainfrom
fix/agent-docs-cleanup

Conversation

@josephfarina

@josephfarina josephfarina commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

build is the most important command but was only mentioned in the workflow prose — agents scanning the MORE CLI reference table could not find it. This adds it as the first entry with "No args = full playbook".

Measured across five candidate versions whether shortening the block's wording improved agent guidance. The savings decayed as safety-critical omissions were restored, and the final gap was inside grader noise, so the original block stands. This PR keeps only the concrete omission: build in the reference table.

Changes

1 file, 1 insertion:

+  lines.push('  build "<idea>"     template + parts list (start here). No args = full playbook');

All other baseline bytes unchanged.

Test plan

All 5322 tests pass (342 files). JSON shape unchanged.

Knots: kt-e7u2

@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
astryx Ready Ready Preview Oct 5, 2026 7:59pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 5, 2026
@astracat-bot

astracat-bot Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Oct 5, 2026, 8:08 PM UTC

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for tightening the agent-docs block — the shorter workflow is clearer, build in the CLI list is a helpful addition, and the main directives and integrations section are preserved.

Two things need fixing before this is ready:

  • The topics input is now ignored. The generator and its documentation still describe passed topics — including integration-contributed and replacement topics — as being listed by name, but the rendered block contains none of them. Either restore the topic list from the passed topics, or remove the dead topics plumbing and update the documentation to state the new run-astryx docs discovery design explicitly.
  • The generic SELF-CHECK drops styling-specific checks. It no longer tells StyleX projects to replace className=/style={{...}}, or Tailwind projects to replace style={{...}} and arbitrary values. Please restore a shortened but still per-system SELF-CHECK so the re-read pass names the forms that do not compile or are off-system for that project.

With those two corrections, the size reduction and workflow wording look good to re-review.

[Automated review]

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR

🧪 Sandbox Preview

View Sandbox for this PR

No new or modified components detected.

Bundle Size Summary

No component packages changed.

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

@josephfarina
josephfarina force-pushed the fix/agent-docs-cleanup branch 2 times, most recently from 7cf4682 to 323c7f7 Compare October 5, 2026 19:35
@josephfarina
josephfarina force-pushed the fix/agent-docs-cleanup branch from 323c7f7 to 13d75c1 Compare October 5, 2026 19:46
@josephfarina josephfarina changed the title fix(cli): tighten agent-docs block — 31% smaller, same guidance fix(cli): add build to agent-docs CLI reference + fix vacuous test Oct 5, 2026
@josephfarina
josephfarina force-pushed the fix/agent-docs-cleanup branch from 13d75c1 to d78767d Compare October 5, 2026 19:49
@josephfarina josephfarina changed the title fix(cli): add build to agent-docs CLI reference + fix vacuous test fix(cli): add build to agent-docs CLI reference Oct 5, 2026
build is the most important command but was only in the workflow
prose — agents scanning the MORE CLI reference table could not find
it. Add it as the first entry with "No args = full playbook".

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for narrowing this to the concrete omission — build is now findable in the CLI reference as well as in the workflow, which should help agents scanning the command list.

The current revision keeps the rest of the original block intact: doc topics are still listed, the self-check remains tailored per styling system, and integration guidance still renders after the CLI list. No other changes were found in the single-file diff.

Looks good to merge.

[Automated review]

@josephfarina

Copy link
Copy Markdown
Contributor Author

Closing: the plan changed; see #7124, where build leads the workflow on main and is intentionally left out of the command list.

@github-actions
github-actions Bot deleted the fix/agent-docs-cleanup branch October 22, 2026 06:22

This branch was successfully deployed

1 active deployment
Preview — b8de343f Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant