Skip to content

Design structural blocks and definitions - #93

Closed
jlevy wants to merge 1 commit into
mainfrom
codex/kpress-structural-formatting-design
Closed

jlevy wants to merge 1 commit into
mainfrom
codex/kpress-structural-formatting-design

Conversation

@jlevy

@jlevy jlevy commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Superseded by the first layer of the KPress modules stack. Design #96

What this proposes

KPress would render labeled structural blocks and native glossary entries and offer an optional checker and linked preview. Clients would supply source dialects, selected terms, citations, and publication policy. Optional assets would appear only in documents that use them.

The plan proposes four implementation PRs. Static blocks with conditional CSS and a definition checker can proceed independently. Native entries build on both. Linked previews follow once a second host exercises the same interaction. Each KPress PR would own its fixtures. Clients would verify their own upgrade separately.

This PR contains architecture and planning documents. The contracts were checked against KPress main, the public Ojoshe and Squares sites, and the local Paper 1 pilot.

Validation

  • The pinned Flowmark check and Git whitespace check passed.
  • Checked 69 repository links and anchors, the JSON interchange example, and all four documentation footers.
  • The plan specifies future browser, PDF, cold-cache transfer, and downstream upgrade checks.
softschema:
  contract: metabrowser.collection:Collection/v1
  envelope: collection
  status: enforced
collection:
  comparison:
    merge_base: "8b1ec3ee036598c75cfb1d61cd11ba9bf8ad2e89"
    head: "9a80644fb8b722366391f97af2afe0616082aac1"
  items:
    - title: Follow a labeled block from author source to output
      note: Check where Ojoshe translates source spellings, where KPress renders shared semantics, and how unused pages avoid optional assets.
      references:
        - {path: docs/project/architecture/arch-2026-12-01-structural-blocks.md}
    - title: Follow an authored term ID and its short definition
      note: Check the record boundary, emphasis validation, native destination, and focus transfer into an optional linked preview.
      references:
        - {path: docs/project/architecture/arch-2026-12-01-definitions.md}
    - title: Review the independent implementation gates
      note: Follow the dependencies, rollback paths, and acceptance checks. The second preview consumer and downstream validations each have an explicit owner.
      references:
        - {path: docs/project/specs/active/plan-2026-12-01-structural-blocks-and-definitions.md}

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing

jlevy pushed a commit that referenced this pull request Dec 2, 2026
…ha modules

Merge the design from #93 onto current main and record the 2026-12-02 revision:
devices and definitions ship as opt-in alpha modules behind RenderOptions.modules,
adoption gates become graduation gates, icons are in scope, and the asset matrix
separates site, dynamic-host, and single-document modes from offline completeness.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5kBhCB4ov4f4pDq8Am3VT
@jlevy jlevy closed this Dec 2, 2026
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