Skip to content

Documentation Standards

Package docs should stay consistent with the shared handbook layout used across the repository.

Consistency matters here because readers should not need to relearn how to read every package. The shared layout is part of the user experience, but honesty is more important than uniformity for its own sake.

Treat the quality pages for bijux-canon-index as the proof frame around the package. They should show how trust is earned and where skepticism still belongs.

Visual Summary

flowchart LR
    page["Documentation Standards<br/>clarifies: see proof | see limitations | judge done-ness"]
    classDef page fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a,stroke-width:2px;
    classDef positive fill:#dcfce7,stroke:#16a34a,color:#14532d;
    classDef caution fill:#fee2e2,stroke:#dc2626,color:#7f1d1d;
    classDef anchor fill:#ede9fe,stroke:#7c3aed,color:#4c1d95;
    classDef action fill:#fef3c7,stroke:#d97706,color:#7c2d12;
    proof1["tests/e2e for CLI workflows, API smoke, determinism gates, and provenance gates"]
    proof1 --> page
    proof2["tests/conformance and tests/compat_v01 for compatibility behavior"]
    proof2 --> page
    proof3["tests/unit for API, application, contracts, domain, infra, and tooling"]
    proof3 --> page
    risk1["README.md"]
    risk1 -.keeps trust honest.-> page
    risk2["CHANGELOG.md"]
    risk2 -.keeps trust honest.-> page
    risk3["pyproject.toml"]
    risk3 -.keeps trust honest.-> page
    bar1["proof before confidence"]
    page --> bar1
    bar2["done means defended behavior"]
    page --> bar2
    bar3["package trust after change"]
    page --> bar3
    class page page;
    class proof1,proof2,proof3 positive;
    class risk1,risk2,risk3 caution;
    class bar1,bar2,bar3 action;

Standards

  • use the shared five-category package spine
  • prefer stable filenames that describe durable intent
  • keep docs grounded in real code paths, interfaces, and artifacts

Concrete Anchors

  • tests/unit for API, application, contracts, domain, infra, and tooling
  • tests/e2e for CLI workflows, API smoke, determinism gates, and provenance gates
  • README.md

Use This Page When

  • you are reviewing tests, invariants, limitations, or ongoing risks
  • you need evidence that the documented contract is actually defended
  • you are deciding whether a change is truly done rather than merely implemented

Decision Rule

Use Documentation Standards to decide whether bijux-canon-index has actually earned trust after a change. If one narrow green check hides a wider contract, risk, or validation gap, the work is not done yet.

What This Page Answers

  • what currently proves the bijux-canon-index contract instead of merely describing it
  • which risks, limits, and assumptions still need explicit skepticism
  • what a reviewer should be able to say before accepting a change as done

Reviewer Lens

  • compare the documented proof story with the actual test layout and release posture
  • look for limitations or risks that should have moved with recent behavior changes
  • verify that the claimed done-ness standard still reflects real validation practice

Honesty Boundary

This page explains how bijux-canon-index is supposed to earn trust, but it does not claim that prose alone is enough. If the listed tests, checks, and review practice stop backing the story, the story has to change.

Next Checks

  • move to foundation when the risk appears to be boundary confusion rather than missing tests
  • move to architecture when the proof gap points to structural drift
  • move to interfaces or operations when the proof question is really about a contract or workflow

Purpose

This page keeps package docs from drifting back into ad hoc structure.

Stability

Update it only when the shared documentation system itself changes.