Skip to content

feat(plugins): add contextual project and thread associations - #3

Merged
djgilcrease merged 7 commits into
t3/create-plugin-systemfrom
t3/plugin-from-issue
Nov 10, 2026
Merged

djgilcrease merged 7 commits into
t3/create-plugin-systemfrom
t3/plugin-from-issue

Conversation

@djgilcrease

@djgilcrease djgilcrease commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

External plugins need project-specific new-thread settings and searchable links that survive draft creation. This adds generic contextual settings and association blocks, authenticated reads through the project's selected source-control provider, and bounded reference contributions before provider dispatch. Tracker adapters, Linear consent and secrets, pagination, issue identity and persistence live in the external plugin; it imports no server internals.

The branch merges the latest target, 30bc5659b1154731dada7a27ac7cc98aa26614e1. Conflict resolution preserves Project Notes' portable forms and navigation, graph rendering and repository-aware thread dialogs, trusted command caller identity, and installation across machines. This PR targets Dj's prototype fork only and implies no upstream approval.

Change Evidence
Project settings, prospective and saved-thread associations, multiple-item expansion, remove/clear and in-app detail navigation Real Linux web client against isolated state: settings toggle/source dropdown, search and pagination, two selected issues, reload, promotion through the normal bootstrap/start-turn command using free Replay, saved selections, remove/clear, current issue detail and Back
Project/provider API reads Worker IPC test; driver test verifies glab cwd, selected hostname, GET and output bound; live public GitLab issue read and parsing succeeded; real GitHub reads exercised in the client
Per-turn reference contribution and lifecycle Regression first failed when the optional registry was looked up outside its service layer; all 47 turn-start tests pass after fixing capture. Registry tests cover refresh, disabled contributions and oversized context; worker isolation covers the new bridge
Search state Browser regression first failed with a blank query after remount; now verifies query preservation, pagination, and disabling stale Next
Current target integration Required check:changed origin/t3/create-plugin-system --concurrency 1: format, lint, knip, GraphQL, 38 affected package typechecks, scoped tests and React compiler pass. Combined integration run passed 156 focused tests across 13 files; final changed-file pass ran 92 tests across 8 files plus 14 React compiler tests (remaining cases filtered)
Packaged loading Production bundle builds; starting its bin.mjs with isolated state loads self-contained From Issue 0.1.0 as active and exposes search/select/remove/clear/open through MCP

Before/after captures are public assets on the plugin's v0.1.0 release; no screenshot files are committed to either repository.

Before, plugin disabled:

Settings before

After, enabled in the same isolated project:

Settings after

Multiple links and in-app issue loading:

Multiple issues

Issue detail

Limitations: live Linear account access has not been tested; consent, pagination, workspace identity and permission loss have deterministic plugin tests. Android's matching dev client was available, but device automation reported DEVICE_IN_USE by another session; that session was left untouched. Native Android/iOS and Electron UI execution are not claimed. Web/desktop share the implemented UI; native settings, draft and saved-thread contributions typecheck. Tracker calls run on the owning environment; no client localhost origin is embedded.

Merged at d91fdaa33acf40b471c75d0939a484dc07aae15e; its tree exactly matches the locally tested head. The external plugin is now published as v0.1.0 at 0baba96886a1229d6c90fc8cb053d428d4afc3d8. Real repository-URL installation, update detection (no newer version), disable/re-enable retaining byte-identical link data, removal and clean reinstall passed on the integrated production-packaged Linux host. Public assets downloaded successfully, all six checksum entries matched, and the extracted module activated. Post-release verification records that scope. Announcements: plugin prototype, Ideas #30981.

Hosted full server CI remains queued for Blacksmith; the fork reports zero registered runners. No full hosted suite pass is claimed.

Implemented with gpt-6.1-sol (high), Codex harness, on behalf of Dj Gilcrease.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XL labels Nov 10, 2026
@djgilcrease
djgilcrease marked this pull request as ready for review November 10, 2026 20:08
@djgilcrease
djgilcrease merged this pull request into t3/create-plugin-system Nov 10, 2026
13 of 24 checks passed
djgilcrease added a commit that referenced this pull request Nov 17, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 18, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 19, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 20, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 22, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 23, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 24, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 26, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 27, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 28, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Nov 29, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Dec 1, 2026
feat(plugins): add contextual project and thread associations
djgilcrease added a commit that referenced this pull request Dec 2, 2026
feat(plugins): add contextual project and thread associations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant