Title: id: Phase 12 designs to run through the research workflow · Issue #534 · developing-today/code · GitHub
Open Graph Title: id: Phase 12 designs to run through the research workflow · Issue #534 · developing-today/code
X Title: id: Phase 12 designs to run through the research workflow · Issue #534 · developing-today/code
Description: What and why These Phase 12 tasks (.opencode/plans/phase-12-platform-flexibility.md) need a design, or for D1-026 a research package, before anyone implements them. Run each through the research workflow, commit the design, then open an ...
Open Graph Description: What and why These Phase 12 tasks (.opencode/plans/phase-12-platform-flexibility.md) need a design, or for D1-026 a research package, before anyone implements them. Run each through the research wo...
X Description: What and why These Phase 12 tasks (.opencode/plans/phase-12-platform-flexibility.md) need a design, or for D1-026 a research package, before anyone implements them. Run each through the research wo...
Opengraph URL: https://github.com/developing-today/code/issues/534
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id: Phase 12 designs to run through the research workflow","articleBody":"## What and why\n\nThese Phase 12 tasks (`.opencode/plans/phase-12-platform-flexibility.md`) need a design, or for D1-026 a research package, before anyone implements them. Run each through the research workflow, commit the design, then open an implementation issue and tick the box. F12.1 (manifest) and F12.4 (provider registry) are the plan's two highest-return tasks; F12.7 (ABI spec) is part of its recommended first slice.\n\n## Items\n\nEach box is done when the design (or research package) is committed and an implementation issue is linked here.\n\n- [x] **D1-019 — F12.1 Declarative world manifest (world.toml) with apply / --dry-run / diff** (L, design)\n A world.toml naming module (hash or source), seed, grants, ceilings, resource profile, roles/invites and schedules. `id world apply` reconciles a live world idempotently through existing admin operations, and `id world diff` detects drift. The plan calls it one of the two highest-return tasks.\n - Status: not started. No `world.toml` parser and no Apply/Diff command: `grep -rn 'world.toml' pkgs/id/src` finds nothing; `WorldCommand` (cli.rs:1388) lacks Apply/Diff.\n - Source: .opencode/plans/phase-12-platform-flexibility.md:31; .opencode/plans/phase-12-platform-flexibility.md:21; .opencode/plans/phase-12-platform-flexibility.md:80\n - Prerequisites: #543 — D1-011 F11.11 One client projection (seed secret, chat by scope) + enforcement test, #227 — D1-012 F11.12 Journal format version header, check and backup commands\n- [x] **D1-022 — F12.4 Capability provider registry (manifested components)** (L, design)\n Providers become components with a manifest (name, version, argument schema, bounds, required scope, default ceiling), read by the ledger, compile gate and CLI, so adding a capability needs no edit to world.rs. One of the two highest-return tasks.\n - Status: not started. pkgs/id/src/world_caps.rs:55 `pub const CATALOG: &[&str]` is a hard-coded list, and execution is a string `match` in pkgs/id/src/world.rs:2526-2547. No registry type (`grep -rn 'ProviderRegistry\\|provider_registry' pkgs/id/src` finds nothing).\n - Source: .opencode/plans/phase-12-platform-flexibility.md:37; .opencode/plans/phase-12-platform-flexibility.md:16; .opencode/plans/phase-12-platform-flexibility.md:80\n - Prerequisites: #540 — D1-010 F11.10 Split world.rs, world_session.rs, cli.rs (moves only), #554 — D1-013 F11.13 Error taxonomy: stable codes plus reasons on the wire\n- [x] **D1-025 — F12.7 Versioned guest ABI spec, plaza_abi_version export, conformance suite** (L, design)\n Write the `plaza_*` exports and capability protocol down as a versioned spec, add a `plaza_abi_version` export, and publish a conformance suite built on F11.16 fixtures and the #239 recordings. Part of the recommended first slice.\n - Status: not started. The ABI is described only in module docs (pkgs/id/src/sandbox.rs:6-8 lists plaza_out_len, plaza_alloc, memory). `grep -rn plaza_abi_version pkgs/id` finds nothing, and there is no spec document or conformance test directory.\n - Source: .opencode/plans/phase-12-platform-flexibility.md:43; .opencode/plans/phase-12-platform-flexibility.md:84\n - Prerequisites: #544 — D1-016 F11.16 Replay self-check (`id world verify`)\n- [x] **D1-021 — F12.3 Roles v2: journaled builder and moderator scopes with audit** (M, design)\n Journaled grants for builder (install modules) and moderator (revoke participants) as scope bits, with an audit record for each use; builder never gets network/file/process authority.\n - Status: not started. WorldScopes checks only CHAT/HISTORY/JOIN-style bits (pkgs/id/src/world.rs:201-204); `grep -rn 'BUILDER\\|MODERATOR' pkgs/id/src` finds nothing.\n - Source: .opencode/plans/phase-12-platform-flexibility.md:33; doc/2026-10-17T08-00-00Z_feature_world_roles_directory/\n - Prerequisites: D1-019 F12.1 Declarative world manifest (world.toml) with apply / --dry-run / diff (in this list)\n- [x] **D1-024 — F12.6 Structured audit log with OpenTelemetry export** (L, design)\n A structured audit log of admin actions and provider use, exported via OpenTelemetry, building on F11.7; a test replays the log to the final grants.\n - Status: not started. `grep -rn 'opentelemetry\\|OpenTelemetry\\|audit' pkgs/id/src/world*.rs` finds nothing. Prerequisite F11.7 has not started (D1-007).\n - Source: .opencode/plans/phase-12-platform-flexibility.md:39\n - Prerequisites: #553 — D1-007 F11.7 Host metrics, Prometheus endpoint and tracing spans\n- [x] **D1-023 — F12.5 First new providers: kv, blob, http.fetch, notify** (XL, design)\n A bounded durable per-world KV store, content-addressed blobs over iroh-blobs, allowlisted http.fetch (off by default, no off-list redirects), and rate-limited notify. Each needs a ceiling, an audit entry, and bound, refusal and replay tests.\n - Status: not started. None of kv/blob/http.fetch/notify appears in CATALOG (pkgs/id/src/world_caps.rs:55-73) or in the dispatch match (world.rs:2526-2547).\n - Source: .opencode/plans/phase-12-platform-flexibility.md:38; .opencode/plans/phase-12-platform-flexibility.md:85\n - Prerequisites: D1-022 F12.4 Capability provider registry (manifested components) (in this list), D1-024 F12.6 Structured audit log with OpenTelemetry export (in this list)\n- [x] **D1-026 — F12.8 Rust and TypeScript/Zig guest SDKs; WIT/component-model decision** (XL, research package)\n SDKs for Rust (wasm32-unknown-unknown) and AssemblyScript or Zig with screen/json/grid/cap helpers equal to the Roc libraries, each with an example world and a passing conformance run. Record a decision on the Wasm component model / WIT.\n - Status: not started. No sdk directory (`ls pkgs/id/sdk pkgs/id/sdks`: no such directory); all eight examples are Roc (pkgs/id/examples/{lounge,roc-chat,roc-counter,roc-grid,roc-screen,roc-world,territory,tic-tac-toe}).\n - Source: .opencode/plans/phase-12-platform-flexibility.md:44; .opencode/plans/phase-12-platform-flexibility.md:17\n - Prerequisites: D1-025 F12.7 Versioned guest ABI spec, plaza_abi_version export, conformance suite (in this list)\n- [x] **D1-027 — F12.9 Program upgrade with state migration and rollback** (L, design)\n Versioned snapshots and an optional `migrate` export; an upgrade runs on a probe instance, commits only if migrated state round-trips, otherwise rolls back.\n - Status: not started. Install swaps the program and resets state handling (pkgs/id/src/world.rs:3168-3180); `grep -rn '\"migrate\"\\|fn migrate' pkgs/id/src/world*.rs pkgs/id/src/sandbox.rs` finds nothing.\n - Source: .opencode/plans/phase-12-platform-flexibility.md:45\n - Prerequisites: D1-025 F12.7 Versioned guest ABI spec, plaza_abi_version export, conformance suite (in this list)\n- [x] **D1-028 — F12.10 Fair cross-world scheduling, per-account quotas, slow-client back-pressure** (L, design)\n A hub scheduler that shares fuel/CPU fairly across worlds, with per-account quotas (worlds, storage, fuel/s) and back-pressure; exit: a spinning world cannot raise another's p99 by more than 10%.\n - Status: not started. pkgs/id/src/world_hub.rs bounds only sessions and open worlds (:12); `grep -n 'quota\\|fair\\|fuel_per_sec' pkgs/id/src/world_hub.rs pkgs/id/src/sandbox.rs` finds nothing. F11.7/F11.8 prerequisites are not started.\n - Source: .opencode/plans/phase-12-platform-flexibility.md:49\n - Prerequisites: #553 — D1-007 F11.7 Host metrics, Prometheus endpoint and tracing spans, #539 — D1-008 F11.8 Benchmark harness with committed baselines\n- [x] **D1-032 — F12.14 Portals: cross-world messaging granted by both admins** (L, design)\n A capability both worlds' admins grant, with bounded rate and size and an audit entry on each side.\n - Status: not started. Only host-level cross-world write toggles exist (`CrossWorldWrite`/`ForceCrossWorldWrite` in the WorldCommand enum, cli.rs:1388); there is no guest-visible portal capability in CATALOG (world_caps.rs:55-73).\n - Source: .opencode/plans/phase-12-platform-flexibility.md:56; doc/2026-10-10T04-59-57Z_feature_cross_world_access/\n - Prerequisites: D1-022 F12.4 Capability provider registry (manifested components) (in this list), D1-024 F12.6 Structured audit log with OpenTelemetry export (in this list)\n- [x] **D1-035 — F12.17 Module signature trust list and compiler-version provenance** (M, design)\n Verify module signatures against an admin trust list, add the compiler version to observed provenance, journal the trust decision; an unsigned module is refused when the list is non-empty.\n - Status: not started. Observed provenance exists (`ModuleProvenance` fields at pkgs/id/src/world.rs:299, :527, :586), but world.rs:310 states it is \"not a signature or a trust attestation\"; there is no trust list. The plan cites PR #225, which is CLOSED; provenance reached main another way.\n - Source: .opencode/plans/phase-12-platform-flexibility.md:65; doc/2026-10-16T09-00-00Z_feature_world_module_provenance/; doc/2026-10-16T09-30-00Z_feature_world_module_provenance/\n - Prerequisites: #541 — D1-018 F11.18 Pinned Roc compiler for checked-in example modules + CI rebuild job\n\n## Source\n\n- [`.opencode/plans/phase-12-platform-flexibility.md:16`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L16)\n- [`.opencode/plans/phase-12-platform-flexibility.md:17`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L17)\n- [`.opencode/plans/phase-12-platform-flexibility.md:21`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L21)\n- [`.opencode/plans/phase-12-platform-flexibility.md:31`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L31)\n- [`.opencode/plans/phase-12-platform-flexibility.md:33`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L33)\n- [`.opencode/plans/phase-12-platform-flexibility.md:37`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L37)\n- [`.opencode/plans/phase-12-platform-flexibility.md:38`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L38)\n- [`.opencode/plans/phase-12-platform-flexibility.md:39`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L39)\n- [`.opencode/plans/phase-12-platform-flexibility.md:43`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L43)\n- [`.opencode/plans/phase-12-platform-flexibility.md:44`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L44)\n- [`.opencode/plans/phase-12-platform-flexibility.md:45`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L45)\n- [`.opencode/plans/phase-12-platform-flexibility.md:49`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L49)\n- [`.opencode/plans/phase-12-platform-flexibility.md:56`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L56)\n- [`.opencode/plans/phase-12-platform-flexibility.md:65`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L65)\n- [`.opencode/plans/phase-12-platform-flexibility.md:80`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L80)\n- [`.opencode/plans/phase-12-platform-flexibility.md:84`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L84)\n- [`.opencode/plans/phase-12-platform-flexibility.md:85`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L85)\n- [`doc/2026-10-10T04-59-57Z_feature_cross_world_access/`](https://github.com/developing-today/code/tree/main/doc/2026-10-10T04-59-57Z_feature_cross_world_access/)\n- [`doc/2026-10-16T09-00-00Z_feature_world_module_provenance/`](https://github.com/developing-today/code/tree/main/doc/2026-10-16T09-00-00Z_feature_world_module_provenance/)\n- [`doc/2026-10-16T09-30-00Z_feature_world_module_provenance/`](https://github.com/developing-today/code/tree/main/doc/2026-10-16T09-30-00Z_feature_world_module_provenance/)\n- [`doc/2026-10-17T08-00-00Z_feature_world_roles_directory/`](https://github.com/developing-today/code/tree/main/doc/2026-10-17T08-00-00Z_feature_world_roles_directory/)\n\n## Size\n\nXL overall (items M to XL)\n\n## Prerequisites\n\nListed per item above.\n\n\u003c!-- discovery:D1-019 discovery:D1-022 discovery:D1-025 discovery:D1-021 discovery:D1-024 discovery:D1-023 discovery:D1-026 discovery:D1-027 discovery:D1-028 discovery:D1-032 discovery:D1-035 -->\n\n## Acceptance criteria\n\n- [ ] Every item listed above has its design (or research package, where marked) committed to the repo\n- [ ] Every item has a linked implementation issue, and its checkbox above is ticked only once both are true\n- [ ] No item is closed out on the basis of a plan or report reference alone — the committed artifact is the evidence\n\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T06:07:34Z","url":"https://github.com/developing-today/code/issues/534"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:620d30f2-5e8b-c290-8e13-5195449f7273 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECDC:A8BC8:8FD140:BF7EC4:6B063526 |
| html-safe-nonce | aa80003cfbf9110ecef9356b6a3b78c50d745fef879803bb96fec8465fac78c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0RDOkE4QkM4OjhGRDE0MDpCRjdFQzQ6NkIwNjM1MjYiLCJ2aXNpdG9yX2lkIjoiNzEzNTg0NDAxMjM4ODY2MDUxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a9d59032346c8bc7160ec4563c7759eacf04c9631080e9ca99e2e9bf57301dfb |
| hovercard-subject-tag | issue:5974043522 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/534/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f779491c5383158e8840373ab32fcf599fc309e2668987185cf94a217bdf559c/developing-today/code/issues/534 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f779491c5383158e8840373ab32fcf599fc309e2668987185cf94a217bdf559c/developing-today/code/issues/534 |
| og:image:alt | What and why These Phase 12 tasks (.opencode/plans/phase-12-platform-flexibility.md) need a design, or for D1-026 a research package, before anyone implements them. Run each through the research wo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width