Skip to content

docs(agents): adopt the test authoring gate - #29

Merged
code-yeongyu merged 1 commit into
mainfrom
test-audit/g6-agents-gate
Sep 30, 2026
Merged

code-yeongyu merged 1 commit into
mainfrom
test-audit/g6-agents-gate

Conversation

@code-yeongyu

@code-yeongyu code-yeongyu commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adopts the test authoring gate from the test audit in a new root AGENTS.md, together with the facts agents need to run and add tests here. These were previously only in the user-facing README:

  • the Bun and Node runners run the same explicit file lists, so a new test file must be added to both lists;
  • the cloak-profile script;
  • the headless-shell environment variables;
  • the hygiene-scan rule.

There were no earlier agent test rules, so nothing needed reconciling.

What the gate says

The four authoring questions, the junk-pattern list and the retention bar, copied word for word from the audit's shared gate text. All eight audited repositories get the same text, with only the heading level and runner names adapted.

Validation

  • bun test test/hygiene.test.mjs and node --test test/hygiene.test.mjs both pass with the new file, so it contains no absolute home path or private host.
  • Documentation only: no code, test or workflow change.

Refs #28


Summary by cubic

Adds a root AGENTS.md with the test authoring gate and the runner and hygiene notes agents need to run and add tests here, previously only in the user-facing README.

  • Covers the explicit test file lists in both package.json scripts, the cloak-profile script, headless-shell environment variables, and the hygiene-scan rule.
  • Includes the full gate text (four questions, junk patterns, retention bar) copied from the audit; there were no earlier agent test rules to reconcile.
  • Documentation only; no code, test, or workflow changes, and the new file passes the hygiene scan on both runners.

Refs #28

Written for commit bc0d654. Summary will update on new commits.

Review in cubic

Adds a root AGENTS.md with the two runner commands (both list their files explicitly), the hygiene-scan rule and the test authoring gate (four questions, junk patterns and the retention bar) from the openclaw test-audit method. There were no earlier agent test rules to reconcile.
@code-yeongyu
code-yeongyu merged commit 13567bb into main Sep 30, 2026
3 checks passed
@code-yeongyu
code-yeongyu deleted the test-audit/g6-agents-gate branch September 30, 2026 18:13
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