Skip to content

Seed collaboration showcase fixtures - #183

Draft
HamptonMakes wants to merge 1 commit into
mainfrom
seed-feature-showcase
Draft

Seed collaboration showcase fixtures#183
HamptonMakes wants to merge 1 commit into
mainfrom
seed-feature-showcase

Conversation

@HamptonMakes

@HamptonMakes HamptonMakes commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Why

The development seed stopped short of the features that landed over the last few weeks: nothing demonstrated agent attribution (#178/#181), comment threads in any state, citation back matter (#177), folder descriptions or the library audit trail (#176). Demos, screenshots, and manual testing all required hand-crafted one-off scripts — the "Claude (via Hampton)" screenshot for this week's #coplan update was staged exactly that way.

What

  • New collab-showcase document ("Search latency: cutting p95 with a two-tier cache") exercising the reference system end-to-end: footnote citations with source links, explicit [§3](#section-3) numbered-section links, a tagged code fence, and prose the comment fixtures anchor to
  • Agent-attributed v2 edit through Plans::ReplaceContent — history renders "Claude (via …)" with full api_token provenance, backed by a seeded root token carrying harness metadata
  • Comment threads in every reviewer-facing state: open, accepted (todo), resolved, overlapping anchors (open nested inside resolved), an agent comment, an unanchored general remark, and one on the code-walkthrough doc
  • References showcase: two extracted link citations, an internal plan reference with a resolved target_plan, and one explicit curated repository reference
  • Folder descriptions on four folders, plus an agent-attributed bulk organize run (three cross-library placements sharing a run_id, each audit event carrying agent name and token provenance)
  • Seed spec now locks idempotency across all new record types (versions, threads, comments, references, library events, tokens) and asserts the showcase shapes

Risk Assessment

Low — development/test seed data only; no production code paths change. Fixtures follow the existing deterministic, never-clobber-local-edits pattern: anchors that no longer match after local edits skip with a warning instead of failing the seed.

References

  • Seeded twice on a fresh MySQL database: identical counts both runs
  • Full suite: 1486 examples, 0 failures
  • Verified rendering in the browser: citation hover previews, References back matter, "Claude (via …)" history, comment highlights and TOC badges

Generated with Claude Code

Screenshots

The showcase document — citation superscripts, section links, comment highlights, TOC badges

Showcase plan with comment highlights and citations

Citation hover preview with source identity

Citation preview popover

References back matter — extracted citations, a resolved plan reference, and a curated repository

References section

History with agent attribution

"Claude (via …)" in the history tab

The development seed stopped short of the newest features: nothing
demonstrated agent attribution, comment threads, citation back matter,
or the library audit trail, so demos and screenshots needed one-off
scripts. Adds a collab-showcase document plus fixtures for each,
following the existing deterministic, never-clobber-local-edits
pattern.

Co-Authored-By: Claude Opus 4.6 <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.

1 participant