Skip to content

Seed collaboration showcase fixtures - #183

Merged
HamptonMakes merged 1 commit into
mainfrom
seed-feature-showcase
Aug 19, 2026
Merged

Seed collaboration showcase fixtures#183
HamptonMakes merged 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>
@HamptonMakes
HamptonMakes marked this pull request as ready for review August 19, 2026 21:41
@HamptonMakes
HamptonMakes merged commit df80e70 into main Aug 19, 2026
3 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 726d061531

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread db/seeds/development.rb
plan_version: plan.current_plan_version,
created_by_user: user,
anchor_text: anchor,
status: "pending"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Mark the author's agent comment as todo

When this helper creates the agent remark above, user is Priya—the showcase plan's author—but the unconditional pending status renders it as reviewer feedback and asks Priya to accept her own comment. Derive the initial status from plan ownership or explicitly pass todo so the seed demonstrates the documented thread lifecycle.

AGENTS.md reference: AGENTS.md:L132-L134

Useful? React with 👍 / 👎.

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