08. Docs Contract
Status On develop
- Seraph now has an explicit docs contract, but it still depends on contributors following it consistently.
Paired Research
- evidence and comparison rules: 09. Reference Systems And Evidence
- M0 competitor truth: 18. Agent Competition Truth Table
- M0 claim and wording gate: 19. Strategy Claim Ledger
Purpose
This file explains how research truth, implementation truth, and GitHub execution state fit together.
It is a cross-cutting implementation mirror, not a workstream doc.
Research and implementation should not compete with each other:
- research owns target product shape, evidence rules, benchmark logic, and superiority logic
- implementation owns shipped truth on
develop, delivery ownership, and strategic implementation translation - GitHub owns active execution state, review state, and merge state
If a major concept appears in research but not implementation, or vice versa, the docs are incomplete.
Ownership Rules
-
docs/research/00-synthesis.mdowns the target-product synthesis -
docs/research/10-competitive-benchmark.mdowns the comparative judgment -
docs/research/11-superiority-program.mdowns the design-level superiority program -
docs/research/18-agent-competition-truth-table.mdowns M0 competitor truth and capability benchmark pressure -
docs/research/19-strategy-claim-ledger.mdowns claim status, allowed wording, and proof-gate review rules -
docs/research/20-seraph-agent-parity-and-exceedance-goals.mdowns the Hermes/OpenClaw/IronClaw parity pressure overlay and guardian-preserving target feature set -
docs/implementation/STATUS.mdowns the fastest shipped snapshot -
docs/implementation/00-master-roadmap.mdowns the strategic implementation program, completed-program record, and workstream-to-gap translation -
docs/implementation/09-benchmark-status.mdmirrors the benchmark on shipped implementation terms -
docs/implementation/10-superiority-delivery.mdmirrors the superiority program on delivery terms -
docs/implementation/11-world-class-strategy-delivery.mdmirrors the cross-cutting world-class strategy translation on delivery terms -
docs/implementation/16-agent-parity-execution-roadmap.mdmirrors the agent parity and targeted exceedance goal on implementation sequencing, proof gates, board linkage, and duplicate-issue avoidance - the GitHub Project owns execution state
- GitHub issues and PRs own active work tracking, review state, and merge state
-
docs/docs/owns historical/archive material that is no longer current truth
Update Rules
- If research adds a new benchmark or program layer, implementation needs a mirror doc in the same PR.
- If implementation changes shipped truth, update
STATUS.md, the owning workstream file, and any affected mirror docs in the same PR. - If active execution state changes, update the GitHub Project, issue, or PR instead of mirroring that state in docs.
- If the strategic implementation program or cross-cutting strategy translation changes materially, update the roadmap and any affected mirror docs in the same PR.
- If a doc introduces world-class, best, strongest, superior, secure, private, production-ready, complete, or ahead-of-competitor wording, check the M0 claim ledger and use only wording allowed for the claim status.
- Open PRs, review state, and branch state belong in issues, PRs, and the GitHub Project, not in docs that claim to describe
develop.
Project Workflow
Project fields:
Queue:Now,Next,Background,BlockedStatus:Todo,In Progress,DoneLane:Trust Boundaries,Execution Plane,Runtime Reliability,Presence and Reach,Guardian Intelligence,Embodied UX,Ecosystem and Leverage,Docs / MetaPriority:P0,P1,P2Size:S,M,LCode Review:Not Ready,Pending,Running,Passed,Changes RequestedLinked pull requests: built-in GitHub linkagePR:Not Ready,Open,Merged
Expected flow:
- Create or refine the tracked issue.
- set
Queue,Lane,Priority,Size - set
Status=Todo - set
Code Review=Not Ready - set
PR=Not Ready
- set
- Start execution.
- set
Status=In Progress - move
Queue=Nowif the task is active now
- set
- Open the PR.
- link the PR to the issue
- keep the issue as the project item and use built-in linked pull requests for the PR relationship
- set issue
PR=Open - set issue
Code Review=Pending
- Run review.
- set
Code Review=Runningwhile review is active - move to
Changes RequestedorPassed - every PR-sized slice must be reviewed before merge; non-trivial PR-sized slices require an independent subagent review
- material findings must be fixed, explicitly rejected with rationale, or converted into tracked follow-up work before merge
- PR bodies must record material findings or an explicit no-findings result, plus validation receipts
- set
- Merge and close.
- set
PR=Merged - set
Status=Done
- set
Batch Mode
Use this as the default execution model when several internal slices will land through one GitHub PR.
- create one parent batch issue as the project item
- keep one aggregate PR linked to that parent issue
- use the parent batch issue checklist as the authoritative internal-slice list by default
- only create child slice issues when a slice has separate ownership, is a blocker, has independent acceptance criteria, or could be reprioritized separately
- if child slice issues exist, they may carry their own
QueueandStatus, but leavePR=Not ReadyandCode Review=Not Readyunless that slice gets its own PR - do not mirror one aggregate PR across all child slice issues; the parent batch issue remains the main project item for aggregate
PRandCode Reviewstate - use issue comments or the PR body for receipts and progress notes, not as a second authoritative slice-state surface
M1 Capability Contract Updates
M1 capability-kernel docs are contract docs. They define the reusable capability taxonomy and manifest semantics that M2, M3, and M9 depend on; they must not become a live issue mirror.
When a PR changes capability identity, manifest contribution semantics, permission vocabulary, provenance, health, compatibility, lifecycle state, or package ownership, update all affected durable truth surfaces in the same PR:
- 00. Master Roadmap: strategic contract and completed-program context
- 11. World-Class Strategy Delivery: milestone consumer rules and proof language
- owning workstream docs: shipped behavior, missing gap, validation, and review receipts when shipped truth changes
- STATUS: only when the branch changes the fastest shipped snapshot after merge
M1 acceptance language should identify:
- capability classes covered, including core tools, workflow tools, MCP tools, skills, workflows, runbooks, starter packs, automations, browser or computer-use surfaces, managed connectors, memory providers, and extension-owned contributions
- the source and owner for each class, including whether the behavior is core-owned, package-owned, connector-owned, or transitional compatibility behavior
- declared permissions, mutation rights, provenance, trust level, health, dependencies, compatibility, and available operator actions
- the proof surface, such as API payloads, manifest validation, lifecycle receipts, audit or activity receipts, cockpit inventory, deterministic tests, or benchmark suites
Do not mark M1 complete from docs alone. Completion requires implementation receipts on develop, linked issue or PR proof, and operator-visible inventory that downstream M2/M3/M9 work can rely on.
Latest Workflow Contract Update
- GitHub Project now owns the active execution layer for Seraph.
- subagent review:
- reviewer:
Fermat(019d2bff-cf88-70f0-a8cd-772182c834d1) - concrete findings fixed before the slice stayed final:
- removed tracked issue form fields that duplicated
Queue,Lane,Priority, andSizeoutside the project - removed manual
Queue,Lane,Code Review, andPRfields from the PR template so PR bodies stop mirroring board state - removed current workflow guidance from
docs/docs/setup.mdso the archive tree stays archival - normalized project seeding to issue-first tracking with built-in linked pull requests instead of a mixed issue-plus-standalone-PR model
- corrected the repo-local push skill so it no longer falsely implies automatic board mutation
- removed tracked issue form fields that duplicated
- final verification:
- project item
#233links PR#238withPR=OpenandCode Review=Pending - project item
#239links PR#232withPR=OpenandCode Review=Pending - the project no longer uses standalone PR items for tracked work that already has an issue item
- project item
- reviewer:
- Batch execution now defaults to one parent issue plus one aggregate PR.
- subagent follow-up review:
- reviewer:
Fermat(019d2bff-cf88-70f0-a8cd-772182c834d1) - concrete findings fixed before the slice stayed final:
- removed PR-template wording that would duplicate internal slice tracking in the PR body
- made the parent batch issue checklist the authoritative batch-decomposition surface unless a slice becomes its own child issue
- defined child-slice board semantics under an aggregate PR: child issues may move through
QueueandStatus, but keepPR=Not ReadyandCode Review=Not Readyunless they get their own PR - clarified the tracked-work issue template so the batch-decomposition section is only for parent batch issues and can be left blank on standalone or child issues
- generalized the PR-template tracking label back to
Linked tracked issueso standalone tracked work and batch-parent linking both match the same template
- final verification:
- the parent batch issue owns aggregate
PRandCode Reviewstate - child slice issues no longer imply duplicated aggregate-PR state
- issue comments and PR bodies are now receipts and notes, not a second authoritative slice-status surface
- the PR template now supports both standalone tracked issues and parent batch issues without implying every PR must close a batch parent
- the parent batch issue owns aggregate
- reviewer:
Parity Rules
- Every implementation workstream should link to its paired research doc or docs.
- Research should not carry a stale duplicate of GitHub execution state.
- Implementation should not make benchmark or superiority claims without a research-side source.
- The trees are only “in parity” when a reader can move from synthesis -> benchmark/program -> shipped implementation -> cross-cutting strategy mirror without guessing which file owns what.
Acceptance Checklist
- The docs now explain where research truth ends and implementation truth begins.
- The benchmark/program layers have explicit implementation mirrors.
- The entry-point docs can link a reader to the right owner instead of repeating stale fragments or stale board state.
- Future PRs still need to follow this contract for the parity fix to hold.