Skip to content

docs: make CyclesEvidence discoverable in the spec repo#111

Merged
amavashev merged 4 commits into
mainfrom
docs/evidence-discoverability
Jun 14, 2026
Merged

docs: make CyclesEvidence discoverable in the spec repo#111
amavashev merged 4 commits into
mainfrom
docs/evidence-discoverability

Conversation

@amavashev

Copy link
Copy Markdown
Contributor

Evidence was invisible in the spec-repo docs. Adds: a CyclesEvidence note in the README companion-specs section; registers drafts/cycles-evidence-v0.1.yaml as a document in cycles-spec-index.yaml (conformance: draft); a MAY bullet in CONFORMANCE.md for cycles_evidence/getEvidence (noting the envelope draft isn't yet a conformance target); and a new drafts/README.md indexing the drafts + where the producer/signer code lives. Docs/metadata only — no spec wire change, no merged drift, changelog valid.

Evidence was invisible in the spec-repo docs (README, CONFORMANCE, spec-index)
even though the runtime base ships the cycles_evidence ref + getEvidence and a
draft envelope spec exists.

- README: add a CyclesEvidence note to the companion-specs section (the
  cycles_evidence ref + getEvidence on the runtime base, the draft envelope
  companion, additive/optional).
- cycles-spec-index.yaml: register drafts/cycles-evidence-v0.1.yaml as a
  document (id evidence_envelope, role companion, conformance: draft) with
  owns/integration_points/readers.
- CONFORMANCE.md: a MAY bullet for emitting cycles_evidence + getEvidence,
  noting the envelope draft is not yet part of the conformance target.
- drafts/README.md: new index of the drafts (evidence + aps-denial-mapping)
  with where the producing/signing code lives.

Docs/metadata only; no spec wire change, no merged drift, changelog valid.
…ence draft

Review nit (3): the evidence_envelope document entry used a non-standard
conformance: draft token. Switch to conformance: reference (the established
non-normative value per the normative|reference vocabulary); conformance_status:
draft + the note already convey it is pre-normative.
Review findings (Low #3 + Medium #1, draft side):
- drafts/README.md: the spec-index now registers drafts as conformance:
  reference + conformance_status: draft (not conformance: draft) — fix the
  README sentence to match.
- cycles-evidence-v0.1.yaml: add a DOMAIN vs EMISSION POLICY note to the
  error artifact_type — the artifact DOMAIN is any 4xx/5xx (so the mirror enum
  includes FORBIDDEN etc., which a verifier must accept), but WHICH codes a
  given server emits is policy: the reference server emits only for
  budget/lifecycle denials and omits pre-evaluation validation/auth. Resolves
  the apparent inconsistency between the envelope domain and the server's
  scoped emission.
…DOMAIN, not server emission

Review (Low): the v0.1.25.4 changelog line 'forbidden/validation failures on
/v1/decide remain error-artifact territory (e.g. 12-decide-live-forbidden)'
read as a reference-server emission promise. Reword to match the draft's
domain-vs-emission note: those are the error-artifact DOMAIN (verifier-domain
fixture illustrates the shape), and the reference server omits cycles_evidence
for pre-evaluation auth/validation failures.
@amavashev amavashev merged commit df7086d into main Jun 14, 2026
5 checks passed
@amavashev amavashev deleted the docs/evidence-discoverability branch June 14, 2026 17:30
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