Skip to content

feat: bundle skills, plan.md and memory.md into edge manifests - #543

Merged
blove merged 26 commits into
mainfrom
blove/edge-static-marker-files
Sep 10, 2026
Merged

blove merged 26 commits into
mainfrom
blove/edge-static-marker-files

Conversation

@blove

@blove blove commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Hono and Vercel deployments currently gate route skills because their marker files are unavailable at runtime. This change bundles skills/*/SKILL.md, plan.md, and memory.md into each route's static manifest and serves them through an immutable staticMarkerFs. Node deployments continue to read markers from disk; the writable workspace capability remains gated on edge targets.

Bundled skills must have a string body at the exact route namespace path. Builds and checks enforce 32 KiB per skill or memory marker and 64 KiB per plan, including UTF-8 expansion. The build command checks all markers before type generation, cleaning prior output, or emitting any target, so a later edge target cannot leave an earlier Node target's partial output behind.

Updated package, CLI, configuration, error and fixture contracts to B4.run. Includes core API documentation and patch changesets for @b4run/core and @b4run/cli.

Validation: full workspace build, typecheck and lint passed; 252 tests across 13 marker, emitter, target, guard and runtime-parity suites passed; docs, SEO, changesets and build-cache checks passed. Six added regressions failed before the review fixes and pass afterward. Independent spec and quality reviews found no remaining blockers. Fresh CI must pass before merge.

Part of #605.

@vercel

vercel Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
b4-run Ready Ready Preview Sep 10, 2026 6:26am UTC
dawnai Ready Ready Preview Sep 10, 2026 6:26am UTC

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

blove and others added 20 commits September 4, 2026 10:10
Bundle skills, plan.md, and route memory.md into the edge static module
manifest and serve them through a pure MarkerFs so the hono and vercel
targets stop gating skills off.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…act in the hono gate tests

Co-Authored-By: Claude Fable 5.1 <[email protected]>
blove and others added 4 commits September 4, 2026 10:10
…n boot vs request failure

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…an once in dawn check

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
… edge docs note build-time freeze

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@blove
blove enabled auto-merge (squash) September 10, 2026 06:39
@blove
blove merged commit 18c7b61 into main Sep 10, 2026
29 of 30 checks passed
@blove
blove deleted the blove/edge-static-marker-files branch September 10, 2026 06:43

This branch was successfully deployed

1 active and 1 inactive deployments
Preview — f1e8f39e Deployed Sep 10, 2026 by vercel[bot]
vercel-preview — f1e8f39e Deployed Sep 10, 2026 by blove via vercel-native #1757
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