Skip to content

docs(adr): graph-skill harness — Phase F F0 Wave 1#181

Open
ronsse wants to merge 2 commits into
mainfrom
worktree-agent-aa628b65b59a7b1e8
Open

docs(adr): graph-skill harness — Phase F F0 Wave 1#181
ronsse wants to merge 2 commits into
mainfrom
worktree-agent-aa628b65b59a7b1e8

Conversation

@ronsse

@ronsse ronsse commented May 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds docs/design/adr-graph-skill-harness.md (~264 lines) defining the substrate for Phase F's inner agent loop: bounded LLM-backed loops over Trellis data via a markdown-skill artifact + 5-tool allowlist (read_node, read_document, search_graph, propose_mutation, emit_event). Peer to src/trellis_workers/code_authoring/; distinct security model and tool surface.
  • Adds §2.7 "Graph skills and harnesses" to docs/design/adr-terminology.md disambiguating "graph skill" (public category) from "skill" (in-doc shorthand) and contrasting the two harnesses.
  • 8 pre-committed design decisions adopted; structure mirrors adr-coding-agent-loop.md. F1 implementation gated on this PR + sibling Wave 1 PRs merging.

Test plan

  • ADR reads cleanly end-to-end alongside adr-coding-agent-loop.md
  • Cross-references to sibling Wave 1 ADRs resolve (adr-inner-curation-loop.md, workflow-engine-disposition.md)
  • Terminology entry §2.7 is consistent with §2.1-§2.6 prose style
  • Reserved event types (skill.dispatched, skill.step, skill.completed, skill.failed, skill.outcome_recorded) align with codebase dotted-lowercase convention

🤖 Generated with Claude Code

ronsse and others added 2 commits May 18, 2026 10:03
Defines the substrate for running bounded "graph skills" against Trellis
data. Five-tool surface (read_node, read_document, search_graph,
propose_mutation, emit_event), markdown+frontmatter skill artifact,
MutationExecutor as the only write path, five reserved SKILL_* event
types. Mirrors adr-coding-agent-loop.md's structure; consumes the
existing LLMClient Protocol so Anthropic + OpenAI work day one.

Sibling to but distinct from src/trellis_workers/code_authoring/ — the
tool surface is graph-internal, not filesystem/git. Substrate for F2
(curator), F3 (retrieval lazy enrichment), F4 (outcome feedback), F5
(score-based evolver).

Phase F Wave 1 Unit A. Base SHA af374d2.
Disambiguates "graph skill" (the public category) from "skill" (in-doc shorthand) and contrasts the graph-skill harness in src/trellis_workers/agent/ with the coding-agent harness in src/trellis_workers/code_authoring/. Coordination edit on top of the harness ADR introduced in this PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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