Skip to content

feat(packet): inspector rollup view (room → condition → timeline) [E-17]#38

Open
ChelseaKR wants to merge 2 commits into
mainfrom
roadmap/inspector-view-room-condition-timeline-r-13
Open

feat(packet): inspector rollup view (room → condition → timeline) [E-17]#38
ChelseaKR wants to merge 2 commits into
mainfrom
roadmap/inspector-view-room-condition-timeline-r-13

Conversation

@ChelseaKR

Copy link
Copy Markdown
Owner

Add an optional recipient-oriented rendering of an evidence packet organized
by room, then condition (issue category), then a single chronologically merged
timeline that interleaves timeline notes and capture events. It is a derived
view of the already-signed bundle.json — purely additive, with no change to the
bundle schema, packet.html, or packet verification.

  • htmlpacket: add render_inspector_html + _inspector_rollup / _merged_events /
    _hlc_to_iso helpers; reuse _STYLE, _proof_section, _disclosure_section and
    _appendix_table; escape all dynamic values (bundle content is data).
  • packet: build_packet gains inspector_view flag; writes inspector.html beside
    packet.html and records it on PacketResult.inspector_path.
  • cli: habitable export --inspector-view threads the flag and prints the path.
  • tests: structural accessibility (single h1, nested room→condition), grouping
    with chronologically ordered notes + captures, and HTML-escaping of user
    content.
  • docs: mark E-17 shipped in the synthetic-personas roadmap.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com


Backfill PR for a completed roadmap item (roadmap/inspector-view-room-condition-timeline-r-13, 1 commit(s) over main). Part of the portfolio roadmap batch.

claude and others added 2 commits July 2, 2026 18:07
Add an optional recipient-oriented rendering of an evidence packet organized
by room, then condition (issue category), then a single chronologically merged
timeline that interleaves timeline notes and capture events. It is a derived
view of the already-signed bundle.json — purely additive, with no change to the
bundle schema, packet.html, or packet verification.

- htmlpacket: add render_inspector_html + _inspector_rollup / _merged_events /
  _hlc_to_iso helpers; reuse _STYLE, _proof_section, _disclosure_section and
  _appendix_table; escape all dynamic values (bundle content is data).
- packet: build_packet gains inspector_view flag; writes inspector.html beside
  packet.html and records it on PacketResult.inspector_path.
- cli: `habitable export --inspector-view` threads the flag and prints the path.
- tests: structural accessibility (single h1, nested room→condition), grouping
  with chronologically ordered notes + captures, and HTML-escaping of user
  content.
- docs: mark E-17 shipped in the synthetic-personas roadmap.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants