Skip to content

docs(#6469): expand doc-update trigger to cover adding new features - #6470

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/6469-expand-doc-update-trigger
Open

docs(#6469): expand doc-update trigger to cover adding new features#6470
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/6469-expand-doc-update-trigger

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Summary

Expands the AGENTS.md doc-update trigger rule to explicitly cover adding new user-facing configuration (variables, flags, environment variables) to existing CLI commands. Previously, the rule only triggered on "removing, renaming, or changing" existing behavior, which the code agent reasonably interpreted as not covering additions — leading to missed documentation updates in PR #6446.

Related Issue

Changes

  • Added "adding" as a trigger verb in the doc-update rule (AGENTS.md line 20)
  • Explicitly called out configuration variables, flags, and environment variables as feature types that trigger the rule
  • Added instruction to search for existing documentation tables or lists of similar items when adding new entries (e.g., repo variable tables)
  • Retained existing guidance about docs/cli/, docs/guides/, and operations guides

Testing

  • Change is documentation-only (AGENTS.md) — no tests to run
  • Validated commit message with gitlint

Checklist

  • PR title follows Conventional Commits (correct type, ! for breaking changes)
  • No DCO sign-off (autonomous agent commit)

Closes #6469

Post-script verification

  • Branch is not main/master (agent/6469-expand-doc-update-trigger)
  • Secret scan passed (gitleaks — 6fa6cb907b700abaace905bf2cfd8ffb5693dc71..HEAD)
  • PR body secret scan passed (gitleaks — no-git)

The AGENTS.md doc-update rule only triggered on "removing, renaming,
or changing" existing behavior, which left a gap for additions. When
the code agent added FULLSEND_REVIEW_CLIENT_ID as a new repo variable
in PR #6446, it did not search docs/ for related tables or lists to
update, resulting in 3 stale-documentation review findings.

Expand the trigger to include "adding" as a verb, explicitly call out
configuration variables, flags, and environment variables as examples,
and instruct agents to search for existing inventories or tables of
similar items when adding new entries.

Note: make lint could not run in the sandbox (pre-commit network
restriction). The post-script runs lint authoritatively on the runner.

Closes #6469
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from a team as a code owner August 21, 2026 22:35
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Aug 21, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Aug 21, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 10:37 PM UTC · Completed 10:51 PM UTC

Commit: 637a781 · View workflow run →

@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fullsend-ai-review

Copy link
Copy Markdown

Review

Findings

Medium

Low

  • [inconsistent guidance] docs/contributing/documentation.md:7 — The opening paragraph states the doc-update trigger as "When changing CLI command behavior, adding or removing subcommands, or renaming flags." The updated AGENTS.md rule now broadens the trigger to also cover adding new configuration variables, flags, and environment variables, and instructs contributors to search for documentation tables or lists of similar items. The narrower wording in documentation.md could lead contributors who read only that file to skip doc updates when adding new config variables or environment variables. The AGENTS.md table entry on line 45 that describes when to read documentation.md uses the same narrower wording and is also not updated by this PR.
    Remediation: Consider updating docs/contributing/documentation.md line 7 and the AGENTS.md table entry on line 45 to align with the expanded trigger. However, documentation.md is intentionally scoped as a CLI command cross-reference guide, so the narrower focus there may be partly by design. A lighter-touch fix would be to add a sentence pointing readers to the broader AGENTS.md rule for non-CLI features.

Labels: PR modifies AGENTS.md governance documentation for contributor and agent behavior

@fullsend-ai-review fullsend-ai-review 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.

See the review comment for full details.

Comment thread AGENTS.md
- Never commit secrets (tokens, API keys, PEM keys, gcloud credentials) or sensitive data (GCP project names, service account identifiers, Model Armor template names, internal hostnames). Use environment variables with no defaults for sensitive values.
- When adding a new doc under `docs/`, check `docs/.vitepress/config.ts` sidebar config. Sections using `getMarkdownFiles()` are auto-discovered. All other sections need a manual `{ text, link }` entry. Also add the new folder's prefix to `search.options.scopes` in the same file so the folder's pages are reachable when search scope pills are active.
- When removing, renaming, or changing the behavior or output format of a CLI command, public API, or user-facing feature, grep all documentation files under `docs/` for references and update them to reflect the current behavior. Pay special attention to `docs/cli/`, `docs/guides/`, and any getting-started or operations guides.
- When adding, removing, renaming, or changing the behavior or output format of a CLI command, public API, or user-facing feature (including new configuration variables, flags, or environment variables), grep all documentation files under `docs/` for references to the affected feature area and update them to reflect the current behavior. For new additions, search for documentation tables or lists of similar items (e.g., repo variables, CLI flags) that should include the new entry. Pay special attention to `docs/cli/`, `docs/guides/`, and any getting-started or operations guides.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] protected-path

AGENTS.md is a protected governance file. This PR modifies the doc-update trigger rule to expand the set of trigger verbs and clarify scope. The PR links to issue #6469 and provides clear rationale for the change. Human approval is always required for protected-path changes, regardless of context.

@fullsend-ai-review fullsend-ai-review Bot added requires-manual-review Review requires human judgment documentation labels Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation ready-for-review Agent PR ready for human review requires-manual-review Review requires human judgment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand AGENTS.md doc-update trigger to cover adding new user-facing configuration

0 participants