Skip to content

docs(agents): lead the Gates section with make targets and the PTY progress-bar caveat - #1795

Merged
panghy merged 2 commits into
mainfrom
docs/gates-quiet-progress
Sep 11, 2026
Merged

docs(agents): lead the Gates section with make targets and the PTY progress-bar caveat#1795
panghy merged 2 commits into
mainfrom
docs/gates-quiet-progress

Conversation

@panghy

@panghy panghy commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Why

The "Gates — keep them green" section listed cargo test while the monorepo Makefile runs cargo nextest run, and it presented the raw commands before the supported make targets. Agents following the raw invocation inside a saved ws.script (PTY-backed) got nextest's progress bar redrawn into the captured buffer — one full run produced ~530 KB of cursor-control sequences and overflowed an agent's context.

What

Docs only. Lead the section with make check / make test / make gate, keep the raw equivalents second with the invocation the Makefile actually runs (cargo nextest run --workspace --show-progress none), and add the PTY caveat: raw runs must pass --show-progress none and CARGO_TERM_PROGRESS_WHEN=never (the make targets already do). Section length unchanged.

Companion monorepo PR that makes the make targets quiet by default: intent-hq/intent#4733.

…ogress-bar caveat

The raw cargo test invocation was stale (the Makefile runs nextest) and
saved ws.script runs are PTY-backed, so a raw cargo nextest run floods its
output buffer with progress-bar redraws unless --show-progress none and
CARGO_TERM_PROGRESS_WHEN=never are passed. Point at make check / test /
gate first and keep the raw equivalents with that caveat.

Agent-Id: agent-be1f9de1-55b4-4320-a704-77cd94a365ed
@augmentcode

augmentcode Bot commented Sep 11, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Updates the contributor gate instructions to lead with the monorepo’s supported make targets.
Details: Aligns the raw test command with cargo nextest and documents PTY progress-output suppression for saved script runs.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode 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.

Review completed. 1 suggestion posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread AGENTS.md Outdated

@augmentcode augmentcode 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.

Deep Code Review Agent🐛

Review completed with 0 suggestions.

Reviewed commit: 0381122

--show-progress is nextest-only; CARGO_TERM_PROGRESS_WHEN applies to all three raw cargo
invocations. Addresses a review comment on #1795.

Agent-Id: agent-be1f9de1-55b4-4320-a704-77cd94a365ed
@panghy
panghy added this pull request to the merge queue Sep 11, 2026
Merged via the queue into main with commit 8d8035a Sep 11, 2026
18 checks passed
@panghy
panghy deleted the docs/gates-quiet-progress branch September 11, 2026 12:19
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