Skip to content

rill-html-output-doctrine-rule: add vault-wide HTML output rules - #85

Merged
tarr1124 merged 1 commit into
mainfrom
feature/rill-html-output-doctrine-rule
Aug 13, 2026
Merged

tarr1124 merged 1 commit into
mainfrom
feature/rill-html-output-doctrine-rule

Conversation

@tarr1124

Copy link
Copy Markdown
Contributor

Summary

  • New cross-cutting rule .claude/rules/rill-html-output.md: 4 HTML classes (A derived view / B primary HTML / C judgment-handoff / D external presentation), global principles (MD canonical, derived HTML read-only, resume reads MD only with HTML-canonical exception, no HTML-only information, .view/ naming, commit policy aligned with the shipped .view/ gitignore reality, L0 expressiveness with self-containment + provenance), read-moment generation timing (3-layer model: /focus decision digest, /close aggregated handbook, /project digest), and a layer-by-layer operations table.
  • Consistency edits across rill-core.md (index) and 5 existing rules (rill-outputs.md, rill-workspace.md, rill-tasks.md, rill-data-model.md, rill-claude-code-integration.md).
  • Propagation of the decided policy into runtime instructions: templates/AGENTS.md (file-creation/frontmatter invariant now delegates to the auto-updated rule files), skills/focus/SKILL.md (md-only resume reads), skills/close/SKILL.md, .claude/commands/_close/analysis-agent.md (HTML-canonical artifacts read as deliverables; derived HTML skipped), skills/promote/SKILL.md (HTML-canonical artifacts in candidate extraction scope).

Codex review

13 review rounds total across the task. Rounds 8-12 findings were auto-fixed within the human-approved envelope. Two scope adjudications by the human decision queue:

  • d5: existing-vault AGENTS.md migration explicitly declined in favor of delegation wording (template line defers to auto-updated rule files; no CLI migration). The re-raised migration [P1] is adjudicated by this decision.
  • d6: merge as-is; round 13's 3 residual [P2] findings are implementation-scope and are handed off to the follow-up wiring tasks (tracked in the private vault): /focus HTML-path argument resolution, /close distillation-agent cross-validation glob, /promote metadata extraction rules for HTML-canonical artifacts.

Verification

  • Required sections, class rows, index line, and cross-references verified by grep (task Plan).
  • PUBLIC guards on the branch diff: zero CJK, zero PII-mapping words, zero email/phone; non-ASCII limited to em dash / arrow typography already conventional on main.

🤖 Generated with Claude Code

Add .claude/rules/rill-html-output.md codifying the HTML/Markdown
dual-format doctrine:

- Four HTML classes (A derived view / B primary HTML / C judgment-
  handoff surface / D external presentation)
- Global principles: Markdown canonical, AI reads/writes .md only,
  resume reads MD only, no HTML-only information, extension-swap and
  .view/ sidecar naming, expressiveness L0, non-fatal generation
- Commit policy reconciled with shipped reality: primary/handoff HTML
  committed, derived .view/ sidecars gitignored (ADR-085), superseding
  the earlier "commit all HTML" decision
- Read-moment generation model: /focus decision digest, /close
  aggregated handbook, /project digest, rill book build; no 1:1
  mirroring, no continuous regeneration during volatile phases
- Layer-by-layer operations table

Wire cross-references into rill-core.md (index) and the five rules the
policy design flagged: rill-outputs, rill-workspace, rill-tasks,
rill-data-model, rill-claude-code-integration.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@tarr1124
tarr1124 merged commit 6cd2ae9 into main Aug 13, 2026
4 checks passed
@tarr1124
tarr1124 deleted the feature/rill-html-output-doctrine-rule branch August 13, 2026 08:54
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