Skip to content

Design + plan: adapt Mocktioneer to edgezero #269 (extensible CLI)#110

Draft
aram356 wants to merge 27 commits into
mainfrom
feature/edgezero-extensible-cli
Draft

Design + plan: adapt Mocktioneer to edgezero #269 (extensible CLI)#110
aram356 wants to merge 27 commits into
mainfrom
feature/edgezero-extensible-cli

Conversation

@aram356

@aram356 aram356 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

What this PR is

Design spec + implementation plan only — no implementation code yet. This lands the agreed-upon design and a task-by-task plan for adapting Mocktioneer to the breaking stackpop/edgezero#269 ("EdgeZero CLI Extensions"), so the approach can be reviewed before code is written. Implementation will follow on this branch (or a child branch) by executing the plan.

Contents

  • docs/superpowers/specs/2026-06-11-edgezero-extensible-cli-adaptation-design.md — the design (converged over 5 review rounds).
  • docs/superpowers/plans/2026-06-15-edgezero-extensible-cli-adaptation.md — a 13-task, TDD, exact-code implementation plan.
  • docs/.prettierignore — exclude superpowers/ from the docs Prettier gate.

Scope of the planned change (for reviewers)

  • Compat: repin the six edgezero-* git deps mainfeature/extensible-cli; drop the include_str!(manifest) arg from every adapter run_app; migrate the Spin adapter to spin-sdk ~6.0 / wasm32-wasip2 (Fastly stays wasm32-wasip1).
  • Typed config: add a validated MocktioneerConfig (bid_cpm), a mocktioneer.toml, and a mocktioneer-cli crate mirroring edgezero's generated <name>-cli.
  • Runtime: bid_cpm is resolved from the bound config store for both the OpenRTB and APS paths, falling back to FIXED_BID_CPM when no store is bound; malformed values error, a malformed/absent file degrades to the default.
  • Plumbing: [stores.config] in the manifest + Spin runtime-config.toml, Dockerfile manifest pre-copy, .gitignore .edgezero/, docs (wasip2 + "$0.20 default" pricing + edgezero-cli-vs-mocktioneer-cli), and a config validate --strict CI gate.

Notes

  • Base is main, which already carries the strict-clippy + PR #257 edgezero adaptation (via PR Adopt edgezero strict-clippy gate and PR #257 API #108).
  • edgezero #269 is still open; deps will pin to its branch during implementation and re-pin to edgezero main after it merges.
  • This PR is docs-only, so existing Rust/docs CI runs against unchanged code.

aram356 added 23 commits June 14, 2026 00:47
…tures, pricing docs, docker, prettier exclusion, CLI story)
…I seed, dockerfile cache-hygiene, docs build-exclusion, broader CLI docs)
…t(?Send) test impl, spin release build in verify)
@aram356 aram356 marked this pull request as draft June 16, 2026 15:36
aram356 added 4 commits June 16, 2026 08:37
…n/typed-config, add spin to agent builds, fix stale pricing/cli comments
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