🎫 Ticket 271: pro engine — a sister project with mm's ACP part and the SDKs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cf8a720 parent: 2a1cdf6 added
.tickets/issues/0271-pro-engine-a-sister-project-with-only-the-acp-part-and-sdks.yaml +131 -0 | new file mode 100644 | ||
| @@ -0,0 +1,131 @@ | ||
| 1 | +# Managed by IssueSpec. Hand edits are welcome; keep the schema valid. | |
| 2 | +id: 271 | |
| 3 | +title: "Pro engine: a sister project with only mm's ACP part, its SDKs, kept up to date with mini-me" | |
| 4 | +state: open | |
| 5 | +author: | |
| 6 | + name: k33g | |
| 7 | + email: ph.charriere@gmail.com | |
| 8 | +createdAt: 2026-11-27T04:30:00.000Z | |
| 9 | +updatedAt: 2026-11-27T04:30:00.000Z | |
| 10 | +labels: | |
| 11 | + - enhancement | |
| 12 | + - kind::feature | |
| 13 | +epic: SDK | |
| 14 | +related: | |
| 15 | + - 71 | |
| 16 | + - 105 | |
| 17 | + - 139 | |
| 18 | + - 167 | |
| 19 | + - 168 | |
| 20 | + - 169 | |
| 21 | + - 170 | |
| 22 | + - 171 | |
| 23 | + - 172 | |
| 24 | + - 187 | |
| 25 | + - 188 | |
| 26 | + - 203 | |
| 27 | + - 222 | |
| 28 | + - 173 | |
| 29 | +body: | | |
| 30 | + ## Asked (user, 2026-11-27) | |
| 31 | + A sister project: a "pro engine" that would be ONLY the ACP part of | |
| 32 | + mini-me, with various SDKs. And a way to update the pro engine's project | |
| 33 | + whenever mini-me is updated. Linked: the SDK tickets and the license one. | |
| 34 | + | |
| 35 | + ## What it would be | |
| 36 | + - A headless engine: what `mm -acp` is today — the engine, the tools, | |
| 37 | + the configuration, the ACP façade (`internal/acp`) — without the | |
| 38 | + terminal front ends (line mode `internal/agent`, window `internal/tui`), | |
| 39 | + the wizards (`mm init`, `mm sbxinit`, `mm dockerinit`, `mm skillcreate`) | |
| 40 | + and what only they use (spinner, clipboard…). Exact list to establish | |
| 41 | + from the imports (`go list -deps`). | |
| 42 | + - Its SDKs: the clients over ACP already prototyped in mini-me — Node.js | |
| 43 | + (167, 188 official TypeScript SDK), Go (168), Python (169), Rust (170), | |
| 44 | + Swift (171), Kotlin (187), Nushell (172), Bash (222) — and the API | |
| 45 | + ideas (71, 105, 139); how to distribute them (203). | |
| 46 | + | |
| 47 | + ## Constraints read in the code (2026-11-27) | |
| 48 | + - `go.mod` says `module mm`: not a fetchable path, another module cannot | |
| 49 | + `go get` it. | |
| 50 | + - Every package is under `internal/` (45 of them): Go forbids another | |
| 51 | + module to import them. A sister repository therefore CANNOT simply | |
| 52 | + import mini-me as it is. | |
| 53 | + | |
| 54 | + ## Ways to keep the pro engine up to date with mini-me (to choose) | |
| 55 | + 1. **Same code, a second binary.** mini-me gets a `cmd/…` main (or a | |
| 56 | + build tag) that builds the ACP-only engine; the pro project holds the | |
| 57 | + SDKs, the docs and the releases of that binary. Update = nothing to | |
| 58 | + sync: each mini-me tag builds both. Simplest; the pro code is in | |
| 59 | + mini-me's repository. | |
| 60 | + 2. **Sister repository + mini-me as a git subtree (or submodule)** and a | |
| 61 | + `replace mm => ./mini-me` in its go.mod; a sync script | |
| 62 | + (`sync-from-mini-me.sh <tag>`) and a CI job on every mini-me tag that | |
| 63 | + opens a pull request in the pro repository with the new subtree. | |
| 64 | + The pro repo builds its own `main` against mini-me's internal packages | |
| 65 | + (allowed: same module through the replace). | |
| 66 | + 3. **Public packages.** mini-me moves what the engine needs from | |
| 67 | + `internal/` to importable packages under a real module path | |
| 68 | + (e.g. `rickub.com/bots-garden/mini-me`); the pro repo imports a tagged | |
| 69 | + version, updates = a version bump (Renovate/Dependabot-style). Cleanest | |
| 70 | + dependency, most work, and those packages become an API to keep stable. | |
| 71 | + | |
| 72 | + ## License (ticket 173) | |
| 73 | + mini-me is to move to FSL-1.1-MIT, whose only restriction is a "Competing | |
| 74 | + Use". The pro engine is the same author's, so the question is the pro | |
| 75 | + project's OWN license (proprietary, FSL, or open source for the SDKs only) | |
| 76 | + and, for option 1 or 2, that its code comes from mini-me's repository. | |
| 77 | + | |
| 78 | + ## Open questions (for the user) | |
| 79 | + - Which way to stay up to date (1, 2 or 3)? | |
| 80 | + - What "pro" adds over `mm -acp`, if anything (support, features, | |
| 81 | + another license), or whether it is the same engine packaged apart. | |
| 82 | + - Do the SDK prototypes move to the pro project, or stay in mini-me's | |
| 83 | + demos and get copied? | |
| 84 | + - Where the pro project lives (rickub.com, GitHub) and its name. | |
| 85 | +tasks: | |
| 86 | + - id: 1 | |
| 87 | + title: "Decide with the user: the sync way (same repo / subtree / public packages), what 'pro' adds, the license, the name and home" | |
| 88 | + state: open | |
| 89 | + priority: high | |
| 90 | + author: | |
| 91 | + name: k33g | |
| 92 | + email: ph.charriere@gmail.com | |
| 93 | + createdAt: 2026-11-27T04:30:00.000Z | |
| 94 | + updatedAt: 2026-11-27T04:30:00.000Z | |
| 95 | + - id: 2 | |
| 96 | + title: "List what the ACP-only engine needs (go list -deps from an ACP-only main) and what it drops" | |
| 97 | + state: open | |
| 98 | + priority: medium | |
| 99 | + author: | |
| 100 | + name: k33g | |
| 101 | + email: ph.charriere@gmail.com | |
| 102 | + createdAt: 2026-11-27T04:30:00.000Z | |
| 103 | + updatedAt: 2026-11-27T04:30:00.000Z | |
| 104 | + - id: 3 | |
| 105 | + title: "Prototype the ACP-only engine build along the chosen way" | |
| 106 | + state: open | |
| 107 | + priority: medium | |
| 108 | + author: | |
| 109 | + name: k33g | |
| 110 | + email: ph.charriere@gmail.com | |
| 111 | + createdAt: 2026-11-27T04:30:00.000Z | |
| 112 | + updatedAt: 2026-11-27T04:30:00.000Z | |
| 113 | + - id: 4 | |
| 114 | + title: "The update path: a mini-me tag updates the pro engine (script + CI job, or version bump), tested once end to end" | |
| 115 | + state: open | |
| 116 | + priority: medium | |
| 117 | + author: | |
| 118 | + name: k33g | |
| 119 | + email: ph.charriere@gmail.com | |
| 120 | + createdAt: 2026-11-27T04:30:00.000Z | |
| 121 | + updatedAt: 2026-11-27T04:30:00.000Z | |
| 122 | + - id: 5 | |
| 123 | + title: "The SDKs in the pro project: which ones, where they live, how they are distributed (ticket 203)" | |
| 124 | + state: open | |
| 125 | + priority: low | |
| 126 | + author: | |
| 127 | + name: k33g | |
| 128 | + email: ph.charriere@gmail.com | |
| 129 | + createdAt: 2026-11-27T04:30:00.000Z | |
| 130 | + updatedAt: 2026-11-27T04:30:00.000Z | |
| 131 | +comments: [] | |
| new file mode 100644 | |||
| @@ -0,0 +1,131 @@ | |||
| 1 | +# Managed by IssueSpec. Hand edits are welcome; keep the schema valid. | ||
| 2 | +id: 271 | ||
| 3 | +title: "Pro engine: a sister project with only mm's ACP part, its SDKs, kept up to date with mini-me" | ||
| 4 | +state: open | ||
| 5 | +author: | ||
| 6 | + name: k33g | ||
| 7 | + email: ph.charriere@gmail.com | ||
| 8 | +createdAt: 2026-11-27T04:30:00.000Z | ||
| 9 | +updatedAt: 2026-11-27T04:30:00.000Z | ||
| 10 | +labels: | ||
| 11 | + - enhancement | ||
| 12 | + - kind::feature | ||
| 13 | +epic: SDK | ||
| 14 | +related: | ||
| 15 | + - 71 | ||
| 16 | + - 105 | ||
| 17 | + - 139 | ||
| 18 | + - 167 | ||
| 19 | + - 168 | ||
| 20 | + - 169 | ||
| 21 | + - 170 | ||
| 22 | + - 171 | ||
| 23 | + - 172 | ||
| 24 | + - 187 | ||
| 25 | + - 188 | ||
| 26 | + - 203 | ||
| 27 | + - 222 | ||
| 28 | + - 173 | ||
| 29 | +body: | | ||
| 30 | + ## Asked (user, 2026-11-27) | ||
| 31 | + A sister project: a "pro engine" that would be ONLY the ACP part of | ||
| 32 | + mini-me, with various SDKs. And a way to update the pro engine's project | ||
| 33 | + whenever mini-me is updated. Linked: the SDK tickets and the license one. | ||
| 34 | + | ||
| 35 | + ## What it would be | ||
| 36 | + - A headless engine: what `mm -acp` is today — the engine, the tools, | ||
| 37 | + the configuration, the ACP façade (`internal/acp`) — without the | ||
| 38 | + terminal front ends (line mode `internal/agent`, window `internal/tui`), | ||
| 39 | + the wizards (`mm init`, `mm sbxinit`, `mm dockerinit`, `mm skillcreate`) | ||
| 40 | + and what only they use (spinner, clipboard…). Exact list to establish | ||
| 41 | + from the imports (`go list -deps`). | ||
| 42 | + - Its SDKs: the clients over ACP already prototyped in mini-me — Node.js | ||
| 43 | + (167, 188 official TypeScript SDK), Go (168), Python (169), Rust (170), | ||
| 44 | + Swift (171), Kotlin (187), Nushell (172), Bash (222) — and the API | ||
| 45 | + ideas (71, 105, 139); how to distribute them (203). | ||
| 46 | + | ||
| 47 | + ## Constraints read in the code (2026-11-27) | ||
| 48 | + - `go.mod` says `module mm`: not a fetchable path, another module cannot | ||
| 49 | + `go get` it. | ||
| 50 | + - Every package is under `internal/` (45 of them): Go forbids another | ||
| 51 | + module to import them. A sister repository therefore CANNOT simply | ||
| 52 | + import mini-me as it is. | ||
| 53 | + | ||
| 54 | + ## Ways to keep the pro engine up to date with mini-me (to choose) | ||
| 55 | + 1. **Same code, a second binary.** mini-me gets a `cmd/…` main (or a | ||
| 56 | + build tag) that builds the ACP-only engine; the pro project holds the | ||
| 57 | + SDKs, the docs and the releases of that binary. Update = nothing to | ||
| 58 | + sync: each mini-me tag builds both. Simplest; the pro code is in | ||
| 59 | + mini-me's repository. | ||
| 60 | + 2. **Sister repository + mini-me as a git subtree (or submodule)** and a | ||
| 61 | + `replace mm => ./mini-me` in its go.mod; a sync script | ||
| 62 | + (`sync-from-mini-me.sh <tag>`) and a CI job on every mini-me tag that | ||
| 63 | + opens a pull request in the pro repository with the new subtree. | ||
| 64 | + The pro repo builds its own `main` against mini-me's internal packages | ||
| 65 | + (allowed: same module through the replace). | ||
| 66 | + 3. **Public packages.** mini-me moves what the engine needs from | ||
| 67 | + `internal/` to importable packages under a real module path | ||
| 68 | + (e.g. `rickub.com/bots-garden/mini-me`); the pro repo imports a tagged | ||
| 69 | + version, updates = a version bump (Renovate/Dependabot-style). Cleanest | ||
| 70 | + dependency, most work, and those packages become an API to keep stable. | ||
| 71 | + | ||
| 72 | + ## License (ticket 173) | ||
| 73 | + mini-me is to move to FSL-1.1-MIT, whose only restriction is a "Competing | ||
| 74 | + Use". The pro engine is the same author's, so the question is the pro | ||
| 75 | + project's OWN license (proprietary, FSL, or open source for the SDKs only) | ||
| 76 | + and, for option 1 or 2, that its code comes from mini-me's repository. | ||
| 77 | + | ||
| 78 | + ## Open questions (for the user) | ||
| 79 | + - Which way to stay up to date (1, 2 or 3)? | ||
| 80 | + - What "pro" adds over `mm -acp`, if anything (support, features, | ||
| 81 | + another license), or whether it is the same engine packaged apart. | ||
| 82 | + - Do the SDK prototypes move to the pro project, or stay in mini-me's | ||
| 83 | + demos and get copied? | ||
| 84 | + - Where the pro project lives (rickub.com, GitHub) and its name. | ||
| 85 | +tasks: | ||
| 86 | + - id: 1 | ||
| 87 | + title: "Decide with the user: the sync way (same repo / subtree / public packages), what 'pro' adds, the license, the name and home" | ||
| 88 | + state: open | ||
| 89 | + priority: high | ||
| 90 | + author: | ||
| 91 | + name: k33g | ||
| 92 | + email: ph.charriere@gmail.com | ||
| 93 | + createdAt: 2026-11-27T04:30:00.000Z | ||
| 94 | + updatedAt: 2026-11-27T04:30:00.000Z | ||
| 95 | + - id: 2 | ||
| 96 | + title: "List what the ACP-only engine needs (go list -deps from an ACP-only main) and what it drops" | ||
| 97 | + state: open | ||
| 98 | + priority: medium | ||
| 99 | + author: | ||
| 100 | + name: k33g | ||
| 101 | + email: ph.charriere@gmail.com | ||
| 102 | + createdAt: 2026-11-27T04:30:00.000Z | ||
| 103 | + updatedAt: 2026-11-27T04:30:00.000Z | ||
| 104 | + - id: 3 | ||
| 105 | + title: "Prototype the ACP-only engine build along the chosen way" | ||
| 106 | + state: open | ||
| 107 | + priority: medium | ||
| 108 | + author: | ||
| 109 | + name: k33g | ||
| 110 | + email: ph.charriere@gmail.com | ||
| 111 | + createdAt: 2026-11-27T04:30:00.000Z | ||
| 112 | + updatedAt: 2026-11-27T04:30:00.000Z | ||
| 113 | + - id: 4 | ||
| 114 | + title: "The update path: a mini-me tag updates the pro engine (script + CI job, or version bump), tested once end to end" | ||
| 115 | + state: open | ||
| 116 | + priority: medium | ||
| 117 | + author: | ||
| 118 | + name: k33g | ||
| 119 | + email: ph.charriere@gmail.com | ||
| 120 | + createdAt: 2026-11-27T04:30:00.000Z | ||
| 121 | + updatedAt: 2026-11-27T04:30:00.000Z | ||
| 122 | + - id: 5 | ||
| 123 | + title: "The SDKs in the pro project: which ones, where they live, how they are distributed (ticket 203)" | ||
| 124 | + state: open | ||
| 125 | + priority: low | ||
| 126 | + author: | ||
| 127 | + name: k33g | ||
| 128 | + email: ph.charriere@gmail.com | ||
| 129 | + createdAt: 2026-11-27T04:30:00.000Z | ||
| 130 | + updatedAt: 2026-11-27T04:30:00.000Z | ||
| 131 | +comments: [] | ||