Skip to content

docs(repo): sync docs with master (up to 1733a51) - #22

Merged
JulesFiliot merged 1 commit into
masterfrom
docs/repo/sync
Oct 27, 2026
Merged

JulesFiliot merged 1 commit into
masterfrom
docs/repo/sync

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Warning

Guideline file edited: tools/ai-docs-sync/AGENTS.md. Whatever merges here is obeyed by every later model run in this repo. Read this diff line by line.

--- a/tools/ai-docs-sync/AGENTS.md
+++ b/tools/ai-docs-sync/AGENTS.md
@@ -49,8 +49,10 @@
 5. `triage-docs`: the triage model picks docs to update, create or delete.
 6. `write-docs`: the writer model rewrites or creates each doc, up to `writer_concurrency` at a
    time. A second wave links new docs from an index.
-7. `check-docs`: the checker model reviews every rewrite, create and delete. It can demand at
-   most one correction pass of a rewrite, or drop a create or delete.
+7. `check-docs`: the checker model reviews every rewrite, create and delete, with the guideline
+   files in `<guidelines>`. Before its verdict is acted on, `mechanicalIssues` adds the dashes and
+   attribution it finds on added lines as `must` issues. The stage can demand at most one
+   correction pass of a rewrite, or drop a create or delete.
 8. `gate-docs`: the mechanical gates.
 9. `report`: logs the result, and ends the run (moving the cursor) when nothing survived.
 10. `publish`: renders the commit message, PR title and PR body, pushes the rolling branch,
@@ -125,7 +127,8 @@
 529. A second failure fails the run and leaves the cursor, so the next push picks the range up
 again. Two exceptions:
 
-- A checker failure leaves the edits unchecked.
+- A checker failure leaves the edits unchecked. Dashes and attribution that `mechanicalIssues`
+  finds still send the file to the correction pass.
 - A writer failure holds back only that doc, unless no writer call succeeded and at least one
   failure was an outage (5xx, 429, 529, network error) rather than about the request (a 400, a
   timeout). Then the run fails.
@@ -209,11 +212,16 @@
 
 ## PR body
 
-Order: deleted docs, reviewer changes, new docs, edited docs, each with the triage reason, the
-checker's verdict and issues, and whether a correction pass addressed them. Then carried and
-discarded changes, held-back files and their gate, new links and raw HTML, suggested deletions,
-the commits and PRs in the range, and API cost. A guideline-file edit or delete is bannered at
-the top with its diff, capped at 8,000 characters.
+The body opens with the range line, then lists deleted docs, reviewer changes, new docs and
+edited docs in that order. Each file line gives the path and, after a colon, the triage reason,
+followed by the checker's verdict and issues and whether a correction pass addressed them.
+`checkerLines` lists issues from the dash and attribution check (`source: 'style'`) apart from the
+checker's, so a reviewer can tell a regex finding from a model's judgement, and new and edited
+docs add the `describeDashFixes` line when gate 4 replaced or left a dash. Then come carried and
+discarded changes, held-back files and their gate, new links, raw HTML and vendor names, "Style to
+check (not blocking)" with each doc's `style` flag, suggested deletions, the commits and PRs in
+the range, and API cost. A guideline-file edit or delete is bannered at the top with its diff,
+capped at 8,000 characters.
 
 - Everything model- or narrative-derived is defused: no live `@​mentions`, no closing keywords,
   no raw HTML.
@@ -288,7 +296,8 @@
 
 Each pure module has a suite in `test/`. `test/helpers.mjs` provides `CFG_TEXT` and `cfg()` (a
 representative consumer config) and `tmpRepo(files)`, which writes a throwaway tree to a temp
-directory.
+directory. `publish.test.mjs` pins the exact marker shape and `config.test.mjs` pins
+`STATUS_CONTEXT`, since both are consumer contracts.
 
 ## Consumer contracts
 

Range: 14d0e4d..1733a51 on master, 7 commit(s) (run)

Edited this run

  • tools/ai-review/README.md (update): The posted review format changed, including severity labels, warning text, and the summary separator. Update any examples or descriptions of review comments and PR summaries.
    • Checker: ok
  • tools/ai-docs-sync/AGENTS.md (update): The checker now receives repository guidelines, and code checks added lines for dashes and attribution before requesting a correction. The fallback style gate and PR report also changed, so document the current internal flow.
    • Checker: ok

Commits and PRs in this range

API usage

Call Model In Cached Out Cost
triage gpt-6-luna 34342 0 759 $0.0038
writer tools/ai-review/README.md claude-opus-5-5 4672 0 2063 $0.3281
writer tools/ai-docs-sync/AGENTS.md claude-opus-5-5 19926 53634 8252 $0.2555
checker gpt-6-sol 41741 0 382 $0.0873

Total ~$0.6747

Range: 14d0e4d..1733a51 on master

Files:
- tools/ai-review/README.md
- tools/ai-docs-sync/AGENTS.md

Run: https://github.com/acid-info/ai-tools/actions/runs/40374685317
@JulesFiliot
JulesFiliot merged commit a9e6eb5 into master Oct 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant