Skip to content

Rework Research Mode consent tiers and collected fields - #142

Merged
EsmeYi merged 3 commits into
mainfrom
research-mode-tier-rework
Aug 31, 2026
Merged

Rework Research Mode consent tiers and collected fields#142
EsmeYi merged 3 commits into
mainfrom
research-mode-tier-rework

Conversation

@EsmeYi

@EsmeYi EsmeYi commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the stats-only tier and renumber the remaining two tiers to start at 1, so there's no gap implying a removed tier ever existed
  • Add history_tasklet_ids: for each Tasklet, the IDs of prior Tasklets that previously owned any line it currently (live-ly) owns — surfaces the same rewrite-chain data as the AI Blame panel's "previous Tasklets for this line", including Tasklets that have since been fully overridden
  • Auto-populate repo_url from the repo's git origin remote instead of a consent-file field no UI ever wrote to; no separate consent gate needed since an open-source repo's URL is already public and a private one's URL grants no access on its own

Test plan

  • vscode-extension: npm run test:unit — 60/60 passing
  • research-collector-worker: npm test — 8/8 passing
  • Both packages type-check clean (tsc --noEmit)

🤖 Generated with Claude Code

EsmeYi and others added 3 commits August 31, 2026 15:20
- Remove the stats-only tier and renumber the remaining two tiers to
  start at 1, so there's no gap implying a removed tier
- Add history_tasklet_ids: for each Tasklet, the IDs of prior Tasklets
  that previously owned any line it currently (live-ly) owns —
  surfaces the same rewrite-chain data as the AI Blame panel's
  "previous Tasklets for this line", including fully-overridden ones
- Auto-populate repo_url from the repo's git origin remote instead of
  a consent-file field no UI ever wrote to; no separate consent gate
  needed since an open-source URL is already public and a private
  one grants no access on its own

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Only reachable from a menu that's itself only shown once a repo has
already opted into Research Mode — nothing new for a participant who
hasn't. Meant for cases like a classroom study where students
self-report this id through a separate, out-of-band roster so their
work can be analyzed individually without the tool itself ever
identifying them.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Four buttons with long labels (View Pending Data / Copy Participant
ID / Change Tier / Disable for This Repo) were getting truncated in
the notification. The message text already gives full context, so
the labels didn't need to repeat it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@EsmeYi
EsmeYi merged commit efd3397 into main Aug 31, 2026
1 check passed
@EsmeYi
EsmeYi deleted the research-mode-tier-rework branch August 31, 2026 14:05
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