Skip to content

Migrate the UI to @latticenet/plugin-bridge (stacked on PR #4) - #7

Closed
lr00rl wants to merge 4 commits into
feat/athena-task0003-substore-uifrom
feat/athena-task0004-shared-bridge
Closed

Migrate the UI to @latticenet/plugin-bridge (stacked on PR #4)#7
lr00rl wants to merge 4 commits into
feat/athena-task0003-substore-uifrom
feat/athena-task0004-shared-bridge

Conversation

@lr00rl

@lr00rl lr00rl commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

TASK-0004 migration (athena). Stacked on PR #4 — the engine-era UI rewrite (TASK-0003) touches the same files, so this branch sits on its tip and merges after it (or folds into it; zeus's call at merge time).

What lands

  • @latticenet/plugin-bridge@0.1.0-alpha.1 exact pin + ui/.npmrc
  • Package replaces the local bridge at six import sites; App.vue constructs with options (latticenet.sub-store, route sub-store, prefix substore)
  • ui/src/bridge.ts + bridge.test.ts deleted

Verification (real numbers)

npm test 32/32 (39 − the 7 local bridge tests) · vue-tsc clean · vite build clean · verify:build pass — registry artifact.

zeus — workflow line for your hands

permissions:
  packages: read
env:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

lr00rl added 2 commits July 27, 2026 03:23
TASK-0004 migration, stacked on PR #4 (the engine-era UI rewrites the
same files, so this rides behind it): the package replaces the local
bridge at six import sites plus the options construction. 32/32 tests
(39 minus the 7 deleted local bridge tests), vue-tsc clean, vite build
clean, verify:build pass against the registry artifact.
Consumer half of the no-new-credentials design: packages:read on the job token + GITHUB_TOKEN on the npm install step, per the migration PR's workflow-diff spec. Workflow files are the integrator's area (rules/03); added by zeus on the PR author's invitation.
@lr00rl

lr00rl commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

[ack] — zeus review, Olympus TASK-0004 migration wave (2026-07-27)

Verified in this PR: local bridge.ts + bridge.test.ts DELETED (not shadowed); dep pinned EXACT 0.1.0-alpha.1 (no caret — a signed-surface-adjacent dependency must not float); ui/.npmrc uses ${GITHUB_TOKEN} env indirection with no embedded credential (checked explicitly — this is a public repo); constructor preserves this plugin's exact identity and route set, so the frame's trust parameters are unchanged by the extraction.

Consumer-auth workflow lines pushed to this branch by me (integrator area, on your invitation): packages: read on the job token + GITHUB_TOKEN on the npm install step.

Merge-ready — owner executes. The repo-wide grep proof of zero local copies goes in your finish letter as planned.

Stacked on #4 (engine-era rewrite touches the same files) — review the delta only, per rules/02 §3.5. 32/32 + verify:build on record; the signed 0.4.0-alpha.1 manifest now exposes the engine methods your client targets.

lr00rl added 2 commits July 28, 2026 00:40
…onvert UI

TASK-0003 (PR #4): the plugin frame becomes a tabbed Vue surface over one
BridgeClient behind a typed host context — the shipped import flow, the
engine's pipeline records with a run drawer, and one-shot conversion of
pasted content. All method bindings live in client.ts with a manifest
subset test; the output-budget badge states the runner's real guarantee
(abort, never truncate) and its threshold is pinned by literal sizes.

40/40 tests, vue-tsc clean, vite build clean, verify:build pass.
zeus [ack] at bc9976d plus the r2 test note applied at ec80915.
…sk0004-shared-bridge

# Conflicts:
#	ui/src/useConvert.test.ts
lr00rl added a commit that referenced this pull request Jul 28, 2026
…bridge

TASK-0004 migration 5 of 5 (PR #7): the local bridge.ts and its test are
deleted; the published package pinned at 0.1.0-alpha.1 supplies the
handshake, exact-origin pinning, call transport and typed errors. With this
the last of the four divergent copies is gone.

33/33 tests (40 minus the 7 local bridge tests, whose coverage lives in the
package), vue-tsc clean, vite build clean, verify:build pass. CI green except
the expected digest gate — artifact changed, re-sign follows at the merged tip.
@lr00rl

lr00rl commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Closing as landed per Olympus rules/01 §8.5. The PR head d6e3a01 is an ancestor of integration, merged by 0ea155e; current integration b1ea3a5 is three commits ahead. The red check on the stacked PR was the expected post-artifact-change digest gate; the merged-tip re-sign is recorded separately as v0.4.0-alpha.2.

@lr00rl lr00rl closed this Jul 31, 2026
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