Portability gates for planned capabilities
- Status: contract gates only; no planned capability is implemented here
- Issue: #110
- Registry: planned-capability-contracts.json
- Current behavior: capability-matrix.md
The JSON registry is the checklist source of truth. Each defined capability has one owning story and one unique portability-contract task; implementation issues are linked for ownership, not re-specified here. The owner story remains responsible for product behavior, while the contract task owns the portability gate.
| Capability | Owning story | Portability owner | State |
|---|---|---|---|
| Edition/translation comparisons | #22 | #52 | Defined |
| Historical timelines | #23 | #56 | Defined |
| Research workspace publication boundary | #24 | #63 | Defined |
| Citation/source previews | #25 | #64 | Defined |
| Guided reading | #26 | #68 | Defined; implemented (implementation_status in the registry, ADRs 0140-0144) |
| Knowledge relationships | #27 | #72 | Defined |
| Curated reading paths | #28 | #76 | Defined |
| Passage questions/corrections | #29 | #80 | Defined |
| Local reader annotations | #30 | #84 | Defined |
| Scholarly interpretations | #31 | #88 | Defined |
| Shared source-led reflections | #144 | #158 | Defined |
| Protected reflection drafts | #146 | #162 | Defined |
| Third Perspectives | #201 | #222 | Defined |
| Diagrams | #583 | #584 | Implemented: PNG with its text alternative and source |
Required gate for every defined capability#
Before a capability can be called complete, its owner must identify:
- The substantive authored data and stable identity/provenance it represents.
- A useful static representation, or an explicit reason that no public fallback is appropriate.
- The ordinary source, passage, or canonical-work link that remains useful without interactive behavior.
- Private/draft, rights-restricted, unapproved, and remote data that must not appear in public pages, feeds, search, exports, or provider requests.
- Tests for semantic preservation, accessible static output, links and anchors, Unicode, hostile input, privacy leakage, scoped failures, and unchanged canonical data on failure, as relevant to that capability.
The reader-facing fallback-policy work in issues #123 and #125 owns the exact rendering and interaction policy where applicable. This registry records the minimum acceptance gate and points to the feature owner; it does not prescribe implementation internals or create a parallel renderer.
Until a capability's owner ships its portable fallback, the portable HTML projection fails
closed for it: authored content stays visible, a labeled note links to the canonical article,
and private-only state adds nothing (see the
portable HTML pipeline).
The label table in capability.rs is checked against this registry's ids.
Shared Perspectives and privacy#
The shared-publication contract reuses the source identity in story #144, contributor identity/credit contracts, and the exact-approved-revision boundary. Protected contribution drafts in story #146 are not a public representation: they remain absent from previews, feeds, exports, search, and errors until an exact revision is approved and published.
Reader questions and corrections remain distinct from research notes and shared contributor reflections. Hosted submissions must use the shared moderation policy (#211); public output contains only approved material.
Diagrams#
Diagrams were a scope guard (#110) until epic #566 defined them. Story #583 owns how they travel: the canonical page draws sanitized inline SVG with a required title and description and the source beneath it; every copy carries a PNG of the same diagram with that text as its alternative and the source as text (ADR 0419). Node links lead only to pages on the same site and are not carried into copies (ADR 0418).
The registry validator runs with:
node --test tests/portability-contracts.test.mjs