Skip to content

Docs: WASM sub-project plans (registry v2, scholar plugin, v0.3.0) - #579

Merged
compscidr merged 5 commits into
mainfrom
docs/wasm-registry-plan
Sep 20, 2026
Merged

compscidr merged 5 commits into
mainfrom
docs/wasm-registry-plan

Conversation

@compscidr

Copy link
Copy Markdown
Collaborator

Plans for spec §3–5 of the WebAssembly plugin design, now implemented in goblogplatform/plugins#5, goblog-plugin-hello (v2.0.0), goblog-plugin-scholar#1, goblog#578 and compscidr/iac#627.

🤖 Generated with Claude Code

compscidr and others added 4 commits September 18, 2026 17:19
…ect B)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…t D)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 19, 2026 22:46

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

The new plan docs contain a few internally inconsistent or likely-non-compiling code/test snippets (notably in fetch pagination/testing and go-pdk error APIs) that should be corrected to avoid misleading future implementers.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity · 3 Medium severity

Open (4)
What changed in this PR

This PR adds implementation-plan documentation for the next phase of the WebAssembly plugin ecosystem: a v2 WASM-only plugin directory contract, a new Scholar Publications WASM plugin project plan, and a goblog v0.3.0 plan to remove the compiled-in scholar plugin in favor of the directory-installed WASM plugin.

Changes:

  • Add a detailed implementation plan for the Scholar Publications WASM plugin (settings, caching, fetch/render logic, jobs, packaging).
  • Add an implementation plan for goblog v0.3.0 to remove the compiled-in scholar plugin and hide “unowned” pages until a plugin claims the page type again.
  • Add an implementation plan for registry contract v2 (WASM-only, validate release assets, include runtime/allowed_hosts in the index) and hello v2 as the first WASM plugin.
File Description
docs/​superpowers/​plans/​2026-09-19-scholar-wasm-plugin.md Plan for implementing the Scholar Publications WASM plugin, including Go code snippets, tests, caching, jobs, and packaging.
docs/​superpowers/​plans/​2026-09-19-goblog-v0.3.0-scholar-removal.md Plan for removing the compiled-in scholar plugin in goblog and changing behavior for plugin-owned/unowned page types.
docs/​superpowers/​plans/​2026-09-18-wasm-registry-v2.md Plan for moving the plugin directory to a WASM-only contract and updating hello to a WASM release-asset-based plugin.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/superpowers/plans/2026-09-18-wasm-registry-v2.md Outdated
Comment thread docs/superpowers/plans/2026-09-19-scholar-wasm-plugin.md Outdated
Comment on lines +381 to +383
// maxPages bounds pagination; 10 pages × 100 papers is far beyond any article_limit.
const maxPages = 10

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Documented in 5fd63b5: article_limit is clamped to maxArticleLimit (500) in parseIntSetting — the plan now carries the clamp the shipped plugin has — so maxPages*pageSize = 1000 is the most a fetch needs; authors beyond that get the newest 1000 sorted and truncated.

Comment thread docs/superpowers/plans/2026-09-19-scholar-wasm-plugin.md
@codecov

codecov Bot commented Sep 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

… clamp and run_job gating notes

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@compscidr
compscidr merged commit b4b04fd into main Sep 20, 2026
1 check passed
@compscidr
compscidr deleted the docs/wasm-registry-plan branch September 20, 2026 00:23
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.

2 participants