Skip to content

Adopt more harness patterns: security-reviewer + ops skills - #24

Merged
doidor merged 1 commit into
mainfrom
doidor/epichan-harness-pickups
Jun 29, 2026
Merged

Adopt more harness patterns: security-reviewer + ops skills#24
doidor merged 1 commit into
mainfrom
doidor/epichan-harness-pickups

Conversation

@doidor

@doidor doidor commented Jun 29, 2026

Copy link
Copy Markdown
Owner

What & why

Picks up four battle-tested patterns from the popular production harnesses (a real ADO/GitHub agent fleet) and wires them into the installed knowledge/ templates, dogfooded into AgentRig's own harness. Output of a read-only verification pass that confirmed all 12 AgentRig principles are validated by popular production harnesses, then implemented the agreed "quick-wins" bundle.

What's new

Pickup Artifact Principle
security-reviewer role agents/security-reviewer.{yml,md} — read-only, on a non-developer model (gpt-5.5), Blocking/Warning/Info severity + explicit APPROVE / REQUEST CHANGES verdict 2
no-self-approve skill + pre_merge gate skills/no-self-approve/ + state-machine hook — shared-identity agents must never approve their own PRs 9, 10
resolve-conflicts skill skills/resolve-conflicts/ — rebase-first conflict repair, verify mergeability before push 4, 7
address-review-comments skill skills/address-review-comments/ — reply + resolve every thread, verify zero remain 4, 5
wiki conventions _TEMPLATE.md optional PR/commit provenance + index.md good-vs-weak entry guidance 8

All skills were adapted forge-neutral (ADO/az-specifics stripped; GitHub gh examples).

Wiring & docs

  • knowledge/manifest.json: +5 artifacts, knowledgeVersion0.7.0 (so agentrig update installs them).
  • state-machine.yml: optional security-reviewer transition during reviewing + no-self-approve in pre_merge.
  • Docs sources updated so the docsite reflects the new roster/skills: PRINCIPLES.md (Principle 2), README.md, docs/index.md.
  • Changeset added (minor).

Verification

  • Static audit (eval --static .): 100% (33/33) completeness, 100% (6/6) quality — unchanged from baseline; the 3 new skills carry valid description + allowed-tools frontmatter.
  • agentrig compile propagated the new skills into AGENTS.md, CLAUDE.md, .github/copilot-instructions.md.
  • markbook build succeeds — docsite builds clean from updated sources.

Not included (separate follow-ups)

Bigger items surfaced by the investigation, intentionally out of scope here: Principle 13 (out-of-band flywheels), forge abstraction (ADO/GitHub seam), and the environment-bootstrap pack.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

…ops skills)

Pick up four battle-tested patterns from the Epichan production harness, wired into the
installed knowledge templates and dogfooded into AgentRig's own harness:

- security-reviewer role (P2): optional read-only reviewer on a non-developer model,
  with Blocking/Warning/Info severity and an APPROVE / REQUEST CHANGES verdict.
- no-self-approve skill + pre_merge gate (P9, P10): shared-identity agents must never
  approve their own PRs; independent approval required.
- resolve-conflicts skill (P4, P7): rebase-first conflict repair, verify mergeability.
- address-review-comments skill (P4, P5): reply + resolve every thread, verify zero remain.
- wiki conventions: optional PR/commit provenance + good-vs-weak entry guidance.

Manifest knowledgeVersion -> 0.7.0 so `agentrig update` installs the new artifacts. Docs
sources (PRINCIPLES.md, README.md, docs/index.md) updated so the docsite reflects the new
roster/skills. Static audit stays 100% / 100%; changeset added.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@doidor
doidor merged commit ce544d8 into main Jun 29, 2026
2 checks passed
@doidor doidor changed the title Adopt Epichan harness patterns: security-reviewer + ops skills Adopt more harness patterns: security-reviewer + ops skills Jun 29, 2026
@github-actions github-actions Bot mentioned this pull request Jul 29, 2026
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