Skip to main content

08. Documentation Contract

The Project Constitution is the sole authority for Seraph's product definition and accepted target architecture. Its ADRs own locked decisions. No roadmap, research document, issue, or archived strategy document can define a competing target.

Standing No-Evals Boundary​

Apply the Constitution's no-evals and provider-free implementation direction to docs, plans, issues, PRs, migration, and completion criteria. Do not propose, plan, create, or run evals without an explicit operator request. Do not add paid, free, local, synthetic, benchmark, harness, model-judge, hidden-corpus, or canary substitutes, spending requests, or future eval gates. Implementation and acceptance remain provider-free and may not use ambient credentials.

Ordinary isolated regression, integration, and security tests and actual local effect/readback remain required. Describe an ordinary task's outcome or readback directly; do not label it an eval or infer a quality/improvement claim. Reviewed self-improvement from ordinary task traces, corrections, and skills remains a product capability, independent of cancelled #771. Preserve historical receipts and label their limits; historical language cannot restore cancelled work or authorize calls. Product inference for ordinary approved tasks keeps its normal consent, grant, and routing requirements (no Seraph-side cost limit, ADR-037).

Ownership​

SurfaceOwnsDoes not own
Project Constitution and ADRsProduct definition, accepted target, vocabulary, invariantsShipped capability claims or live execution state
docs/implementation/STATUS.md and implementation guidesShipped/Partial behavior on develop, validation, operator contractsTarget architecture or project queue
docs/research/Evidence, alternatives, dated comparisons, uncertaintyAccepted target or shipped truth
/legacy and explicit archived stubsHistorical context and links to Git historyCurrent instructions, roadmap, or supported behavior
GitHub Project, issues, and PRsQueue, ownership, review, integration, completion receiptsProduct constitution

Status Rules​

Capabilities use exactly these lifecycle states:

  • Shipped — available on develop with named proof.
  • Partial — usable on develop with named missing boundaries.
  • Experimental — explicit opt-in with declared limits and rollback.
  • Planned — accepted tracked work with no shipped implementation.
  • Deprecated — present temporarily with a replacement/removal issue.
  • Excluded — intentionally outside Seraph's capability boundary.

Target, Research, Archived, and Blocked classify decisions, documents, or work—not capabilities. A capability must never be labeled Target. Configured state, a branch-local change, or a deterministic fixture is not evidence of Shipped.

Change Rules​

  • Change the accepted target only through the constitution and a new or superseding ADR, tracked issue, and independent Critic/Contrarian review.
  • Update STATUS and the owning implementation guide when merged behavior changes.
  • Preserve legitimate transitional shipped facts, but label Deprecated paths and name their replacement/removal issue.
  • Keep research comparative claims dated, sourced, and separate from decisions.
  • Archived stubs may summarize provenance and link Git history; they must not contain executable prompts, commands, TODO sequences, or imperative roadmaps.
  • Never mirror Project Queue, Code Review, PR, or slice state in documentation.

Required Checks​

Run:

python3 scripts/check_docs_contract.py
python3 scripts/check_strategy_claims.py
cd docs && npm run typecheck && npm run build

The contract checker enforces canonical ownership, the mirrored public use-case block, public help links, capability/document status separation, ADR structure, sole root-route ownership, sidebar placement, and non-operational archive stubs. Docusaurus treats broken links as build failures.

Historical Context​

The previous master roadmap and parity program remain discoverable only as historical summaries. Full content is preserved in Git history and closed issue #475. They are not active instructions or target owners.