Skip to content

Add offline plugin templates and immutable release tooling - #28403

Closed
nwparker wants to merge 1 commit into
nwparker/plugin-app-17-catalogfrom
nwparker/plugin-app-18-authoring
Closed

nwparker wants to merge 1 commit into
nwparker/plugin-app-17-catalogfrom
nwparker/plugin-app-18-authoring

Conversation

@nwparker

@nwparker nwparker commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 6 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​505 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​505
Prod 50 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​65786 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​65786

ELI5

Plugin authors can start a small independent repository, validate it offline and publish a release whose exact committed files Orca can verify.

What Changed

Adds a public viewer contract and locale/syntax/viewer templates with vendored validation and release workflows. The CLI initializes repositories without installing dependencies or running plugin code, validates strict runtime schemas, packages committed Git blobs, exports pinned catalog releases and compares locale kits/catalogs. Translation maintenance detects changed source text and placeholders; host security copy stays outside the export. Generated validators and the English kit are refreshed against the rebased runtime; the example translation revision changes only after verifying its source text hash is unchanged. Includes the runtime and example worker in the clean checkout and declares the SDK source output directory explicitly.

Why

Independent repositories let maintainers and community authors review one plugin's changes and releases. Vendored validation gives each repository an inspectable, pinned toolchain, while release identity uses exact Git blobs rather than checkout filters, line-ending conversions or an arbitrary local build directory.

Linked Issue

Maintainer-requested plugin work. Draft layer 18, based on catalog and environment management. No new issue created.

Visual Proof

N/A — author contracts, offline command-line tooling and repository templates; no app UI changes in this layer.

Testing

  • Automated tests added/updated.
  • Exact isolated draft package: all 19 tests pass, including installed tarball initialization/release for all three templates and Windows-style Git settings.
  • Exact runtime validator, four-schema and English-kit snapshot check passes.
  • SDK builds with its pinned TypeScript 5.9.3 and the workspace TypeScript 6 compiler. Exact draft Node typing passes.
  • Clean-tree tests exposed missing generated template files and stale snapshots; both are corrected in this diff.
  • Executed on macOS. Windows-style Git configuration is a fixture, not actual Windows qualification.

Review

Initialization refuses existing directories and removes only its owned failed output. Validation bounds artifact reads and rejects escapes/symlinks and forged locale kit hashes. Packaging/export never executes plugin code and refuses uncommitted viewer output. HTTPS/SSH Git sources are provider-neutral. Environment adapter authoring and paired-host lifecycle remain later P0 work; this layer does not claim to provide them.

Agent skill upstream boundary

  • Not applicable; no upstream skill-installer source copied.

Checklist

  • Public author contracts, templates and immutable release tooling form one layer.
  • Reviewed generated artifact provenance and clean-checkout packaging.
  • Provider-neutral Git and byte preservation considered.
  • Visual proof is N/A with reason.
  • CI and remaining platform/release checks pass.

@nwparker

Copy link
Copy Markdown
Contributor Author

Superseded. This 90-PR stack was replaced by two smaller stacks rebuilt on current main: machines (#30670 → #30793, plus #30708) and plugins (#30636 → #30773). Remote/Node control hosts and the managed-workspace gateway were deferred. Closing; branches are left in place for reference.

@nwparker nwparker closed this Oct 20, 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