From b44022151447583c0056c7317d320ecf29f43293 Mon Sep 17 00:00:00 2001 From: Matteo Cherubini Date: Mon, 11 May 2026 10:16:15 +0200 Subject: [PATCH] feat: Implement structured PR review workflow --- templates/agents-genome.md | 1 + templates/pr-description.md | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 templates/pr-description.md diff --git a/templates/agents-genome.md b/templates/agents-genome.md index 2d9ec36..f561291 100644 --- a/templates/agents-genome.md +++ b/templates/agents-genome.md @@ -38,6 +38,7 @@ Session end or return to `disabled`: remind operator to run `git-crypt lock` on 5. Never commit to `main`. Branch per task; PR required; no self-merge. 6. Contradict, don't overwrite. New evidence contradicts existing claim → §Conflict. 7. Never commit plaintext to any path marked for encryption in `.gitattributes`. +8. Every PR must use `templates/pr-description.md`. Do not omit the tabular summary. ### NEVER - Load `wiki/log.md` in full — read only the tail injected by the orchestrator. diff --git a/templates/pr-description.md b/templates/pr-description.md new file mode 100644 index 0000000..59cb25f --- /dev/null +++ b/templates/pr-description.md @@ -0,0 +1,26 @@ +## Summary + + +## Pages Created +| Path | Type | Maturity | +|------|------|----------| +| `[[folder/slug]]` | entity / concept / source / query | draft | + +## Pages Modified +| Path | Change | +|------|--------| +| `[[folder/slug]]` | Added cross-reference to `[[other/page]]` | + +## Contradictions Found +- [ ] None +- [ ] `n` conflict file(s) created — listed below + +## Private Data Accessed +- [ ] No — `PRIVATE_CONTEXT: disabled` +- [ ] Yes — `PRIVATE_CONTEXT: enabled` · outputs in `wiki/private/` only + +## Scoped Lint (post-ingest) +- [ ] Frontmatter valid on all touched pages +- [ ] No broken wikilinks on touched pages +- [ ] No issues found +- [ ] Issues found (list):