Commit Graph
5 Commits
Author SHA1 Message Date
jaredandClaude Opus 5.5 c798d8fd8f test: local-drafter flow tests run as a normal user under a root CI
tests / unittest (push) Successful in 28s
CI runs the suite as root, where the drafter refuses to run pi without an unprivileged
user, so every local flow test exited 1 there and passed on a workstation. The flow tests
now patch geteuid to a normal user; the root refusal keeps its own test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:35:36 -05:00
jaredandClaude Opus 5.5 1ef68f12fb feat: local drafter (pi against an OpenAI-compatible server on your own hardware)
tests / unittest (push) Failing after 28s
drafter: local runs the pi agent against the model already loaded on a self-hosted server,
as an unprivileged user, in the same sandbox as the Claude drafter. It fails soft when the
server is unreachable or has no model loaded. Both drafters now refuse to continue if
git metadata changed during drafting, and strip project pi configuration from the sandbox.
Tested live against a self-hosted server: one run, 12 turns, docs PR opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 17:12:42 -05:00
jaredandClaude Opus 5.5 9dea56ce98 feat: review_only input and an enumeration check in the monthly prompt
tests / unittest (push) Successful in 23s
review_only names listed documents the drafter may read but not edit. They stay
in stage 1, are listed separately in the prompt, and a change to one fails the
run like a change outside docs. Each entry must match a docs pattern.

The monthly prompt now makes checking every list and count in the top-level
documents against the repository the drafter's main job. Mode-specific text
moves to prompts/mode-pr.md and prompts/mode-monthly.md; the pr text is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 15:40:09 -05:00
jaredandClaude Opus 5.5 f39409e62c feat: reusable review workflow
tests / unittest (push) Successful in 19s
Callers use Civilytics/docs-review/.gitea/workflows/review.yml@v1 with secrets: inherit.
Stage 1 on every pull request; for drafter: claude, a 180-second wait and then the sandboxed
drafter; closed pull requests close their docs PR; schedule and dispatch run the monthly
pass. Tested live against Gitea 28.3 (drafter none, a misspelled drafter, claude, close).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 15:12:57 -05:00
jaredandClaude Opus 5.5 ade847ba5b Initial public release: PR documentation review for Gitea
tests / unittest (push) Failing after 13s
Stage 1 flags the living documents a pull request makes stale (no model, nothing sent).
Stage 2, on repositories that opt in with drafter: claude, has Claude Code draft the edits
in a sandboxed copy of the tree and opens them as a pull request into the feature branch.
A monthly pass re-reads the top-level documents against the whole repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 14:20:22 -05:00