org: run the manager and the assistant on Muse Wonder (KSE-0197) #472
Closed
founder
wants to merge 1 commit from
orchestrator/wonder-manager-assistant into main
pull from: orchestrator/wonder-manager-assistant
merge into: key-store:main
key-store:main
key-store:founder-ssh-agent
key-store:runner-drain-window
key-store:office-survival-world
key-store:office-agent-presence
key-store:resident-natural-turn-end
key-store:resident-prompt-cache
key-store:continuous-deployment
key-store:funnel-smoke-fix
key-store:event-funnel-on
key-store:conductor-stage-b
key-store:ios/230-vault-secureenclave-key-lifecycle
key-store:kse-0187-embedded-agent-core
key-store:resident-pm-stage-b
key-store:prompts-review-speed
key-store:merge-queue-protection-read
key-store:merge-queue-enforce
key-store:merge-queue-status
key-store:resident-pm-identity
key-store:forgejo-17
key-store:pi-native-compaction-fleet
key-store:review-tiers-merge-queue
key-store:dispatcher-restart-after-reload
key-store:resident-owned-work-cleanup
key-store:devex/102-deploy-impact-ci-followup
key-store:devex/122-canary-profile-detail
key-store:pi-native-compaction
key-store:resident-idle-wakes
key-store:forge-pi-sqlite-all-residents
key-store:orchestrator/pi-sqlite-manager-infra
key-store:android/vault-record-store-slice-3
key-store:orchestrator/pi-sqlite-canary-cdo
key-store:infra/191-canary-failing-profile
key-store:orchestrator/pi-durable-efficiency
key-store:devex/107-sqlite3mc-macos-toolchain
key-store:infra/postgres-no-trust-followup
key-store:infra/postgres-no-trust-2
key-store:infra/postgres-no-trust
key-store:orchestrator/dispatcher-fixes
key-store:orchestrator/unit-stability
key-store:orchestrator/resident-window-131k
key-store:orchestrator/hub-tool-fixes
key-store:infra/postgres-socket-group
key-store:forge-fix8/assistant-sms
key-store:forge-fix7/pi-seal
key-store:forge-fix6/catalog-race
key-store:forge-fix5/budget-alert
key-store:forge-fix5/budget
key-store:forge-fix4/windows-native
key-store:linux/agent-vault-entry-store
key-store:forge-fix3/winget-retry
key-store:forge-fix3/play-sync-python
key-store:forge-fix3/followups-r1
key-store:forge-fix/integrated-20261108
key-store:forge-fix3/followups
key-store:ios/119-apple-pr-lane-vault-tests
key-store:ios/109-staged-copy-helper-writable
key-store:devex/107-windows-swiftc-path
key-store:agent/canonical-reader-all-roles-r5
key-store:agent/resident-tool-recovery
key-store:agent/resident-long-journal-recovery
key-store:agent/redmine-secret-permissions
key-store:agent/macos-snapshot-diagnostics
key-store:agent/host-journal-restoration
key-store:agent/claude-process-drain
key-store:codex/winui-shared-include-fix
key-store:web/vault-persist-fifo
key-store:agent/api-image-root-retention
key-store:agent/ci-delivery-maintenance
key-store:agent/branch-ci-pagination
key-store:agent/ci-web-image-retention
key-store:agent/canonical-terminal-inspection-20261018
key-store:agent/claude-resume-ci-fixture-20261018
key-store:agent/canonical-task-executions-20261018
key-store:agent/web-vault-ci-recovery-20261018
key-store:android/vault-biometric-slice-2
key-store:agent/macos-command-path-20261017
key-store:agent/default-branch-ci-delivery-20261017
key-store:agent/macos-canary-api-20261017
key-store:agent/ci-failure-ownership-20261017
key-store:agent/redmine-conditional-writes-20261017
key-store:agent/resident-source-continuation-20261017
key-store:agent/resident-canonical-work-web-20261017
key-store:agent/resident-configuration-mechanics-20261017
key-store:codex/resident-ci-resume
key-store:codex/resident-source-reader
key-store:codex/resident-program-ownership
key-store:codex/goalert-hq-bootstrap-phase1
key-store:codex/owned-work-review-bindings
key-store:codex/resident-standing-programs
key-store:codex/apple-validation-coverage
key-store:codex/resident-lint-toolchain
key-store:codex/review-reconcile-pages
key-store:codex/forgejo-comment-pages
key-store:codex/pi-live-intake-recovery
key-store:codex/pi-runnable-work-order
key-store:codex/winui-ucrt-sdk-fallback
key-store:codex/hello-deny-reason-assertion
key-store:codex/pi-idle-intake-recovery
key-store:codex/pi-deployment-runtime-check
key-store:devex/107-wake-error-envelope
key-store:codex/pi-review-owner-routing
key-store:infra/106-flatpak-compose-svg-loader
key-store:infra/106-flatpak-canary-seed-repair
key-store:codex/pi-owned-work-tools
key-store:devex/107-per-input-disposition
key-store:ios/vault-mvp-slice-2-session
key-store:codex/resident-owned-work-continuation
key-store:manager/kse-0213-amendment-a
key-store:ios/vault-mvp-slice-1-entry-crypto
key-store:codex/windows-msvc-crt-probe
key-store:codex/windows-msvc-env-fix
key-store:devex/107-sqlite-guard-determinism
key-store:codex/infra-alert-stable-uids-20261015
key-store:codex/infra-alert-query-types-20261015
key-store:codex/infra-alert-thresholds-20261015
key-store:codex/infra-alert-domains-20261015
key-store:codex/infra-alerting-audit-20261014
key-store:codex/resident-pi-promotion-20261014
key-store:codex/office-floodgate-session
key-store:cdo/kse-0045-windows-matrix-followup
key-store:codex/windows-msix-smoke
key-store:codex/windows-vault-unlock
key-store:windows/kse-0045-typography-decision
key-store:codex/resident-pi-fleet
key-store:infra/office-groups-phase1-53
key-store:infra/blackbox-relay-422-68
key-store:windows/vault-mvp-msix-smoke
key-store:linux/flatpak-metadata-validation
key-store:codex/resident-pi-adapter
key-store:devex/runner-namespace-smoke-reliability
key-store:codex/resident-pi-runtime
key-store:codex/resident-completion-bound
key-store:infra/grafana-for-key-1
key-store:codex/resident-transport-recovery
key-store:infra/374-hwks-lane-decision-memo
key-store:windows/vault-mvp-hello
key-store:windows/vault-mvp-lock
key-store:ios/125-files-read-write-race
key-store:security/security-txt-rfc9116
key-store:manager/campus-build
key-store:web/mail-shell-csp
key-store:windows/vault-mvp-seam
key-store:web/office-arrival-ttl
key-store:cmo-homepage-collect-minimum
key-store:cmo-support-and-not-found-pages
key-store:web/finding-a-csp-posture
key-store:infra/1-grafana-rule-types
key-store:infra/129-mcp-loopback-hint-failure-log
key-store:devex/check-tofu-pr-lane
key-store:codex/resident-review-evidence
key-store:codex/resident-payload-freeze
key-store:codex/resident-steer-wake-recovery
key-store:android/vault-keystore-slice-1
key-store:codex/resident-restart-intake
key-store:codex/resident-planning-readback
key-store:codex/resident-cargo-cache-stability
key-store:codex/resident-fast-forward-evidence
key-store:devex/mcp-hub-ci-lane
key-store:codex/goalert-host-bootstrap-guards
key-store:codex/goalert-bootstrap-provisioning
key-store:web/ci-bun-test-gate
key-store:codex/resident-deploy-build-root
key-store:codex/resident-dispatcher-review-source
key-store:codex/resident-smoke-auth
key-store:codex/resident-context-budget
key-store:codex/resident-mail-attachment-origins
key-store:codex/resident-review-wakes
key-store:codex/resident-vision-acceptance
key-store:codex/resident-incident-bootstrap
key-store:codex/resident-incident-readiness
key-store:codex/resident-incident-runtime
key-store:codex/resident-incident-capability
key-store:codex/resident-capability-completion
key-store:codex/resident-review-ownership
key-store:codex/resident-delivery-repair
key-store:codex/office-concise-copy
key-store:codex/office-link-no-timeout
key-store:codex/office-public-java
key-store:codex/office-registry-credential
key-store:codex/office-deploy-static-assets
key-store:codex/office-native-conversations
key-store:codex/ci-snapshot-consumer-evidence
key-store:codex/flatpak-native-image-tools
key-store:codex/macos-snapshot-log-canary
key-store:codex/apple-pr-safari-ci
key-store:codex/flatpak-builder-transport
key-store:codex/linux-snap-packaging
key-store:codex/namespace-ci-performance
key-store:cdo/office-launcher-arrival-states
key-store:codex/dispatcher-event-coverage
key-store:cdo/kse0045-linux-matrix
key-store:linux/kse-0045-typography
key-store:codex/55-pin-dispatch-main
key-store:codex/55-paired-test
key-store:infra/55-paused-at-create-hub
key-store:ios/apple-pr-inputs-skip
key-store:infra/101-trusted-pr-wif-hardening
key-store:windows-campus-build
key-store:ios/swiftlint-gate-repair
key-store:devex/dispatch-pin-40ba601
key-store:infra/lately-discovery-mail-host
key-store:infra/kse-0199-envelope-attestation
key-store:infra/goalert-envelope-44
key-store:codex/zulip-dispatch-pin
key-store:codex/zulip-restart-recovery
key-store:codex/zulip-bounded-reads
key-store:codex/durable-webhook-fastlane
key-store:codex/quiet-realtime-health
key-store:codex/realtime-resident-rollout
key-store:codex/zulip-ios-push
key-store:codex/founder-activity-rollups
key-store:codex/resident-chat-responsiveness
key-store:codex/common-hub-rollout
key-store:infra/office-sight-52
key-store:codex/subscriptions-hub-rollout
key-store:manager/role-prompt-corrections
key-store:codex/hub-everything
key-store:devex/kse-0199-steer-subscriptions
key-store:assistant/kse-check-next
key-store:infra/hq-codex-login-remain-clean
key-store:infra/hq-codex-login-remain
key-store:codex/assistant-wakeups
key-store:infra/goalert-oncall
key-store:cmo-campus-build
key-store:android-campus-build
key-store:codex/resident-task-lifecycle
key-store:linux/campus-build
key-store:billing-campus-build
key-store:codex/assistant-founder-routing
key-store:billing/vendor-register
key-store:cdo/kse-0045-reality-check
key-store:devex/check-workflows-lane
key-store:cdo/campus-build-home
key-store:codex/assistant-communications
key-store:codex/office-renderer-and-build-feedback
key-store:infra/campus-home
key-store:ios/campus-home
key-store:devex/campus-build
key-store:campus-security-agent-20260913
key-store:codex/minecraft-campus-and-guest-entry
key-store:codex/resident-credential-acceptance
key-store:ios/apple-swiftlint-strict-gate
key-store:codex/resident-execution-acceptance
key-store:codex/zulip12-startup
key-store:codex/free-resident-inference
key-store:lately-files/fix-dead10cc
key-store:fix/agent-image-after-prune
key-store:lately-files/fix-nse-macos-entitlements
key-store:lately-files/fix-sign-digest
key-store:lately-files/phase23-landing
key-store:lately-files/fix-remove-account
key-store:deploy/forge-producer-fix-20260908
key-store:claude/chain-health-alerts
key-store:api-funding-secrets
key-store:lately-files/a0-1
key-store:lately-files/ci-fix
key-store:lately-files/phase1
key-store:zcash-fund-page
key-store:codex/inbox-native-oidc
key-store:codex/inbox-rollout-verification
key-store:codex/inbox-authentik-permissions
key-store:forge-chain-nodes-doc
key-store:forge-park-ethereum
key-store:zcash-funding
key-store:zcash-broadcast-rewrite
key-store:zcash-overlay
key-store:claude/kse-0191-play-freshness
key-store:phase-f/wasm-core
key-store:phase-e/ios
key-store:phase2/d-overlay
key-store:phase2/c-adapters
key-store:phase2/g-runtime
key-store:phase2/ext-ts
key-store:phase1/transport
key-store:phase1/persist
key-store:phase1/peer-policy
key-store:phase0/lint
key-store:claude/kse-0191-play-reports-wif
key-store:claude/kse-0191-clickhouse-readonly
key-store:phase0/integrated
key-store:phase0/cg-core
key-store:claude/kse-0191-caddy-ingest-reload
key-store:phase0/a-core
key-store:phase0/33-keying
key-store:claude/kse-0191-hq-openbao-policy
key-store:agent-spine/phase0-base
key-store:claude/kse-0191-fmt-and-deploy-api-policy
key-store:claude/total-observability-v2
key-store:lately-calendar-and-mobile
key-store:claude/w6-android-02-optional
key-store:claude/jolly-mendel-809f3f
key-store:sqlite3mc/ci-and-docs
key-store:sqlite3mc/keystore-persistence
key-store:push/integration
key-store:auth/shared-credentials
key-store:claude/rbe-executor-image-pin
key-store:claude/caches-d3-d4
key-store:claude/bazel-scope-d7
key-store:claude/forgejo-nsc-pin-92cd5bb0
key-store:claude/nix-drop-pin-oidc-bridge-off
key-store:stalwart-016
key-store:claude/nix-cache-harmonia
key-store:claude/namespace-oidc-trust
key-store:claude/namespace-runners-rightsize
key-store:publish-assets-distributables
key-store:publish-skip-ostree-repos
key-store:lately-sparkle-publish
key-store:lately-sparkle-embed
key-store:release/apple-20260816
key-store:winrunner-launcher-arg
key-store:winrunner-auto-dispatch
key-store:sparkle-appcast-xcode27
key-store:claude/flatpak-garage-remote
key-store:sparkle-region-and-key
key-store:claude/flatpak-share-nix
key-store:claude/flatpak-slim-shell
key-store:claude/flatpak-experimental-ungate
key-store:claude/epic-hellman-ad90c4
key-store:claude/kse-0186
key-store:claude/release-cancel-storm
key-store:lately-macos-default-on
key-store:claude/cranky-wu-a15bdd
key-store:ios-joint-build-lately
key-store:lately-ios-min-os-18
key-store:publish-lately-dmg-optional
key-store:windows-native-gate
key-store:claude/android-bridge-unwrapped-swift-driver
key-store:claude/routing-smoke-seed-stalwart
key-store:dmg-no-hide-extensions
key-store:lately-notification-arm64
key-store:lately-macos-preflight-fixes
key-store:lately-macro-plugin-linux
key-store:dispatch-vendor-hash
key-store:dispatch-mail-intake-deadlock
key-store:asc-profile-regenerate
key-store:lately-macos-target
key-store:lately-macos-gate
key-store:hq-codex-apikey-and-models
key-store:apple-release-build-fixes
key-store:hq-watchdog-no-steer
key-store:lately-web-core
key-store:swiftlint-zero
key-store:authentik-smoke-gawk
key-store:swiftlint-mechanical-fixes
key-store:swiftlint-exclude-vendored
key-store:codex-models-5-6
key-store:office-backups-bridge-and-codex-apikey
key-store:fix-inbox-smoke-jmap-host-and-gawk
key-store:mail-forwardemail-dns-and-sender
key-store:codex/release-loop-fix
key-store:codex/tofu-garage-endpoint
key-store:codex/tofu-state-to-garage
key-store:codex/garage-backup-integrity
key-store:codex/posthog-cloud-aligned
key-store:codex/posthog-latest-selfhosted
key-store:codex/disable-filc-default
key-store:codex/fix-otel-servicegraph-connector
key-store:codex/forge-deploy-oom-fix
key-store:codex/observability-phase-a
key-store:codex/fix-loki-garage-and-rclone
key-store:codex/session-forge-fixes-jmap-srv
key-store:codex/jmap-calendar-contacts-e2e
key-store:codex/jmap-calendar-contacts
key-store:codex/proxmox-openbao
key-store:codex/flatpak-testing-repo
key-store:codex/openbao-on-flatpak
key-store:codex/openbao-runtime-migration
key-store:codex/enable-jitsi
key-store:codex/password-manager-providers
key-store:codex/filnix-protected-utilities
key-store:codex/macos-agent-xpc
key-store:codex/piv-unlock-factor
key-store:codex/hardware-encrypt-decrypt
key-store:codex/windows-linux-hw-mtls
key-store:codex/kaios-client
key-store:codex/linux-ble-fido-passkey
key-store:codex/stripe-scim-saml-rdp-hardening
key-store:codex/azure-release-key-import
key-store:codex/lately-swiftui-previews
key-store:codex/zulip-access-fix
key-store:codex/identity-supervisor-live-fix
key-store:codex/linux-qr-bluetooth-account-access
key-store:codex/linux-security-key-sheet
key-store:codex/linux-fido2-account-creation
key-store:codex/linux-vault-unlock-factors
key-store:codex/ubuntu-touch-24-yubikey
key-store:codex/mail-stack
key-store:codex/testflight-build20-metadata
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
5 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
key-store/key.store!472
Loading…
Reference in a new issue
No description provided.
Delete branch "orchestrator/wonder-manager-assistant"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Put the manager (
roles.coo) and the HQ assistant (roles.assistant) onmeta/muse-wonderwith a 131,072-token window. The other eleven residents stay onpi-muse.org/organization.toml: new tier[agent_runtime.tiers.pi-wonder]— runtimepi, modelmeta/muse-wonder,reasoning_effort = "medium",context_window = 131072,max_tokens = 8192,provider_order = [ "meta" ].[roles.coo.agent]and[roles.assistant.agent]use it.nixos/hosts/keystore-forge/common.nix,nixos/keystore-hq.nix: the routerspendingPolicyis a model allowlist with price ceilings (max_price,allow_fallbacks = false); a model that is not in it is refused. Added"meta/muse-wonder" = { prompt = 4.0; completion = 20.0; }on both hosts.data_collectionstays at the defaultdeny, because Muse Wonder is not a contributor route and the data-sharing approval was for the contributor models. The contributor entry stays on HQ for rollback.services/agent-dispatcher-overlay/pi_runtime_test.go: allows exactly{"coo", "assistant"} -> "meta/muse-wonder"; every other resident must still match the contributor baseline. Additions only, 14 lines.Scripts/agents/launch-resident-wave.py,Scripts/agents/prompt-catalog-test.py: the wave launcher refused any model other than the contributor one; it now accepts the same two-role exception.docs/agents/resident-runtimes.md,prompts/README.md: describe the tier.evolution/proposals/KSE-0197-…md: amendment "Muse Wonder for the manager and the assistant (2026-11-10)".Why
Founder approval, in chat on 2026-11-10: "put wonder on both assistant and manager and keep context at 131". Context from the same conversation: "I am less cost sensitive tbh" and "I can put more cash in".
Verified against OpenRouter (2026-11-10)
meta/muse-wonder: one endpoint, provider tagmeta(soprovider_order = [ "meta" ]is right); context 1,048,576; max completion 943,718 (8,192 is well inside it); $4.00/M input, $20.00/M output, $0.20/M cached input read; implicit caching supported; supported parameters includereasoning,reasoning_effort,max_tokens,tools,tool_choice.GET /api/v1/models/user, read-only, key never printed) includesmeta/muse-wonder.GET /api/v1/key: limit $1,000/month, $931.31 remaining,include_byok_in_limit = true, $68.69 BYOK usage and $0 OpenRouter usage this month.GET /api/v1/credits: $5 total credits.Spend
Contributor model: $0.10/M in, $0.20/M out, $0.002/M cached. Muse Wonder is 40x on input and 100x on output and cached input.
Forge Prometheus, last 24 h (to about 2026-11-10 02:10Z): manager 80,866,348 input tokens (42,988,741 cached) and 557,639 output; assistant 34,717,270 input (14,404,977 cached) and 1,045,669 output. They cost $3.99 and $2.27 a day today.
Assumptions: same token volume and call pattern as the last 24 h (the assistant was still at 65,536 in that window); a different model will not use the same turns or tokens; no BYOK or platform fee.
The shared key limit is the hard stop: at the limit OpenRouter returns 402, there is no fallback, and all thirteen residents stop. $931 remaining lasts about two to three and a half days at this estimate.
Not verified
meta/muse-wondergoes through the account's Meta BYOK key or is billed to OpenRouter credits is unknown. If credits, the $5 balance is gone in minutes. The accounting handles both (resident_usage.py:usage.costwhenis_byokis false,usage.cost + cost_details.upstream_inference_costwhen true).data_collection = "deny"on the Meta endpoint. If the endpoint does not accept it, OpenRouter returns no endpoint and both residents stop until rollback.keystore-forgeorkeystore-hq; only thespendingPolicyoption was evaluated for both.Activation effects
ensureIdentityThread→replaceIdentityThread, reasonruntime-change). Both residents start a new thread; their current Pi thread is not resumed.Left alone
default_tier/default_model(stillopenrouter-meta/ contributor), theopenrouter-metarollback baseline, the Grafana budget alerts ininfra/grafana/alerts.tf(they read the live key limit, not a model),services/resident-pi/engine.test.mjs(uses the contributor id as a fixture string),Scripts/agents/export-pi-rollback.py(takes the model from the session header), and the "$50 monthly limit" comment at the top ofnixos/keystore-forge.nix(already stale before this PR).Tests run (Forge, x86_64-linux, nice -n 10, nix.key.store substituter)
check-agent-dispatcher.ymlstep reproduced (Scripts/ci-nix.sh develop .#dispatcher-ci→services/agent-dispatcher-overlay/ci-test.sh):Executed 11 out of 11 tests: 11 tests pass, includingdispatcher_integration_testandresident_prompt_catalog_test.nix build .#agent-dispatcher -L: check phaseokforinternal/agentdispatcher,internal/harness,internal/openaichat.nix evalofagentDispatcher.router.spendingPolicyforkeystore-forgeandkeystore-hq: both contain"meta/muse-wonder": {"prompt": 4.0, "completion": 20.0, "data_collection": "deny"}.python3 Scripts/agents/launch-resident-wave.py --wave muse-testpreview: manager and assistant onmeta/muse-wonder, the other eleven on the contributor model.Pre-merge verification
Before the switch, someone with the key should also confirm the limit was raised and how Muse Wonder is billed (BYOK or credits).
Post-switch verification
Forge (manager), after the Forge switch:
Expect
requested_modelandmodelto bemeta/muse-wonder, providerMeta, and a non-zerocost(non-BYOK) orupstream(BYOK); the billable-cost query must show a non-zerometa/muse-wonderrow and the missing-accounting query nobillable_costincrease. A 402 means the key limit or credits; a 404 "no endpoints" means thedenydata policy is not accepted.HQ (assistant), after the HQ switch — the same commands on HQ with
role=assistant identity=assistantand.identity=="assistant":Then on the Forge:
sum by (model) (increase(key_store_resident_billable_cost_usd_total{identity="assistant"}[30m]))shows a non-zerometa/muse-wonderrow.Rollback
Point
[roles.coo.agent]and[roles.assistant.agent]back atpi-muse(or revert the top commit) and switch the affected host. The tier and policy entries can stay. Rolling back replaces the identity thread again.🤖 Generated with Claude Code
The founder approved on 2026-11-10 ("Let's up it") extending the manager's 131,072-token operating window to every Pi Durable Muse resident. - org/organization.toml: [agent_runtime.tiers.pi-muse] context_window 65536 -> 131072; the now-redundant [roles.coo.agent] override is removed. max_tokens, model, provider pin and every other tier are unchanged; openrouter-meta stays at 65,536 as the legacy rollback baseline. - pi_runtime_test.go: all thirteen residents, including the HQ assistant, must be exactly 131,072; no per-role window exception remains. - docs/agents/resident-runtimes.md: describe the new tier window. - KSE-0197: dated amendment with the approval, rationale, 24 h baseline, acceptance check and rollback rule. Why: the limit is self-imposed (the model accepts 1,048,576 tokens at $0.10/M in, $0.20/M out). At 65,536 the fixed prompt and tool catalog take about 42k, compaction is 27% of all model calls and residents compact every one to three tool calls. HQ reads the same org file, so the assistant changes when HQ is switched. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>The founder approved on 2026-11-10: "put wonder on both assistant and manager and keep context at 131". - org/organization.toml: new tier pi-wonder (pi, meta/muse-wonder, medium reasoning, 131,072 window, 8,192 output, provider order meta); roles.coo.agent and roles.assistant.agent use it. The other eleven residents stay on pi-muse. - nixos (forge common.nix, keystore-hq.nix): the router spending policy is a model allowlist, so add meta/muse-wonder with a $4/$20 per-million ceiling and the default data_collection = deny (not a contributor route). - pi_runtime_test.go, launch-resident-wave.py, prompt-catalog-test.py: allow exactly {coo, assistant} -> meta/muse-wonder. - docs/agents/resident-runtimes.md, prompts/README.md: describe the tier. - KSE-0197: dated amendment with the approval, verified endpoint data, price difference, spend estimate, the key-limit hard stop and what is unverified. Muse Wonder costs $4.00/M input and $20.00/M output against $0.10/$0.20. The last 24 h of manager and assistant tokens at the new prices come to about $276/day with the same cached share, $494/day with no cache discount, against $6.25/day today. The shared key limit ($1,000/month, $931 left) must be raised before either host is switched. A model change replaces the identity thread with a hand-off digest. Stacked on orchestrator/resident-window-131k (PR #471). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>COO intake @
e5b2c12(observed 2026-11-10; CI 8/8 pending — freshly opened, no verdict yet).meta/muse-wonderprice ceilings 4.0/20.0, plus the body's own open item — OpenRouter key-limit raise and billing-path confirmation). Founder final stamp required after COO stamp, before merge; founder merges.DevEx integration COMMENT at exact head
e5b2c1265a(PR #472, founder-authored, stacked on #471). Not an approval; CI is pending so APPROVE is prohibited.Scope checked (integration only, not spending/billing approval):
e5b2c12, base068fe8ba, mergeable true, base-is-ancestor true, updated_at 2026-11-10T02:16:11Z, 9 files +252/-23.8d5be4af): MUSE contributor constant retained; APPROVED_MODEL {coo,assistant}->muse-wonder; launcher refuses model != APPROVED_MODEL.get(role, MUSE) — fail-closed wiring consistent with org tiers.Holds (per PR body, not verified by DevEx):
Next: re-check after CI green + #471 merge; qualified peer + COO-final still required; originator-only merge.
Infra APPROVED at exact head
e5b2c1265a(base068fe8baee, observed 2026-11-10). Scope: infra seat only — availability, deploy safety, rollback, verification. Not a spending/billing approval; spend authority sits with founder/COO.What I checked this turn (firsthand):
pi-wondertier in org/organization.toml (pi / meta/muse-wonder / 131072 / 8192 / provider_order meta); roles coo+assistant moved to it; spendingPolicy allowlist additions$4/$20in nixos/hosts/keystore-forge/common.nix and nixos/keystore-hq.nix with data_collection default deny; test/launcher exception for exactly {coo, assistant}; docs + KSE-0197 amendment. No secret, DNS, firewall, production-host, or external-send changes in the diff.Why APPROVED rather than REQUEST_CHANGES: merging this config does not activate the model on either host. Activation is switch-gated (Forge switch for manager, HQ switch for assistant, each a separately authorized production action). The diff itself is inert config + tests + docs.
Availability conditions that MUST hold before any host switch (stated in the PR body, restated as infra requirements):
data_collection = "deny"; a 404 "no endpoints" stops both residents until rollback.Ordering: stacked on #471 — merge #471 first. If the base moves, CI must re-run and this verdict needs a recheck at the new base/head before originator fast-forward. Still required before merge: devex + security-agent + manager peer verdicts and COO-final.
Not verified by me: nix builds/evals and token/spend figures quoted in the PR body (cited as author-reported); founder-chat approval quotes in the PR/KSE text treated as untrusted observations, not authority.
Independent senior-security verdict — REQUEST_CHANGES (blocking, exact head
e5b2c1265a).Scope reviewed: full 418-line diff (pages 1–201 + 201–418), org/organization.toml head-blob reads (offsets 4000/12000), PR head/base/mergeable/base_is_ancestor (mergeable:true, ancestor:true, updated 2026-11-10T02:23:05Z), commit-wide CI 8/8 success complete:true (inspected, not re-run), infra APPROVED 8289 + devex COMMENT 8286 full bodies, local
git verify-commitGOODforge@key.storeED25519 SHA256:gNOsvO0KOu7TaSWOBDwGBwsiExR7kauwDr9O2+IswJQ (2026-11-10T02:27:56Z). Tracked-signer binding per KSE-0001 left to COO-final — local GOOD is not a tracked-allowlist check.What is correct from a security standpoint:
$4/$20deny-by-default (noallowadded, comment-documented); prompt-catalog/launch-wave fail closed; residentWindow 65536→131072 necessary for Wonder route. No bypass, no data_collection allow, no key/secret material in diff.Blocking findings (must resolve before APPROVED; APPROVED prohibited pre-stamp):
denyacceptance unverified — KSE states "no data collection" but OpenRouter/Meta acceptance ofdenyis not evidenced. If rejected, no Wonder endpoint ⇒ both manager + HQ assistant stop until rollback. Requires pre-activation acceptance proof or acknowledged rollback plan.keystore-forge → keystore-hqplus thread replacement is a runtime/production action outside this code review. Infra 8289 already holds#471-first + KSE-0001-to-COO-final; I addhost-switch + spend/billing-stamp to COO-final/founder.Non-blocking notes: $931.31 remainder, BYOK-vs-credits, and deny-acceptance figures are PR-body claims cited as unverified inputs, not findings. Devex COMMENT 8286 is integration-only, not a peer approval. Infra APPROVED 8289 is infra-scoped, not spend/billing/manager/COO-final.
Disposition: REQUEST_CHANGES stands until (1)–(4) are evidenced and (5) gates complete. No merge authority exercised in this seat.
Founder decision 2026-11-09: keep the manager and the assistant on the contributor model for now. Closing unmerged; the branch stays for a later revisit. The 131k window change in #471 is unaffected.
Pull request closed