Skip to content
Myr

Say what swarm and release do now that both are built, and name the pi adapter's files in its cut row

Before adoption: this commit came in with the history the project adopted, so no landing records it.

- Merged W7 group A into main with --no-ff, in index order: 702 swarm plan, 704 README, 706 pi adapter, 707 ADRs/GLOSSARY/AGENTS.md, 713 demo docs, 715 release. No conflicts; bun.lock unchanged by `bun install`. - AGENTS.md Commands: `swarm` and `release` no longer say "not built yet, exits 1" (707's lines predate 702 and 715). swarm plans, claims and prepares workspaces, with starting the harnesses still unbuilt (711); release builds, uploads and leaves npm publish to a person. - README "Install the CLI": names `bun run release -- --build` and `--upload --stage dev-<you>` as what fills the stage's bucket (704's leftover once 715 merged). - README cut row 1, the pi adapter: names apps/cli/src/pi.ts and its test, tsdown's entry and neverBundle line, and the manifest's `pi` key in scripts/lib/release.ts (704's leftover once 706 merged); readme.test.ts now holds those paths to the tree. - Checked by hand: `bun run release -- --build` stages dist/pi.js in the npm package now that 706 and 715 meet. Nothing uploaded or published. - Tests: no new tests; bun run verify green (config 191, cli 288, platform entry 1,605,141).

authored by oscabriel · committed by oscabriel · parent 918a2c1 · Browse files · 2 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:AGENTS.md+2 added-2 removed
64 unmodified lines
65- `bootstrap -- --stage <stage>`: makes a stage's Cloudflare resources; a second run creates nothing, and `--dry-run` only prints the plan.66- `deploy -- --stage <stage>`: the one way to deploy. It runs `verify`, deploys the three Workers with Wrangler, reads the push trigger back, then runs `smoke`.67- `smoke -- --stage <stage>`: read-only probes against a live stage.68- `seed`: puts the two example projects on a platform (`--world node` on this machine, or `--stage <stage>`); a second run changes nothing.69- `swarm`: not built yet, so it says so and exits 1. Once built, it runs fictional contributors, on several harnesses, against one split family on a stage.70- `release`: not built yet, so it says so and exits 1. Once built, it builds the CLI's package and binaries, which the platform serves from its own bucket. Only a person publishes.69- `swarm -- --stage <stage> --project <name>`: plans six fictional contributors, on four harnesses, against one split family on a stage, claims each one's ask and prepares a workspace with a clone of its fork; `--dry-run` only prints the plan. Starting the harnesses is not built yet: each run is recorded as failed.70- `release -- --build | --upload --stage <stage> | --publish`: builds the CLI's npm package and two binaries, uploads a release to the stage's own bucket, which the platform serves, and leaves `npm publish` to a person: under an agent it prints the command instead.7172## Nouns7374Each code noun has one home:
71 unmodified lines
modified:README.md+2 added-2 removed
134 unmodified lines
135curl -fsSL <origin>/install.sh | sh136myr login --url <origin>137```138139`<origin>` is a stage's platform or web. The binaries never come from a code host's release page. Once the npm package `@myr/cli` is published, `npm install -g @myr/cli` is the other way in.139`<origin>` is a stage's platform or web. The binaries never come from a code host's release page. `bun run release -- --build` builds them, and `bun run release -- --upload --stage dev-<you> --version <semver>` fills the stage's bucket. Once the npm package `@myr/cli` is published, `npm install -g @myr/cli` is the other way in.140141`myr login` signs you in through the browser (PKCE against the platform's own OAuth server and its own accounts) and names `git-credential-myr` in git's config for that host, so plain `git clone`, `git fetch` and `git push` work with no token in a URL.142143### Contributors' harnesses
51 unmodified lines
195196| Cut line | What goes | What removes it |197| --- | --- | --- |198| 1 | Agent extras: the Markdown ask page, per-project well-known skills, and `myr schema` | `apps/web/src/features/ask/markdown.ts`, `apps/web/test/ask-markdown.test.ts`; `packages/agent-kit/src/well-known.ts`, `apps/platform/src/well-known.ts`, `apps/platform/test/well-known.test.ts`, `apps/web/src/routes/[.]well-known/agent-skills/$.ts`; `apps/cli/test/schema.test.ts` and the `schema` command in `apps/cli/src/surfaces.ts` |199| 1 | The pi adapter | its module and test under `apps/cli/src/` and `apps/cli/test/`, its lines in `apps/cli/tsdown.config.ts`, and the pi dev dependency in `apps/cli/package.json` |199| 1 | The pi adapter | `apps/cli/src/pi.ts`, `apps/cli/test/pi.test.ts`, its entry and its `neverBundle` line in `apps/cli/tsdown.config.ts`, the pi dev dependency in `apps/cli/package.json`, and the adapter's line in the package manifest's `pi` key in `scripts/lib/release.ts` |200| 2 | `myr why`, verdicts as git notes, and the `ReachedInternals` stage | `apps/cli/src/local/why.ts`, `apps/cli/test/local/why.test.ts`; `packages/git/src/notes.ts`, `apps/platform/src/workflows/notes.ts`, `packages/git/test/notes.test.ts`, `apps/platform/test/notes.test.ts` (verdicts still reach `status`, `verdict` and MCP); `packages/gate/src/imports.ts`, `packages/gate/test/imports.test.ts` and its branch in `packages/gate/src/stages/shape.ts` |201| 3 | Admission runs and env injection | `packages/project/src/visibility/admission.ts`, `apps/platform/src/workflows/admission-steps.ts`, `packages/project/test/visibility/admission.test.ts`, `apps/platform/test/visibility/admission.test.ts`; `apps/sandbox/src/env-gateway.ts`, `apps/sandbox/src/checker/env.ts`, `apps/sandbox/test/env-injection.test.ts` |202| 4 | Live streaming views (the pages poll every 5 s instead, as they already do when the stream fails) | `apps/platform/src/watch.ts`, `apps/platform/test/watch.test.ts`, the `ProjectSockets` entry in `apps/platform/src/ports.ts`, the `Watch` contract in `packages/protocol/src/contracts.ts` with its callers, and the stream half of `apps/web/src/client/watch.ts` and `apps/web/test/watch.test.ts`, keeping the polling |203| 4 | The D1 projection (the platform falls back to an empty memory front page) | `packages/project/src/projection-d1/`, `packages/project/test/projection-d1.test.ts`, `packages/project/test/projection-d1-credits.test.ts`, `packages/project/test/projection-d1.fixtures.ts`, `apps/platform/migrations/0001_front_page.sql`, `apps/platform/migrations/0004_projects_credits.sql`, and its entry in `apps/platform/src/ports.ts` |
105 unmodified lines