Multiplayer agent harness for work.
Scrub internal examples and remove tracked screenshots (#1504)
Regan Bell30f91a394b54
diff --git a/AGENTS.md b/AGENTS.mdindex a415a20b4..659bf2382 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -64,6 +64,12 @@ Two habits that keep task-focused changes from scarring the rest of the repo:Slack Mac app, and don't ask permission first — do it on your own; don't wait to beasked. Skip it for trivial refactors, docs, config, or pure-logic changes alreadycovered by tests.+- **Keep screenshots out of Git and app assets.** Never commit screenshots or create+ a tracked screenshots directory, including under docs or QA. Capture review images+ in a temporary directory outside the checkout or an ignored local output directory,+ and attach them to the PR or host them externally. Do not bundle review screenshots+ into the app. Only actual product assets, such as icons and instructional media,+ belong in the app bundle.- **Demo every front-end change in the PR.** Anything an operator or user seesrendered — admin/web/portal UI, Slack surfaces, emails — ships with a way for areviewer to see the result without booting it. Prefer a link to a live demo app@@ -71,7 +77,8 @@ Two habits that keep task-focused changes from scarring the rest of the repo:reviewer can click around the real thing; note in the PR what's mocked. Fall backto screenshots only when a live demo isn't practical (e.g. Slack surfaces, emails),and then show the after state (before/after for changes to something that existed),- rendered against realistic data.+ rendered against realistic data. Attach or externally host these screenshots; never+ commit them to satisfy this requirement.## Deployment repositories and source forksdiff --git a/README.md b/README.mdindex 4545390d0..1dff5d455 100644--- a/README.md+++ b/README.md@@ -2,8 +2,6 @@A multiplayer agent harness for work. In Slack and on the web.--## SetupTell your coding agent of choice `Let's deploy https://github.com/yc-software/qm`. From here, it should follow the deployment guide in this repo.diff --git a/docs/images/admin-internal-member-overrides.png b/docs/images/admin-internal-member-overrides.pngdeleted file mode 100644index 0e41bdec5..000000000Binary files a/docs/images/admin-internal-member-overrides.png and /dev/null differdiff --git a/docs/images/inbox-composer-actions.png b/docs/images/inbox-composer-actions.pngdeleted file mode 100644index d81f54afc..000000000Binary files a/docs/images/inbox-composer-actions.png and /dev/null differdiff --git a/docs/images/runtime-web.jpg b/docs/images/runtime-web.jpgdeleted file mode 100644index dacf6f9b2..000000000Binary files a/docs/images/runtime-web.jpg and /dev/null differdiff --git a/docs/images/tooltip-scroll.png b/docs/images/tooltip-scroll.pngdeleted file mode 100644index b460d9fc7..000000000Binary files a/docs/images/tooltip-scroll.png and /dev/null differdiff --git a/docs/images/trusted-signin.png b/docs/images/trusted-signin.pngdeleted file mode 100644index 7bd0d1071..000000000Binary files a/docs/images/trusted-signin.png and /dev/null differdiff --git a/docs/persistent-subagent-sessions.md b/docs/persistent-subagent-sessions.mdindex 801ccb4ef..ef1e28987 100644--- a/docs/persistent-subagent-sessions.md+++ b/docs/persistent-subagent-sessions.md@@ -32,7 +32,7 @@ Swarm workers continue to coordinate through the swarm API, which owns their com## Feature flag-`persistent_subagents` defaults off. Enable it through the existing feature-flags admin resource for individual actor scopes (`personal:<principal-id>`). The actor flag applies even when that actor works in a shared conversation. Enable only the intended people on YC; qm-fleet remains off without its own opt-in. Actors with neither `persistent_subagents` nor `responsive_spine` enabled are not offered the session tool, and syscall authorization rechecks these flags. Existing transcripts remain accessible.+`persistent_subagents` defaults off. Enable it through the existing feature-flags admin resource for individual actor scopes (`personal:<principal-id>`). The actor flag applies even when that actor works in a shared conversation. Enable only the intended people in each deployment; other deployments remain off without their own opt-in. Actors with neither `persistent_subagents` nor `responsive_spine` enabled are not offered the session tool, and syscall authorization rechecks these flags. Existing transcripts remain accessible.`responsive_spine` also defaults off and is independent of `persistent_subagents`. Enable it for individual `personal:<principal-id>` scopes through the feature-flags admin API to pilot responsive Slack and spine turns. It applies to the acting person even in shared conversations. Enabled coordinators cannot use command execution, background process tools, credential execution, or provider-native delegation. They dispatch substantial work through `session.open`, end promptly, and receive completion wakes. Child sessions retain command tools. Web conversations without spine tools and swarm workers retain their existing behavior. Turning the flag off restores the actor's ordinary toolset and passive completion handling on subsequent turns; it does not interrupt already running work.diff --git a/docs/qa/app-shell/README.md b/docs/qa/app-shell/README.mdindex 584baed58..55b0342d3 100644--- a/docs/qa/app-shell/README.md+++ b/docs/qa/app-shell/README.md@@ -1,23 +1,17 @@# App shell and management QA-Screenshots from a local web dev instance using the real Vite/Lit web UI, core, isolated Postgres, and a disposable Fieldnotes deployment. No UI or API responses are mocked. Loopback adapters supply the local development session and app host routing; the instance is not publicly accessible.+QA used a local web dev instance using the real Vite/Lit web UI, core, isolated Postgres, and a disposable Fieldnotes deployment. No UI or API responses are mocked. Loopback adapters supply the local development session and app host routing; the instance is not publicly accessible.## App and chat---The agent identified the app from server-supplied conversation context, then published the requested background changes. The screenshot shows the green version requested during QA. The surrounding bar stays neutral.+The agent identified the app from server-supplied conversation context, then published the requested background changes. The green version was verified during QA. The surrounding bar stays neutral.## Manage--Long histories show the latest ten versions initially. “Show older versions” reveals ten more per click; tests exercise up to 150 versions.## Permissions--Browser QA covered opening and closing the drawer, top-level escape, staging a person without granting access, the custom access menu, and the manage page. Earlier QA exercised adding view access, changing it to manage, and revoking the test grant. Tests cover dialog-bound menu placement and frame-denying upstream responses.The picker adds people. Existing project/channel grants can be edited or removed; adding those scope types and an in-bar version selector are outside this change. The top-level escape applies to the current URL; navigation that drops its query parameter restores the shell.diff --git a/docs/qa/app-shell/drawer.png b/docs/qa/app-shell/drawer.pngdeleted file mode 100644index 6367aa18e..000000000Binary files a/docs/qa/app-shell/drawer.png and /dev/null differdiff --git a/docs/qa/app-shell/manage.png b/docs/qa/app-shell/manage.pngdeleted file mode 100644index 026b87b7e..000000000Binary files a/docs/qa/app-shell/manage.png and /dev/null differdiff --git a/docs/qa/app-shell/permissions.png b/docs/qa/app-shell/permissions.pngdeleted file mode 100644index 073be7101..000000000Binary files a/docs/qa/app-shell/permissions.png and /dev/null differdiff --git a/docs/qa/chat-activity/after.png b/docs/qa/chat-activity/after.pngdeleted file mode 100644index 4ba18c13e..000000000Binary files a/docs/qa/chat-activity/after.png and /dev/null differdiff --git a/docs/qa/chat-activity/before.png b/docs/qa/chat-activity/before.pngdeleted file mode 100644index 0b9b5d12c..000000000Binary files a/docs/qa/chat-activity/before.png and /dev/null differdiff --git a/docs/qa/chat-streaming/README.md b/docs/qa/chat-streaming/README.mdindex 294a3235d..3829a172e 100644--- a/docs/qa/chat-streaming/README.md+++ b/docs/qa/chat-streaming/README.md@@ -1,23 +1,17 @@# Chat streaming and recovery QA-These screenshots use the real browser UI and isolated local core/Postgres with synthetic arithmetic prompts. No UI or API responses are mocked. The unchanged main frontend and updated frontend display the same saved conversation at the same window size. The local instance is not publicly reachable, so screenshots provide the review demo.+QA used the real browser UI and isolated local core/Postgres with synthetic arithmetic prompts. No UI or API responses are mocked. The unchanged main frontend and updated frontend displayed the same saved conversation at the same window size. The local instance was not publicly reachable.## BeforeThe latest prompt occupies several lines, and narration and tool summaries remain outside a single completed-work disclosure.--## AfterThe latest prompt starts as a two-line preview with Show more. Completed work collapses into one timed disclosure while the answer remains visible.--Expanding the disclosure shows narration and commands in their original order.--## Interaction checks-Live browser checks covered streamed prose, code and tables; manual scroll-away and selection; opening and closing split panes during streaming; Stop followed by reload and another turn; queued-message editing with attachments; approval decisions and duration; a 25-second connection outage; and expanded full tool output after reload. Backend-specific cancellation and transport races have deterministic regression coverage. Screenshots demonstrate the resting layout; they do not establish timing behavior by themselves.+Live browser checks covered streamed prose, code and tables; manual scroll-away and selection; opening and closing split panes during streaming; Stop followed by reload and another turn; queued-message editing with attachments; approval decisions and duration; a 25-second connection outage; and expanded full tool output after reload. Backend-specific cancellation and transport races have deterministic regression coverage. Resting-layout inspection alone does not establish timing behavior.diff --git a/docs/qa/chat-streaming/after.png b/docs/qa/chat-streaming/after.pngdeleted file mode 100644index bc91cbd27..000000000Binary files a/docs/qa/chat-streaming/after.png and /dev/null differdiff --git a/docs/qa/chat-streaming/before.png b/docs/qa/chat-streaming/before.pngdeleted file mode 100644index 41b995ae2..000000000Binary files a/docs/qa/chat-streaming/before.png and /dev/null differdiff --git a/docs/qa/chat-streaming/work-expanded.png b/docs/qa/chat-streaming/work-expanded.pngdeleted file mode 100644index f5d9c6787..000000000Binary files a/docs/qa/chat-streaming/work-expanded.png and /dev/null differdiff --git a/docs/qa/custom-loop-icons/inbox.png b/docs/qa/custom-loop-icons/inbox.pngdeleted file mode 100644index 7a237b6b5..000000000Binary files a/docs/qa/custom-loop-icons/inbox.png and /dev/null differdiff --git a/docs/qa/custom-loop-icons/picker.png b/docs/qa/custom-loop-icons/picker.pngdeleted file mode 100644index 450107d56..000000000Binary files a/docs/qa/custom-loop-icons/picker.png and /dev/null differdiff --git a/docs/qa/fly-published-apps.md b/docs/qa/fly-published-apps.mdindex 4b2d12d4d..1f937743f 100644--- a/docs/qa/fly-published-apps.md+++ b/docs/qa/fly-published-apps.md@@ -1,6 +1,6 @@# Fly published application acceptance-Status: final-image HTTP/runtime and private-network qualification passed. Company Bookface/browser qualification remains outstanding; existing deployments are not approved for migration yet. Automatic suspension is verified with variable timing, not a fixed deadline. See the final entries below for the immutable image and measured results.+Status: final-image HTTP/runtime and private-network qualification passed. Production SSO/browser qualification remains outstanding; existing deployments are not approved for migration yet. Automatic suspension is verified with variable timing, not a fixed deadline. See the final entries below for the immutable image and measured results.The Fly adapter must retain QM's application access controls and durable application data while delegating idle suspension and request-driven wake-up to Fly Proxy. Existing deployments remain on their current provider until the following checks pass against the candidate source and a real QM instance.@@ -59,7 +59,7 @@ The peer-claim prototype now uses sticky ECS task ARN ownership, exact STOPPED vPeer claims can now retain confirmed termination evidence and reuse it after ECS history disappears; tests ensure that evidence is cleared on reassignment and cannot mark a replacement owner stopped. The collector still needs runtime scheduling and rollout recovery integration. The local tunnel lifecycle passed two start/serve/stop cycles against the live shared provider, preserving file and SQLite data and rejecting an occupied listener. This does not yet prove task identity, singleton behavior across process failure, or ECS rollout handoff.-QM HTTP deployment proxy and agent fetch now support the local SOCKS tunnel. A live route fixture reached the shared Fly app and preserved data: unsigned requests returned 401, unrelated actors 404, owners 200, and the ordinary proxy 200. Authorization decisions were stubbed, so this proves transport and route enforcement, not Bookface or real scope ACL acceptance. The affected proxy/fetch and peer-claim tests passed (29 tests).+QM HTTP deployment proxy and agent fetch now support the local SOCKS tunnel. A live route fixture reached the shared Fly app and preserved data: unsigned requests returned 401, unrelated actors 404, owners 200, and the ordinary proxy 200. Authorization decisions were stubbed, so this proves transport and route enforcement, not production SSO or real scope ACL acceptance. The affected proxy/fetch and peer-claim tests passed (29 tests).Runtime wiring now constructs a lazy Fargate tunnel manager from `FLY_DEPLOY_WIREGUARD_PEERS`, requires private connectivity for shared-app mode, and persists SOCKS routing on deployment endpoints. Task-termination collection runs while the tunnel manager is active. The core Dockerfile builds wireproxy v1.1.2 in a separate stage; that image has not yet been built or deployed. Hostname resolution through the private tunnel passed the live route fixture. ECS startup, task failure and deployment overlap still need live qualification.@@ -73,17 +73,17 @@ The live Fargate overlap fixture passed against disposable Postgres. An observerThe deployment contract now requires `FLY_DEPLOY_WIREGUARD_PEERS` when shared Fly publishing is selected, in both CLI secret discovery and runtime validation. AWS core task roles gain cluster-scoped `ecs:DescribeTasks` for peer reclamation. The Fly token check uses the shared application's Machines list, avoiding an organization-list permission requirement for app-scoped credentials. All 155 affected config, secret, Terraform and Fly CLI tests passed; typecheck and lint passed. These source changes have not been applied to company infrastructure or included in the earlier candidate image.-A full core runtime in Fargate passed HTTP API acceptance using the immutable candidate above and a fresh disposable Postgres sidecar. The test invoked real `src/index.ts`, published through `/v1/deployments`, and exercised persisted ACLs: signed-out access returned 401, an unrelated user received 403, and that user could not archive the app. Owner access, file/SQLite writes, a 1 MiB upload, two separate SSE chunks, redirects and cookies passed. Publishing v2 and archive/restore preserved both counters. The successful run took 54.6 seconds from the QA process start, excluding ECS provisioning/image pull. The first run incorrectly expected unrelated-user denial to be 404; its 403 response was valid and the assertion was corrected before the successful rerun. Both runs archived their test apps and their exact orphan volumes were removed. This test used signed test identities, not Bookface; browser login, cross-company isolation, WebSockets and idle/wake through QM remain acceptance work.+A full core runtime in Fargate passed HTTP API acceptance using the immutable candidate above and a fresh disposable Postgres sidecar. The test invoked real `src/index.ts`, published through `/v1/deployments`, and exercised persisted ACLs: signed-out access returned 401, an unrelated user received 403, and that user could not archive the app. Owner access, file/SQLite writes, a 1 MiB upload, two separate SSE chunks, redirects and cookies passed. Publishing v2 and archive/restore preserved both counters. The successful run took 54.6 seconds from the QA process start, excluding ECS provisioning/image pull. The first run incorrectly expected unrelated-user denial to be 404; its 403 response was valid and the assertion was corrected before the successful rerun. Both runs archived their test apps and their exact orphan volumes were removed. This test used signed test identities, not production SSO; browser login, cross-company isolation, WebSockets and idle/wake through QM remain acceptance work.Independent comparison with deployed source `208086ab` found WebSockets unsupported on the existing published-app path: neither core nor portal has an upgrade handler, and AWS app subdomains still enter core's authentication/proxy path. The Fly candidate does not remove an existing WebSocket path. Record this as a product limitation rather than a Fly regression; raw provider WebSocket support alone would not establish QM support. The QA app-scoped token also passed own-app Machine listing (200) and was denied a separate app's Machine listing (403); this is a control-plane credential check, not proof of cross-company network isolation.-The full runtime idle test observed the exact deployment Machine suspended before eight concurrent authenticated QM reads; all succeeded with intact file/SQLite counters in 763 ms. With no further application requests, automatic suspension was observed after 324.3 seconds, and the next authenticated QM request resumed it in 622 ms with both counters intact. This used the actual Fargate core proxy and Postgres-backed provider wiring. A separate local dev-instance browser check on branch source loaded the signed-in web Apps and admin Apps surfaces; it used a disposable local database and development identity, not Bookface or the Fly backend. Local Docker disk exhaustion was worked around with a QA-only tmpfs database, and that dev instance was stopped after inspection.+The full runtime idle test observed the exact deployment Machine suspended before eight concurrent authenticated QM reads; all succeeded with intact file/SQLite counters in 763 ms. With no further application requests, automatic suspension was observed after 324.3 seconds, and the next authenticated QM request resumed it in 622 ms with both counters intact. This used the actual Fargate core proxy and Postgres-backed provider wiring. A separate local dev-instance browser check on branch source loaded the signed-in web Apps and admin Apps surfaces; it used a disposable local database and development identity, not production SSO or the Fly backend. Local Docker disk exhaustion was worked around with a QA-only tmpfs database, and that dev instance was stopped after inspection.The published-code network probe passed with positive controls: the trusted ingress served the target app and the attacking Machine reached its own listener, while that Machine could not connect to its sibling's private address, the private ingress Flycast address, or the original organization-network Flycast address. A second QA company then used its own app network, separate ingress network, private Flycast address, app-scoped token and WireGuard peer. Both trusted ingresses served their own canary; A's ingress could not reach B's Flycast address and vice versa. Code executing in A could reach its own listener but neither B's private Machine nor B's ingress. Both publisher tokens received 403 for the other app's Machines API. The canaries contained no company data or application credentials.Final review fixes preserve the latest ephemeral publication when always-on changes, retain legacy idle cleanup for existing standalone Fly apps, and persist changed always-on settings only after successful version application. Regression tests cover failed redeploy and rollback in both setting directions. Shared publishing now verifies dedicated nondefault ingress networks and all-Machine TCP22-only policies; narrowed selectors are rejected. Fleet provisioning additionally binds the exact company ingress network, rejects existing published Machines pending explicit migration, and validates that trusted ingress contains only a recoverable initializer.-After removing the QA app's obsolete default-network Flycast address, the trusted ingress still served version 2 with file and SQLite counters intact. Published-code probes could reach their own loopback listener but could not reach a sibling Machine or the trusted ingress address. This verifies address cleanup independently of final-image acceptance. Bookface/browser qualification and the rebuilt final candidate remain outstanding.+After removing the QA app's obsolete default-network Flycast address, the trusted ingress still served version 2 with file and SQLite counters intact. Published-code probes could reach their own loopback listener but could not reach a sibling Machine or the trusted ingress address. This verifies address cleanup independently of final-image acceptance. Production SSO/browser qualification and the rebuilt final candidate remain outstanding.The rebuilt image from source `6d51832edfa442019ee03005c2f0c8d0c3b73c35` (`sha256:e7a431a6232b533fadedd8a43fb6b374cfdeef0835b178d78a9ed4b3cc68dce4`) passed publishing, persisted ACL checks, upload/streaming and eight concurrent requests after forced suspension (871 ms). It failed the automatic-suspension assertion: the Machine remained running for the entire 360-second observation window. The task exited 1; its test Machine, exact disposable volume and task definition were cleaned up. Preserve this failed acceptance result; the earlier successful idle measurement does not qualify the rebuilt candidate. Investigate idle timing and active connections before activation.diff --git a/docs/qa/loop-icons/inbox.png b/docs/qa/loop-icons/inbox.pngdeleted file mode 100644index 98b20a8ef..000000000Binary files a/docs/qa/loop-icons/inbox.png and /dev/null differdiff --git a/docs/qa/loop-icons/picker.png b/docs/qa/loop-icons/picker.pngdeleted file mode 100644index 0d804e5a3..000000000Binary files a/docs/qa/loop-icons/picker.png and /dev/null differdiff --git a/docs/screenshots/admin-errors-pagination.png b/docs/screenshots/admin-errors-pagination.pngdeleted file mode 100644index e633f44af..000000000Binary files a/docs/screenshots/admin-errors-pagination.png and /dev/null differdiff --git a/docs/screenshots/admin-login-confirm.png b/docs/screenshots/admin-login-confirm.pngdeleted file mode 100644index 791d5dd91..000000000Binary files a/docs/screenshots/admin-login-confirm.png and /dev/null differdiff --git a/docs/screenshots/admin-login-mobile.png b/docs/screenshots/admin-login-mobile.pngdeleted file mode 100644index bfbb3c23e..000000000Binary files a/docs/screenshots/admin-login-mobile.png and /dev/null differdiff --git a/docs/screenshots/admin-settings-load-after.jpg b/docs/screenshots/admin-settings-load-after.jpgdeleted file mode 100644index 8df0b7cbd..000000000Binary files a/docs/screenshots/admin-settings-load-after.jpg and /dev/null differdiff --git a/docs/screenshots/admin-settings-load-before.jpg b/docs/screenshots/admin-settings-load-before.jpgdeleted file mode 100644index 8df0b7cbd..000000000Binary files a/docs/screenshots/admin-settings-load-before.jpg and /dev/null differdiff --git a/docs/screenshots/admin-tabs/after.png b/docs/screenshots/admin-tabs/after.pngdeleted file mode 100644index 0109b4d97..000000000Binary files a/docs/screenshots/admin-tabs/after.png and /dev/null differdiff --git a/docs/screenshots/admin-tabs/before.png b/docs/screenshots/admin-tabs/before.pngdeleted file mode 100644index 383fc83db..000000000Binary files a/docs/screenshots/admin-tabs/before.png and /dev/null differdiff --git a/docs/screenshots/admin-users-without-email.png b/docs/screenshots/admin-users-without-email.pngdeleted file mode 100644index 40ad064cc..000000000Binary files a/docs/screenshots/admin-users-without-email.png and /dev/null differdiff --git a/docs/screenshots/background-tooltip-removal.png b/docs/screenshots/background-tooltip-removal.pngdeleted file mode 100644index b4998392d..000000000Binary files a/docs/screenshots/background-tooltip-removal.png and /dev/null differdiff --git a/docs/screenshots/chat-theme-composer-fix.png b/docs/screenshots/chat-theme-composer-fix.pngdeleted file mode 100644index 1808d7d56..000000000Binary files a/docs/screenshots/chat-theme-composer-fix.png and /dev/null differdiff --git a/docs/screenshots/combined-admin.png b/docs/screenshots/combined-admin.pngdeleted file mode 100644index 720a78f52..000000000Binary files a/docs/screenshots/combined-admin.png and /dev/null differdiff --git a/docs/screenshots/compact-panes/after.png b/docs/screenshots/compact-panes/after.pngdeleted file mode 100644index 69ff016cf..000000000Binary files a/docs/screenshots/compact-panes/after.png and /dev/null differdiff --git a/docs/screenshots/compact-panes/before.png b/docs/screenshots/compact-panes/before.pngdeleted file mode 100644index 4041659ca..000000000Binary files a/docs/screenshots/compact-panes/before.png and /dev/null differdiff --git a/docs/screenshots/context-model-picker/after.png b/docs/screenshots/context-model-picker/after.pngdeleted file mode 100644index 09dc62c67..000000000Binary files a/docs/screenshots/context-model-picker/after.png and /dev/null differdiff --git a/docs/screenshots/context-model-picker/before.png b/docs/screenshots/context-model-picker/before.pngdeleted file mode 100644index 6ba1acdc9..000000000Binary files a/docs/screenshots/context-model-picker/before.png and /dev/null differdiff --git a/docs/screenshots/context-model-picker/menu.png b/docs/screenshots/context-model-picker/menu.pngdeleted file mode 100644index 7803b7933..000000000Binary files a/docs/screenshots/context-model-picker/menu.png and /dev/null differdiff --git a/docs/screenshots/credentials/error.png b/docs/screenshots/credentials/error.pngdeleted file mode 100644index 5fc46ef42..000000000Binary files a/docs/screenshots/credentials/error.png and /dev/null differdiff --git a/docs/screenshots/credentials/loading.png b/docs/screenshots/credentials/loading.pngdeleted file mode 100644index 11a841dd8..000000000Binary files a/docs/screenshots/credentials/loading.png and /dev/null differdiff --git a/docs/screenshots/credentials/usage-loading.png b/docs/screenshots/credentials/usage-loading.pngdeleted file mode 100644index c2b6592e5..000000000Binary files a/docs/screenshots/credentials/usage-loading.png and /dev/null differdiff --git a/docs/screenshots/cron-counts-after.png b/docs/screenshots/cron-counts-after.pngdeleted file mode 100644index 6291622d8..000000000Binary files a/docs/screenshots/cron-counts-after.png and /dev/null differdiff --git a/docs/screenshots/cron-counts-before.png b/docs/screenshots/cron-counts-before.pngdeleted file mode 100644index 3936988ee..000000000Binary files a/docs/screenshots/cron-counts-before.png and /dev/null differdiff --git a/docs/screenshots/cron-settings-footer.png b/docs/screenshots/cron-settings-footer.pngdeleted file mode 100644index a28b67779..000000000Binary files a/docs/screenshots/cron-settings-footer.png and /dev/null differdiff --git a/docs/screenshots/delivery-surface-after.png b/docs/screenshots/delivery-surface-after.pngdeleted file mode 100644index dd71df7e0..000000000Binary files a/docs/screenshots/delivery-surface-after.png and /dev/null differdiff --git a/docs/screenshots/delivery-surface-before.png b/docs/screenshots/delivery-surface-before.pngdeleted file mode 100644index dc0c815b6..000000000Binary files a/docs/screenshots/delivery-surface-before.png and /dev/null differdiff --git a/docs/screenshots/email-not-configured.png b/docs/screenshots/email-not-configured.pngdeleted file mode 100644index afcff6c2e..000000000Binary files a/docs/screenshots/email-not-configured.png and /dev/null differdiff --git a/docs/screenshots/gateway-models/after.jpg b/docs/screenshots/gateway-models/after.jpgdeleted file mode 100644index 801e8ca96..000000000Binary files a/docs/screenshots/gateway-models/after.jpg and /dev/null differdiff --git a/docs/screenshots/gateway-models/before.png b/docs/screenshots/gateway-models/before.pngdeleted file mode 100644index 7e1f53394..000000000Binary files a/docs/screenshots/gateway-models/before.png and /dev/null differdiff --git a/docs/screenshots/gateway-models/blue-before.png b/docs/screenshots/gateway-models/blue-before.pngdeleted file mode 100644index 34eca1c65..000000000Binary files a/docs/screenshots/gateway-models/blue-before.png and /dev/null differdiff --git a/docs/screenshots/history-pagination.png b/docs/screenshots/history-pagination.pngdeleted file mode 100644index 35dc7185e..000000000Binary files a/docs/screenshots/history-pagination.png and /dev/null differdiff --git a/docs/screenshots/inbox-latest-message.png b/docs/screenshots/inbox-latest-message.pngdeleted file mode 100644index 8db67f635..000000000Binary files a/docs/screenshots/inbox-latest-message.png and /dev/null differdiff --git a/docs/screenshots/inbox-loops-after.png b/docs/screenshots/inbox-loops-after.pngdeleted file mode 100644index 399c3160f..000000000Binary files a/docs/screenshots/inbox-loops-after.png and /dev/null differdiff --git a/docs/screenshots/inbox-loops-before.png b/docs/screenshots/inbox-loops-before.pngdeleted file mode 100644index a8d3835b1..000000000Binary files a/docs/screenshots/inbox-loops-before.png and /dev/null differdiff --git a/docs/screenshots/inbox-loops-flag.png b/docs/screenshots/inbox-loops-flag.pngdeleted file mode 100644index 6a87ca54e..000000000Binary files a/docs/screenshots/inbox-loops-flag.png and /dev/null differdiff --git a/docs/screenshots/loop-ingestion-after.png b/docs/screenshots/loop-ingestion-after.pngdeleted file mode 100644index 6b37eda17..000000000Binary files a/docs/screenshots/loop-ingestion-after.png and /dev/null differdiff --git a/docs/screenshots/markdown/after-dark.png b/docs/screenshots/markdown/after-dark.pngdeleted file mode 100644index a5d9e7fba..000000000Binary files a/docs/screenshots/markdown/after-dark.png and /dev/null differdiff --git a/docs/screenshots/markdown/after-light.png b/docs/screenshots/markdown/after-light.pngdeleted file mode 100644index cb526b8eb..000000000Binary files a/docs/screenshots/markdown/after-light.png and /dev/null differdiff --git a/docs/screenshots/markdown/after-mobile.png b/docs/screenshots/markdown/after-mobile.pngdeleted file mode 100644index 4612f826f..000000000Binary files a/docs/screenshots/markdown/after-mobile.png and /dev/null differdiff --git a/docs/screenshots/markdown/before-dark.png b/docs/screenshots/markdown/before-dark.pngdeleted file mode 100644index 2d473371f..000000000Binary files a/docs/screenshots/markdown/before-dark.png and /dev/null differdiff --git a/docs/screenshots/message-seq-link.png b/docs/screenshots/message-seq-link.pngdeleted file mode 100644index 987c16f9b..000000000Binary files a/docs/screenshots/message-seq-link.png and /dev/null differdiff --git a/docs/screenshots/multipane-scope/multipane-after.png b/docs/screenshots/multipane-scope/multipane-after.pngdeleted file mode 100644index 2c0e8f3ef..000000000Binary files a/docs/screenshots/multipane-scope/multipane-after.png and /dev/null differdiff --git a/docs/screenshots/multipane-scope/single-after.png b/docs/screenshots/multipane-scope/single-after.pngdeleted file mode 100644index bc578f096..000000000Binary files a/docs/screenshots/multipane-scope/single-after.png and /dev/null differdiff --git a/docs/screenshots/multipane-scope/single-before.png b/docs/screenshots/multipane-scope/single-before.pngdeleted file mode 100644index b4d8d6118..000000000Binary files a/docs/screenshots/multipane-scope/single-before.png and /dev/null differdiff --git a/docs/screenshots/onboarding-slack-connected.png b/docs/screenshots/onboarding-slack-connected.pngdeleted file mode 100644index c68174676..000000000Binary files a/docs/screenshots/onboarding-slack-connected.png and /dev/null differdiff --git a/docs/screenshots/personal-ai-access.png b/docs/screenshots/personal-ai-access.pngdeleted file mode 100644index c61a2dc06..000000000Binary files a/docs/screenshots/personal-ai-access.png and /dev/null differdiff --git a/docs/screenshots/personal-ai-connect.png b/docs/screenshots/personal-ai-connect.pngdeleted file mode 100644index 19940f179..000000000Binary files a/docs/screenshots/personal-ai-connect.png and /dev/null differdiff --git a/docs/screenshots/prompt-preview-after.png b/docs/screenshots/prompt-preview-after.pngdeleted file mode 100644index 2947fe0e8..000000000Binary files a/docs/screenshots/prompt-preview-after.png and /dev/null differdiff --git a/docs/screenshots/prompt-preview-before.png b/docs/screenshots/prompt-preview-before.pngdeleted file mode 100644index 211e9e90b..000000000Binary files a/docs/screenshots/prompt-preview-before.png and /dev/null differdiff --git a/docs/screenshots/prompt-resize-after.png b/docs/screenshots/prompt-resize-after.pngdeleted file mode 100644index 7c4ad81c9..000000000Binary files a/docs/screenshots/prompt-resize-after.png and /dev/null differdiff --git a/docs/screenshots/prompt-resize-before.png b/docs/screenshots/prompt-resize-before.pngdeleted file mode 100644index 4f0df464c..000000000Binary files a/docs/screenshots/prompt-resize-before.png and /dev/null differdiff --git a/docs/screenshots/responsive-stop/running.png b/docs/screenshots/responsive-stop/running.pngdeleted file mode 100644index 1b49d1090..000000000Binary files a/docs/screenshots/responsive-stop/running.png and /dev/null differdiff --git a/docs/screenshots/responsive-stop/stopped.png b/docs/screenshots/responsive-stop/stopped.pngdeleted file mode 100644index a08fbe408..000000000Binary files a/docs/screenshots/responsive-stop/stopped.png and /dev/null differdiff --git a/docs/screenshots/search-detail-after.png b/docs/screenshots/search-detail-after.pngdeleted file mode 100644index 8bd283540..000000000Binary files a/docs/screenshots/search-detail-after.png and /dev/null differdiff --git a/docs/screenshots/search-detail-before.png b/docs/screenshots/search-detail-before.pngdeleted file mode 100644index 522ba93f6..000000000Binary files a/docs/screenshots/search-detail-before.png and /dev/null differdiff --git a/docs/screenshots/session-status/desktop.png b/docs/screenshots/session-status/desktop.pngdeleted file mode 100644index 2d79668c6..000000000Binary files a/docs/screenshots/session-status/desktop.png and /dev/null differdiff --git a/docs/screenshots/session-status/mobile.png b/docs/screenshots/session-status/mobile.pngdeleted file mode 100644index 9c1c92b4d..000000000Binary files a/docs/screenshots/session-status/mobile.png and /dev/null differdiff --git a/docs/screenshots/session-view-controls/multiview.png b/docs/screenshots/session-view-controls/multiview.pngdeleted file mode 100644index 8a5e5ec3f..000000000Binary files a/docs/screenshots/session-view-controls/multiview.png and /dev/null differdiff --git a/docs/screenshots/session-view-controls/single-view.png b/docs/screenshots/session-view-controls/single-view.pngdeleted file mode 100644index fa75d7d59..000000000Binary files a/docs/screenshots/session-view-controls/single-view.png and /dev/null differdiff --git a/docs/screenshots/short-message-collapse.png b/docs/screenshots/short-message-collapse.pngdeleted file mode 100644index 4efc75f6c..000000000Binary files a/docs/screenshots/short-message-collapse.png and /dev/null differdiff --git a/docs/screenshots/single-pane/flat-header.png b/docs/screenshots/single-pane/flat-header.pngdeleted file mode 100644index 440648aa8..000000000Binary files a/docs/screenshots/single-pane/flat-header.png and /dev/null differdiff --git a/docs/screenshots/single-pane/multiple-panes.png b/docs/screenshots/single-pane/multiple-panes.pngdeleted file mode 100644index 3fa30d9ff..000000000Binary files a/docs/screenshots/single-pane/multiple-panes.png and /dev/null differdiff --git a/docs/screenshots/single-pane/narrow-header.png b/docs/screenshots/single-pane/narrow-header.pngdeleted file mode 100644index 43d18660f..000000000Binary files a/docs/screenshots/single-pane/narrow-header.png and /dev/null differdiff --git a/docs/screenshots/slack-relay-footer.png b/docs/screenshots/slack-relay-footer.pngdeleted file mode 100644index 368122ac3..000000000Binary files a/docs/screenshots/slack-relay-footer.png and /dev/null differdiff --git a/docs/screenshots/slack-setup/button-after.png b/docs/screenshots/slack-setup/button-after.pngdeleted file mode 100644index 96d1ba062..000000000Binary files a/docs/screenshots/slack-setup/button-after.png and /dev/null differdiff --git a/docs/screenshots/slack-setup/button-before.png b/docs/screenshots/slack-setup/button-before.pngdeleted file mode 100644index a1757b218..000000000Binary files a/docs/screenshots/slack-setup/button-before.png and /dev/null differdiff --git a/docs/screenshots/slack-setup/hosted.png b/docs/screenshots/slack-setup/hosted.pngdeleted file mode 100644index 9a9071bf2..000000000Binary files a/docs/screenshots/slack-setup/hosted.png and /dev/null differdiff --git a/docs/screenshots/slack-setup/public.png b/docs/screenshots/slack-setup/public.pngdeleted file mode 100644index f1b9f12f4..000000000Binary files a/docs/screenshots/slack-setup/public.png and /dev/null differdiff --git a/docs/screenshots/stopped-after.png b/docs/screenshots/stopped-after.pngdeleted file mode 100644index db99630ef..000000000Binary files a/docs/screenshots/stopped-after.png and /dev/null differdiff --git a/docs/screenshots/stopped-before.png b/docs/screenshots/stopped-before.pngdeleted file mode 100644index dd4e9af7c..000000000Binary files a/docs/screenshots/stopped-before.png and /dev/null differdiff --git a/docs/screenshots/suggested-activities-desktop.png b/docs/screenshots/suggested-activities-desktop.pngdeleted file mode 100644index 45704a8c1..000000000Binary files a/docs/screenshots/suggested-activities-desktop.png and /dev/null differdiff --git a/docs/screenshots/suggested-activities-light.png b/docs/screenshots/suggested-activities-light.pngdeleted file mode 100644index 045e1d98d..000000000Binary files a/docs/screenshots/suggested-activities-light.png and /dev/null differdiff --git a/docs/screenshots/suggested-activities-mobile.png b/docs/screenshots/suggested-activities-mobile.pngdeleted file mode 100644index 26a975c03..000000000Binary files a/docs/screenshots/suggested-activities-mobile.png and /dev/null differdiff --git a/docs/screenshots/suggested-activities-normal-session.png b/docs/screenshots/suggested-activities-normal-session.pngdeleted file mode 100644index 688b4936e..000000000Binary files a/docs/screenshots/suggested-activities-normal-session.png and /dev/null differdiff --git a/docs/screenshots/trusted-login-primary.png b/docs/screenshots/trusted-login-primary.pngdeleted file mode 100644index 5f9dee079..000000000Binary files a/docs/screenshots/trusted-login-primary.png and /dev/null differdiff --git a/docs/screenshots/web-ui-hero.png b/docs/screenshots/web-ui-hero.pngdeleted file mode 100644index 4f0b2e21a..000000000Binary files a/docs/screenshots/web-ui-hero.png and /dev/null differdiff --git a/docs/screenshots/yc-welcome/welcome.png b/docs/screenshots/yc-welcome/welcome.pngdeleted file mode 100644index 160cef74f..000000000Binary files a/docs/screenshots/yc-welcome/welcome.png and /dev/null differdiff --git a/plugins/admin/test/slack-installation-view.test.ts b/plugins/admin/test/slack-installation-view.test.tsindex 816c4dc89..8a40711fe 100644--- a/plugins/admin/test/slack-installation-view.test.ts+++ b/plugins/admin/test/slack-installation-view.test.ts@@ -42,10 +42,15 @@ test("public QM leads with manifest setup and hides hosted actions and instructi});test("hosted connection offers re-add and keeps custom setup secondary", async () => {- const el = await render({ configured: true, source: "service", installAvailable: true, teamName: "Development YC" });+ const el = await render({+ configured: true,+ source: "service",+ installAvailable: true,+ teamName: "Development Acme",+ });assert.equal(el("slack-installation-start-label").textContent.trim(), "Re-add to Slack");assert.equal(el("slack-installation-start").disabled, false);- assert.equal(el("slack-installation-state").textContent.trim(), "Development YC");+ assert.equal(el("slack-installation-state").textContent.trim(), "Development Acme");assert.equal(el("slack-own-app-label").textContent.trim(), "Use your own Slack app");assert.equal(el("slack-own-app-guide").open, false);});diff --git a/plugins/web-ui/README.md b/plugins/web-ui/README.mdindex 232443a38..b70751cc6 100644--- a/plugins/web-ui/README.md+++ b/plugins/web-ui/README.md@@ -115,9 +115,9 @@ or edit the cron; custom task text and schedules are preserved. The global disabflag pauses managed jobs. Background work must also be enabled.Set `SUGGESTED_ACTIVITIES_CONTEXT` on core for rollout guidance (up to 8,000-characters). For a YC rollout, describe WaaS sourcing, investor CRM, deck review,-office hours, and Bookface advice there; optionally provide fallback starters on web.-Guidance updates propagate to unmodified managed tasks. Public QM has no YC context+characters). Describe the organization’s workflows and available tools there;+optionally provide fallback starters on web. Guidance updates propagate to+unmodified managed tasks. Public QM has no organization-specific suggestion contextby default. Suggestions are private to their owner; generated sessions use thesame scoped access controls as other personal work.diff --git a/test/aws-recovery-drills.test.ts b/test/aws-recovery-drills.test.tsindex e0538ce84..8caf7c6a0 100644--- a/test/aws-recovery-drills.test.ts+++ b/test/aws-recovery-drills.test.ts@@ -53,7 +53,7 @@ test("blue/green drill preserves the deployed task contract and breaks only corerevision: 1,status: "ACTIVE",registeredAt: "today",- family: "yc-core",+ family: "acme-core",cpu: "2048",memory: "4096",networkMode: "awsvpc",@@ -81,7 +81,7 @@ test("blue/green drill preserves the deployed task contract and breaks only coreassert.equal(broken.taskDefinitionArn, undefined);assert.equal(broken.revision, undefined);assert.equal(broken.registeredAt, undefined);- assert.equal(broken.family, "yc-core");+ assert.equal(broken.family, "acme-core");const containers = broken.containerDefinitions as Array<Record<string, unknown>>;assert.deepEqual(containers[0]!.healthCheck, {command: ["CMD-SHELL", "exit 1"],diff --git a/test/deployment-credentials.test.ts b/test/deployment-credentials.test.tsindex db1547331..2fd7cefc5 100644--- a/test/deployment-credentials.test.ts+++ b/test/deployment-credentials.test.ts@@ -29,7 +29,7 @@ test("a published app gets only enabled broker credentials that are switched onpermission: "read",grantedBy: "admin",});- await grant("yc-data", ORG);+ await grant("acme-data", ORG);await grant("finance-api", "personal:cfo");await grant("off-for-apps", ORG);await grant("disabled", ORG);@@ -37,7 +37,7 @@ test("a published app gets only enabled broker credentials that are switched onawait grant("env-only", ORG);const slugs = await deploymentCredentialSlugs([- cred("yc-data"),+ cred("acme-data"),cred("finance-api"),cred("ungranted"),cred("off-for-apps", { deployments: false }),@@ -50,7 +50,7 @@ test("a published app gets only enabled broker credentials that are switched on);assert.deepEqual(slugs,- ["yc-data"],+ ["acme-data"],"a personal grant, no grant, a flipped switch, or an unusable record never reaches an app",);});diff --git a/test/mcp-memory-provider.test.ts b/test/mcp-memory-provider.test.tsindex b1c882144..6f607c9b4 100644--- a/test/mcp-memory-provider.test.ts+++ b/test/mcp-memory-provider.test.ts@@ -36,13 +36,13 @@ test("MCP provider passes query, actor, and explicit writes through configured tsourceArg: "source",},});- assert.equal(await memory.recall("org:yc", { query: "launch", actorId: "u1", maxChars: 2000 }), "result");- assert.equal(await memory.capture("org:yc", ["decision"], 10, "u1", { mode: "explicit", actorId: "u1" }), 1);+ assert.equal(await memory.recall("org:acme", { query: "launch", actorId: "u1", maxChars: 2000 }), "result");+ assert.equal(await memory.capture("org:acme", ["decision"], 10, "u1", { mode: "explicit", actorId: "u1" }), 1);assert.deepEqual(calls, [- { tool: "search_knowledge", args: { query: "launch", acting_user: "u1", namespace: "org:yc", max_chars: 2000 } },+ { tool: "search_knowledge", args: { query: "launch", acting_user: "u1", namespace: "org:acme", max_chars: 2000 } },{tool: "write_knowledge",- args: { content: "decision", captured_at: 10, source: "explicit", acting_user: "u1", namespace: "org:yc" },+ args: { content: "decision", captured_at: 10, source: "explicit", acting_user: "u1", namespace: "org:acme" },},]);});@@ -52,7 +52,7 @@ test("MCP recall is locally bounded and times out", async () => {const bounded = createMcpMemoryProvider({read: { client: client(calls, "abcdefgh"), tool: "read", timeoutMs: 100 },});- assert.equal(await bounded.recall("org:yc", { maxChars: 4 }), "abcd");+ assert.equal(await bounded.recall("org:acme", { maxChars: 4 }), "abcd");const hanging: McpClient = {base: "http://knowledge.internal",@@ -65,5 +65,5 @@ test("MCP recall is locally bounded and times out", async () => {},};const timed = createMcpMemoryProvider({ read: { client: hanging, tool: "read", timeoutMs: 10 } });- await assert.rejects(timed.recall("org:yc"), /timed out after 10ms/);+ await assert.rejects(timed.recall("org:acme"), /timed out after 10ms/);});diff --git a/test/principal-links.test.ts b/test/principal-links.test.tsindex 0127902a6..edd210708 100644--- a/test/principal-links.test.ts+++ b/test/principal-links.test.ts@@ -33,8 +33,8 @@ import { testConfig } from "./support/test-config.ts";const EMAIL = "[email protected]";const SLACK = "U0JORDAN";-const OIDC = "oidc:11f23f7cabe8a3778c0651be5112f1cd67387728be3d94afe6d758964c05d3c6:NDI3NjQ0";-const EVIDENCE = "bookface email [email protected] matched the Slack-verified directory email";+const OIDC = "oidc:1111111111111111111111111111111111111111111111111111111111111111:am9yZGFu";+const EVIDENCE = "SSO email [email protected] matched the Slack-verified directory email";describe("principal link service: one person, several sign-ins", () => {it("links a sign-in to a canonical principal and resolves both directions", async () => {diff --git a/test/service-credential-route.test.ts b/test/service-credential-route.test.tsindex d3b32b3d6..7e0287df8 100644--- a/test/service-credential-route.test.ts+++ b/test/service-credential-route.test.ts@@ -1187,14 +1187,14 @@ test("the system prompt does NOT advertise a credential the session isn't entitltest("the published-apps switch defaults on, round-trips, survives a partial update, and rejects non-booleans", async () => {const srv = start();try {- await putCred(srv.base, { slug: "yc-data", name: "YC data", secret: "s", host: "relay.example" });- let loaded = (await getCfg(srv.base)).serviceCredentials.find((c) => c.slug === "yc-data")!;+ await putCred(srv.base, { slug: "acme-data", name: "Acme data", secret: "s", host: "relay.example" });+ let loaded = (await getCfg(srv.base)).serviceCredentials.find((c) => c.slug === "acme-data")!;assert.equal(loaded.deployments, true);assert.equal((await putCred(srv.base, {- slug: "yc-data",- name: "YC data",+ slug: "acme-data",+ name: "Acme data",host: "relay.example",deployments: false,expectedUpdatedAt: loaded.updatedAt,@@ -1202,24 +1202,24 @@ test("the published-apps switch defaults on, round-trips, survives a partial upd).status,200,);- loaded = (await getCfg(srv.base)).serviceCredentials.find((c) => c.slug === "yc-data")!;+ loaded = (await getCfg(srv.base)).serviceCredentials.find((c) => c.slug === "acme-data")!;assert.equal(loaded.deployments, false);assert.equal((await putCred(srv.base, {- slug: "yc-data",- name: "YC data renamed",+ slug: "acme-data",+ name: "Acme data renamed",host: "relay.example",expectedUpdatedAt: loaded.updatedAt,})).status,200,);- loaded = (await getCfg(srv.base)).serviceCredentials.find((c) => c.slug === "yc-data")!;+ loaded = (await getCfg(srv.base)).serviceCredentials.find((c) => c.slug === "acme-data")!;assert.equal(loaded.deployments, false, "a partial update keeps the switch as it was");const bad = await putCred(srv.base, {- slug: "yc-data",- name: "YC data",+ slug: "acme-data",+ name: "Acme data",host: "relay.example",deployments: "no",expectedUpdatedAt: loaded.updatedAt,diff --git a/test/service-credential-store.test.ts b/test/service-credential-store.test.tsindex 077b90638..6974af2bd 100644--- a/test/service-credential-store.test.ts+++ b/test/service-credential-store.test.ts@@ -273,10 +273,15 @@ test("env delivery validates its envKey; broker refuses one", async () => {test("a service credential is available to published apps by default; the switch persists and reads back through both views", async () => {const cfg = store();- await cfg.setServiceCredential(ORG, { slug: "yc-data", name: "YC data", secret: "s", host: "api.example" });+ await cfg.setServiceCredential(ORG, { slug: "acme-data", name: "Acme data", secret: "s", host: "api.example" });assert.equal((await cfg.listServiceCredentials(ORG))[0]!.deployments, true);- assert.equal((await cfg.getServiceCredentialSecret(ORG, "yc-data"))!.deployments, true);- await cfg.setServiceCredential(ORG, { slug: "yc-data", name: "YC data", host: "api.example", deployments: false });+ assert.equal((await cfg.getServiceCredentialSecret(ORG, "acme-data"))!.deployments, true);+ await cfg.setServiceCredential(ORG, {+ slug: "acme-data",+ name: "Acme data",+ host: "api.example",+ deployments: false,+ });assert.equal((await cfg.listServiceCredentials(ORG))[0]!.deployments, false);- assert.equal((await cfg.getServiceCredentialSecret(ORG, "yc-data"))!.deployments, false);+ assert.equal((await cfg.getServiceCredentialSecret(ORG, "acme-data"))!.deployments, false);});diff --git a/test/slack-allow-from.test.ts b/test/slack-allow-from.test.tsindex 78fb917a9..4952da1e8 100644--- a/test/slack-allow-from.test.ts+++ b/test/slack-allow-from.test.ts@@ -14,7 +14,7 @@ test("parseAllowFrom splits, lowercases, strips @-prefixes, and dedupes", () =>});test("normalizeAllowFrom accepts only strings", () => {- assert.deepEqual(normalizeAllowFrom(["YC.com", 7, null, "[email protected]"]), ["yc.com", "[email protected]"]);+ assert.deepEqual(normalizeAllowFrom(["Acme.test", 7, null, "[email protected]"]), ["acme.test", "[email protected]"]);assert.deepEqual(normalizeAllowFrom(undefined), []);});@@ -39,20 +39,20 @@ test("slackAccountConfigsFromEnv parses accounts as non-singleton email-keyed coconst accounts = slackAccountConfigsFromEnv({SLACK_ACCOUNTS: JSON.stringify([{- id: "w26",+ id: "workspace-a",botToken: "xoxb-a",appToken: "xapp-a",- allowFrom: ["YC.com", "[email protected]"],+ allowFrom: ["Acme.test", "[email protected]"],denyMessage: " Staff only. ",},{- id: "s26",+ id: "workspace-b",botToken: "xoxb-b",eventsMode: "http",signingSecret: "sig",eventsPort: 3111,apiUrl: "https://twin.example/api",- allowFrom: "yc.com",+ allowFrom: "acme.test",},]),});@@ -60,8 +60,8 @@ test("slackAccountConfigsFromEnv parses accounts as non-singleton email-keyed coassert.deepEqual(accounts.map((a) => [a.accountId, a.coreSingleton, a.identityEmail, a.allowFrom]),[- ["w26", false, "1", ["yc.com", "[email protected]"]],- ["s26", false, "1", ["yc.com"]],+ ["workspace-a", false, "1", ["acme.test", "[email protected]"]],+ ["workspace-b", false, "1", ["acme.test"]],],);assert.equal(accounts[0]!.denyMessage, "Staff only.");diff --git a/test/slack-index.integration.test.ts b/test/slack-index.integration.test.tsindex 14b970fe7..14d1d535b 100644--- a/test/slack-index.integration.test.ts+++ b/test/slack-index.integration.test.ts@@ -1659,19 +1659,19 @@ test("a gated account with a denyMessage answers direct approaches with it, onceconst f = await fixture({identityEmail: "1",allowFrom: ["[email protected]"],- denyMessage: "I only work with YC staff — ask your group partner.",+ denyMessage: "I only work with Acme staff — ask your administrator.",});try {await f.app.emitEvent("app_mention", { channel: "C1", user: "U2", text: "<@UBOT> help", ts: "500.1" });assert.equal(f.client.ephemerals.length, 1);assert.equal(f.client.ephemerals[0].user, "U2");- assert.equal(f.client.ephemerals[0].text, "I only work with YC staff — ask your group partner.");+ assert.equal(f.client.ephemerals[0].text, "I only work with Acme staff — ask your administrator.");await f.app.emitEvent("app_mention", { channel: "C1", user: "U2", text: "<@UBOT> hello?", ts: "500.2" });assert.equal(f.client.ephemerals.length, 1);await f.app.emitMessage({ channel: "D2", channel_type: "im", user: "U2", text: "hi", ts: "500.3" });assert.equal(f.client.posts.length, 1);assert.equal(f.client.posts[0].channel, "D2");- assert.equal(f.client.posts[0].text, "I only work with YC staff — ask your group partner.");+ assert.equal(f.client.posts[0].text, "I only work with Acme staff — ask your administrator.");await f.app.emitMessage({ channel: "D2", channel_type: "im", user: "U2", text: "hello??", ts: "500.4" });assert.equal(f.client.posts.length, 1);assert.equal(f.core.turns.length, 0);diff --git a/test/suggested-activities.test.ts b/test/suggested-activities.test.tsindex 4a0143a7d..b5b4572d0 100644--- a/test/suggested-activities.test.ts+++ b/test/suggested-activities.test.ts@@ -195,9 +195,9 @@ test("guidance updates managed task text while preserving user edits", async ()await f.service.get("alice", []);await f.settle();const id = (await f.crons.list())[0]!.id;- const updated = createSuggestedActivityService({ ...f.deps, context: "YC founder guidance" });+ const updated = createSuggestedActivityService({ ...f.deps, context: "Acme team guidance" });await updated.maintain();- assert.match((await f.crons.get(id))!.action!, /YC founder guidance/);+ assert.match((await f.crons.get(id))!.action!, /Acme team guidance/);await f.crons.update(id, { action: "My custom research task" });await createSuggestedActivityService({ ...f.deps, context: "Changed guidance" }).maintain();assert.equal((await f.crons.get(id))!.action, "My custom research task");