{ "head": "054da642f9b0680bd7743583e4c67266d7e14e2a", "paths": [ { "path": "packages/bus/src/broker.mjs", "hits": [ { "file": "packages/bus/tests/access-revoke.test.mjs", "line": 14, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/agents.test.mjs", "line": 9, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/approval-binding.test.mjs", "line": 7, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/broker.test.mjs", "line": 10, "text": "const { Broker } = await import('../src/broker.mjs').catch((e) => {" }, { "file": "packages/bus/tests/chief-of-staff.test.mjs", "line": 10, "text": "import { Broker, ACTIONS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/comment-cursors.test.mjs", "line": 7, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/creative.test.mjs", "line": 8, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/credential-status.test.mjs", "line": 12, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/credential-verbs.test.mjs", "line": 11, "text": "import { Broker, CREDENTIAL_VERBS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/csuite-messaging.test.mjs", "line": 12, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/daily-quota-runtime.test.mjs", "line": 10, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/decision-close.test.mjs", "line": 9, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/decision-route.test.mjs", "line": 12, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/decisions.test.mjs", "line": 9, "text": "import { Broker, RECENT } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/end-launch.test.mjs", "line": 9, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/fire-revokes-grants.test.mjs", "line": 15, "text": "import { Broker, GRANT_EVIDENCE, registrySha256 } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/gitea-grant-docker.test.mjs", "line": 15, "text": "import { Broker, GRANT_EVIDENCE } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/gitea-grant.test.mjs", "line": 12, "text": "import { Broker, GRANT_EVIDENCE, writeGrantEvent } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/grant-enroll.test.mjs", "line": 10, "text": "import { Broker, BusError, writeGrantEvent, registrySha256 } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/grant-executor.test.mjs", "line": 15, "text": "import { Broker, registrySha256, writeGrantEvent } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/grant-host.test.mjs", "line": 10, "text": "import { Broker, registrySha256 } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/grant-migration.test.mjs", "line": 10, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/hard-waits.test.mjs", "line": 7, "text": "import { Broker, ACTIONS, HARD_WAITS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/host-fixtures.mjs", "line": 6, "text": "import { registrySha256, writeGrantEvent } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/host-run.test.mjs", "line": 16, "text": "import { Broker, ORGANIZATION_KEYS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/host-run.test.mjs", "line": 181, "text": " // organization.set reaches the writer as limits.set (broker.mjs:1379)." }, { "file": "packages/bus/tests/instances-verb.test.mjs", "line": 11, "text": "import { Broker, LIFECYCLE_HUMAN_VERBS, ORGANIZATION_KEYS, TESTER_ORGANIZATION_VERBS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/land.test.mjs", "line": 18, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/launch-notice.test.mjs", "line": 8, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/launcher-released.test.mjs", "line": 8, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/library-sync.test.mjs", "line": 11, "text": "import { Broker, LIBRARY_VERBS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/library.test.mjs", "line": 8, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/lifecycle-verbs.test.mjs", "line": 11, "text": "import { Broker, LIFECYCLE_REQUEST_MS, TESTER_VERBS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/limit-checks.test.mjs", "line": 323, "text": " for (const file of ['../src/runtime.mjs', '../src/broker.mjs', '../src/process.mjs']) {" }, { "file": "packages/bus/tests/limit-stop.test.mjs", "line": 12, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/limits.test.mjs", "line": 7, "text": "import {Broker} from '../src/broker.mjs';" }, { "file": "packages/bus/tests/message-citation.test.mjs", "line": 6, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/message-filter.test.mjs", "line": 12, "text": "import { Broker, REPLIES } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/messages.test.mjs", "line": 3, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/messaging.test.mjs", "line": 8, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/names.test.mjs", "line": 8, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/peer-transport.test.mjs", "line": 9, "text": "import { BusError } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/peer-transport.test.mjs", "line": 47, "text": " const {TASK_VERBS,BusError}=await import('../src/broker.mjs');" }, { "file": "packages/bus/tests/plugins-verb.test.mjs", "line": 9, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/processing.test.mjs", "line": 6, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/project-await.test.mjs", "line": 7, "text": "import { Broker, BusError } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/project-files.test.mjs", "line": 8, "text": "import { PROJECT_FILE_VERBS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/project-runtime.test.mjs", "line": 13, "text": " const source = readFileSync(new URL('../src/broker.mjs', import.meta.url), 'utf8');" }, { "file": "packages/bus/tests/publish.test.mjs", "line": 14, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/publish.test.mjs", "line": 221, "text": " const { ACTIONS, HARD_WAITS } = await import('../src/broker.mjs');" }, { "file": "packages/bus/tests/reload.test.mjs", "line": 9, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/replies.test.mjs", "line": 11, "text": "import { Broker, REPLIES } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/requirements.test.mjs", "line": 10, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/review.test.mjs", "line": 14, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/routes-verb.test.mjs", "line": 13, "text": "import { Broker, ORGANIZATION_KEYS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/session-clear.test.mjs", "line": 10, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/session-compactions.test.mjs", "line": 9, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/sessions.test.mjs", "line": 10, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/single-use.test.mjs", "line": 7, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/spec-fixtures.mjs", "line": 6, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/staff-request.test.mjs", "line": 8, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/state.test.mjs", "line": 7, "text": "import { Broker, TASK_PAGE } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/task-page.test.mjs", "line": 7, "text": "import { Broker, TASK_PAGE, TASK_PAGE_MAX } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/task-read.test.mjs", "line": 7, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/tasks.test.mjs", "line": 9, "text": "import { Broker, BusError, TASK_VERBS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/tester-threads.test.mjs", "line": 11, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/tester-threads.test.mjs", "line": 284, "text": " // The row #specNotice (broker.mjs) writes for a human save of the spec in project stack. The save" }, { "file": "packages/bus/tests/tester-writes.test.mjs", "line": 10, "text": "import { Broker, TESTER_VERBS, TESTER_ORGANIZATION_VERBS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/tester.test.mjs", "line": 10, "text": "import { Broker, TASK_VERBS } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/thread-claims.test.mjs", "line": 11, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/thread-migration.test.mjs", "line": 11, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/thread-shares.test.mjs", "line": 14, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/threads.test.mjs", "line": 9, "text": "import { Broker, THREAD_PAGE } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/transport.test.mjs", "line": 8, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/usage-broker.test.mjs", "line": 7, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/user-principal.test.mjs", "line": 16, "text": "} from '../src/broker.mjs';" }, { "file": "packages/bus/tests/viewer.test.mjs", "line": 14, "text": "} from '../src/broker.mjs';" }, { "file": "packages/bus/tests/web.test.mjs", "line": 8, "text": "import { Broker, BusError, WEB_UNTRUSTED } from '../src/broker.mjs';" }, { "file": "packages/bus/tests/workflow-roles.test.mjs", "line": 11, "text": "import { Broker } from '../src/broker.mjs';" }, { "file": "packages/business/tests/workflow-roles.test.mjs", "line": 115, "text": " // Q169 (broker.mjs END_PROTECTED, #hardWait): revoking the assistant is a hard wait as well." }, { "file": "packages/business/tests/workflow-roles.test.mjs", "line": 136, "text": " // sage-0709: only recordLand spends a decision (broker.mjs #spent). checkLand refuses decision-consumed after" }, { "file": "packages/cli/tests/compactions-launch.test.mjs", "line": 24, "text": "import { BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/helpers.mjs", "line": 10, "text": "import { BusError, Broker } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/idle-stop-race.test.mjs", "line": 17, "text": "import { BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/instances.test.mjs", "line": 13, "text": "import { BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/lifecycle.test.mjs", "line": 19, "text": "import { BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/processing-cli.test.mjs", "line": 7, "text": "import { Broker } from '../../bus/src/broker.mjs';" }, { "file": "packages/cli/tests/session-clear.test.mjs", "line": 18, "text": "import { BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/session-launch.test.mjs", "line": 21, "text": "import { BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1993, "text": " for(const [f,text] of [['packages/cli/src/cli.mjs',id===A?'// fixture host from before row 163\\nprocess.exit(1);\\n':script(rHost)],['packages/webui/src/cli.mjs',script(rConsole)],['packages/bus/src/store.mjs',rStore(v,froms)],['packages/bus/src/migrate-schema.mjs',script(rMigrate)],['packages/bus/src/broker.mjs','export class BusError extends Error { constructor(code) { super(code); this.code = code; } }\\n']]){mkdirSync(dirname(join(d,f)),{recursive:true});writeFileSync(join(d,f),text)}" }, { "file": "packages/cli/tests/tester-reads.test.mjs", "line": 12, "text": "import { BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/tester-threads.test.mjs", "line": 14, "text": "import { BusError, Broker } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/tester.test.mjs", "line": 7, "text": "import { BusError, Broker } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/thread-cli.test.mjs", "line": 14, "text": "import { BusError, Broker } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/thread-launch.test.mjs", "line": 19, "text": "import { BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/cli/tests/thread-revoke.test.mjs", "line": 18, "text": "import { BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/harness/tests/runner.test.mjs", "line": 14, "text": "import { Broker, BusError } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/harness/tests/tools.test.mjs", "line": 4, "text": "import { ORGANIZATION_KEYS as BROKER_ORGANIZATION_KEYS, TASK_PAGE, TASK_PAGE_MAX } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/seat/tests/sandbox.test.mjs", "line": 15, "text": "import { Broker } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/seat/tests/session.test.mjs", "line": 11, "text": "import { Broker } from \"../../bus/src/broker.mjs\";" }, { "file": "packages/tasks/tests/fields.test.mjs", "line": 10, "text": "import { TASK_VERBS } from '../../bus/src/broker.mjs';" }, { "file": "packages/tasks/tests/fields.test.mjs", "line": 226, "text": " // decision back to that role (broker.mjs, decision.raise)." }, { "file": "packages/tasks/tests/world.mjs", "line": 5, "text": "import { Broker } from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/board-held.test.mjs", "line": 20, "text": "import { Broker } from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/bus-browser.test.mjs", "line": 11, "text": "import { Broker } from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/bus.test.mjs", "line": 13, "text": "import { Broker } from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/chat.test.mjs", "line": 191, "text": " const { Broker } = await import('../../bus/src/broker.mjs');" }, { "file": "packages/webui/tests/granted-user.test.mjs", "line": 16, "text": "import { Broker } from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/instances.test.mjs", "line": 15, "text": "import { BusError } from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/routes-browser.test.mjs", "line": 15, "text": "import {BusError} from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/routes.test.mjs", "line": 12, "text": "import { BusError } from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/send-browser.test.mjs", "line": 13, "text": "import { Broker } from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/sso-browser.test.mjs", "line": 14, "text": "import { Broker } from '../../bus/src/broker.mjs';" }, { "file": "packages/webui/tests/tester-fixture.mjs", "line": 12, "text": "import { Broker, BusError } from '../../bus/src/broker.mjs';" } ] }, { "path": "packages/bus/tests/creative.test.mjs", "hits": [] }, { "path": "packages/bus/tests/grant-executor.test.mjs", "hits": [] }, { "path": "packages/bus/tests/project-runtime.test.mjs", "hits": [] }, { "path": "packages/bus/tests/threads.test.mjs", "hits": [ { "file": "packages/bus/tests/launch-notice.test.mjs", "line": 13, "text": "// threads.test.mjs, so the thread case runs under the lists the stack runs." }, { "file": "packages/bus/tests/schema.test.mjs", "line": 519, "text": " // Row 121 (#1615) adds 5 tables and 24 triggers for projects and threads; threads.test.mjs tests them." }, { "file": "packages/bus/tests/tester-writes.test.mjs", "line": 3, "text": "// refuses it tester-refused. Row 177 (#1675) adds the thread verbs, tested in tester-threads.test.mjs." }, { "file": "packages/bus/tests/tester-writes.test.mjs", "line": 15, "text": "// Row 177 (#1675): thread.list left this list; the tester's lists its own threads (tester-threads.test.mjs)." }, { "file": "packages/cli/tests/tester-reads.test.mjs", "line": 107, "text": " // (tests/tester-threads.test.mjs)." } ] }, { "path": "packages/bus/tests/user-principal.test.mjs", "hits": [ { "file": "packages/bus/tests/thread-shares.test.mjs", "line": 23, "text": "// As user-principal.test.mjs: the access document is a function each test edits between requests." }, { "file": "packages/bus/tests/viewer.test.mjs", "line": 144, "text": "// pin in user-principal.test.mjs fails too. Carol is a collaborator, so the refusal isn't the level's." }, { "file": "packages/webui/tests/granted-user.test.mjs", "line": 4, "text": "// in-process Broker with an access function (bus/tests/user-principal.test.mjs), reached through a" } ] }, { "path": "packages/cli/src/launcher.mjs", "hits": [ { "file": "packages/cli/tests/compactions-launch.test.mjs", "line": 32, "text": "import { createLauncher } from \"../src/launcher.mjs\";" }, { "file": "packages/cli/tests/fixtures/launch-host.mjs", "line": 8, "text": "import { createLauncher } from \"../../src/launcher.mjs\";" }, { "file": "packages/cli/tests/idle-stop-race.test.mjs", "line": 5, "text": "// timing. The launcher skips a tick while one is running (launcher.mjs, the thread pass), so nothing" }, { "file": "packages/cli/tests/idle-stop-race.test.mjs", "line": 24, "text": "import { createLauncher } from \"../src/launcher.mjs\";" }, { "file": "packages/cli/tests/launch-account.test.mjs", "line": 8, "text": "import {createLauncher} from '../src/launcher.mjs';" }, { "file": "packages/cli/tests/launch-limit-checks.test.mjs", "line": 8, "text": "import {createLauncher} from '../src/launcher.mjs';" }, { "file": "packages/cli/tests/launch-limit-checks.test.mjs", "line": 73, "text": "test('REQ-LIMIT-4 the launcher reaches token-limit only through the bus: launcher.mjs imports no limit check',()=>{" }, { "file": "packages/cli/tests/launch-limit-checks.test.mjs", "line": 74, "text": " const src=readFileSync(fileURLToPath(new URL('../src/launcher.mjs',import.meta.url)),'utf8');" }, { "file": "packages/cli/tests/launch-limits.test.mjs", "line": 6, "text": "import {createLauncher} from '../src/launcher.mjs';" }, { "file": "packages/cli/tests/launch-routes.test.mjs", "line": 9, "text": "import {createLauncher} from '../src/launcher.mjs';" }, { "file": "packages/cli/tests/launcher.test.mjs", "line": 25, "text": "import { createLauncher } from \"../src/launcher.mjs\";" }, { "file": "packages/cli/tests/lifecycle.test.mjs", "line": 31, "text": "import { createLauncher } from \"../src/launcher.mjs\";" }, { "file": "packages/cli/tests/session-clear.test.mjs", "line": 25, "text": "import { createLauncher } from \"../src/launcher.mjs\";" }, { "file": "packages/cli/tests/session-launch.test.mjs", "line": 30, "text": "import { createLauncher } from \"../src/launcher.mjs\";" }, { "file": "packages/cli/tests/thread-launch.test.mjs", "line": 28, "text": "import { createLauncher } from \"../src/launcher.mjs\";" }, { "file": "packages/cli/tests/thread-revoke.test.mjs", "line": 25, "text": "import { createLauncher } from \"../src/launcher.mjs\";" } ] }, { "path": "packages/cli/tests/launcher.test.mjs", "hits": [ { "file": "packages/cli/tests/session-clear.test.mjs", "line": 292, "text": "// launcher.test.mjs's SIGTERM test does, and the TERM waits. The clear records uncertain once," }, { "file": "packages/cli/tests/verbs.test.mjs", "line": 4, "text": "// packages/seat/tests/session.test.mjs and tests/launcher.test.mjs." }, { "file": "packages/harness/tests/runner.test.mjs", "line": 727, "text": "// when landRelease answers released (packages/cli/tests/launcher.test.mjs has the launcher's side)," } ] }, { "path": "packages/cli/tests/thread-launch.test.mjs", "hits": [ { "file": "packages/cli/tests/idle-stop-race.test.mjs", "line": 8, "text": "// The host is in process, as in thread-launch.test.mjs, with the same fixture." }, { "file": "packages/cli/tests/idle-stop-race.test.mjs", "line": 65, "text": "// thread-launch.test.mjs's start(), with threadIdle replaced by the caller." }, { "file": "packages/cli/tests/lifecycle.test.mjs", "line": 6, "text": "// The host is in process, as in thread-launch.test.mjs: the real host proves a human CLI process" }, { "file": "packages/cli/tests/session-launch.test.mjs", "line": 10, "text": "// The host is thread-launch.test.mjs's: startBroker on bootConfig's config," }, { "file": "packages/cli/tests/session-launch.test.mjs", "line": 33, "text": "// the thread's id (as in thread-launch.test.mjs)." }, { "file": "packages/cli/tests/thread-revoke.test.mjs", "line": 8, "text": "// The host is thread-launch.test.mjs's, with an access file passed to startBroker, which the live" } ] }, { "path": "packages/webui/src/chat-http.mjs", "hits": [ { "file": "packages/webui/tests/chat.test.mjs", "line": 273, "text": " const { chatHTTP } = await import('../src/chat-http.mjs');" } ] }, { "path": "packages/webui/src/chat.mjs", "hits": [ { "file": "packages/webui/tests/channel-chat.test.mjs", "line": 5, "text": "import { createChat } from \"../src/chat.mjs\";" }, { "file": "packages/webui/tests/chat.test.mjs", "line": 4, "text": "import { createChat } from '../src/chat.mjs';" }, { "file": "packages/webui/tests/tester-fixture.mjs", "line": 17, "text": "import { createChat } from '../src/chat.mjs';" } ] }, { "path": "packages/webui/src/public/chat.js", "hits": [ { "file": "packages/webui/tests/browser.test.mjs", "line": 21, "text": " // Rows 129, 154, 191, 194 and 294: chat.js, editor.js, processing.js, agents.js and federation.js are the scripts added, same origin; the list is the pin, so another script is a visible change." }, { "file": "packages/webui/tests/browser.test.mjs", "line": 22, "text": " assert.deepEqual(await b.evaluate('[...document.querySelectorAll(\"script\")].map(s => s.getAttribute(\"src\"))'), ['/editor.js', '/processing.js', '/federation.js', '/brand.js', '/app.js', '/markdown-preview.js', '/chat.js', '/agents.js', '/bus.js']);" }, { "file": "packages/webui/tests/browser.test.mjs", "line": 24, "text": " assert.equal(await b.evaluate(`document.querySelectorAll('script[src=\"/chat.js\"]').length`), 1);" }, { "file": "packages/webui/tests/chat.test.mjs", "line": 319, "text": " for (const name of ['chat.js', 'chat.css']) {" } ] }, { "path": "packages/webui/src/serve.mjs", "hits": [ { "file": "packages/control-board/tests/discord.test.mjs", "line": 9, "text": "import { replyToRow, startServer } from '../src/serve.mjs';" }, { "file": "packages/control-board/tests/serve.test.mjs", "line": 24, "text": "import { isLoopbackHost, startServer, DEFAULT_AGENT_SEND, REPLY_LIMIT, REPLY_TRAILER, REFUSAL_STATUS } from \"../src/serve.mjs\";" }, { "file": "packages/control-board/tests/serve.test.mjs", "line": 69, "text": "// serve.mjs-specific helpers" }, { "file": "packages/conversation/tests/flows.test.mjs", "line": 15, "text": "import { replyToRow } from \"../../control-board/src/serve.mjs\";" }, { "file": "packages/webui/tests/agents-browser.test.mjs", "line": 9, "text": "import {startServer} from '../src/serve.mjs';" }, { "file": "packages/webui/tests/agents.test.mjs", "line": 12, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/assistant.test.mjs", "line": 6, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/board-held.test.mjs", "line": 22, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/browser-edge.test.mjs", "line": 6, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/bus-browser.test.mjs", "line": 13, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/bus.test.mjs", "line": 16, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/channel-chat.test.mjs", "line": 6, "text": "import { startServer } from \"../src/serve.mjs\";" }, { "file": "packages/webui/tests/chat-browser.test.mjs", "line": 4, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/chat-instances.test.mjs", "line": 7, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/chat.test.mjs", "line": 5, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/discord.test.mjs", "line": 6, "text": "import { startServer as startBoard } from '../../control-board/src/serve.mjs';" }, { "file": "packages/webui/tests/discord.test.mjs", "line": 9, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/docs-browser.test.mjs", "line": 8, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/editor-browser.test.mjs", "line": 7, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/fixture.mjs", "line": 6, "text": "import { startServer as startBoard } from '../../control-board/src/serve.mjs';" }, { "file": "packages/webui/tests/fixture.mjs", "line": 8, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/granted-user.test.mjs", "line": 18, "text": "import { startServer, userRoute } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/history-fixture.mjs", "line": 8, "text": "import { startServer as startBoard } from '../../control-board/src/serve.mjs';" }, { "file": "packages/webui/tests/history-fixture.mjs", "line": 10, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/instances-browser.test.mjs", "line": 8, "text": "import {startServer} from '../src/serve.mjs';" }, { "file": "packages/webui/tests/instances.test.mjs", "line": 13, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/library-cli.test.mjs", "line": 20, "text": " if(url.endsWith('/webui/src/serve.mjs'))return {format:'module',shortCircuit:true,source:${JSON.stringify(serveSource)}};" }, { "file": "packages/webui/tests/limits-browser.test.mjs", "line": 7, "text": "import {startServer} from '../src/serve.mjs';" }, { "file": "packages/webui/tests/limits-route.test.mjs", "line": 5, "text": "import {startServer} from '../src/serve.mjs';" }, { "file": "packages/webui/tests/messages.test.mjs", "line": 5, "text": "import {startServer} from '../src/serve.mjs';" }, { "file": "packages/webui/tests/preview.test.mjs", "line": 14, "text": "import { startServer, previewOptions } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/processing-browser.test.mjs", "line": 3, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/processing.test.mjs", "line": 8, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/project-file.test.mjs", "line": 6, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/proof.test.mjs", "line": 8, "text": "import * as serve from '../src/serve.mjs';" }, { "file": "packages/webui/tests/reads.test.mjs", "line": 11, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/relaunch.test.mjs", "line": 6, "text": "import { startServer as startBoard } from '../../control-board/src/serve.mjs';" }, { "file": "packages/webui/tests/relaunch.test.mjs", "line": 8, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/return-flow.test.mjs", "line": 13, "text": "import { startServer as startBoard } from '../../control-board/src/serve.mjs';" }, { "file": "packages/webui/tests/return-flow.test.mjs", "line": 15, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/routes-browser.test.mjs", "line": 12, "text": "import {startServer} from '../src/serve.mjs';" }, { "file": "packages/webui/tests/routes.test.mjs", "line": 10, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/send-browser.test.mjs", "line": 15, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/send.test.mjs", "line": 13, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/serve.test.mjs", "line": 8, "text": "import { startServer, boardURL, isLoopback } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/settings-form.test.mjs", "line": 5, "text": "import {startServer} from '../src/serve.mjs';" }, { "file": "packages/webui/tests/settings-write.test.mjs", "line": 5, "text": "import {startServer} from '../src/serve.mjs';" }, { "file": "packages/webui/tests/shell.test.mjs", "line": 15, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/sso-browser.test.mjs", "line": 16, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/sso.test.mjs", "line": 14, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/tester-listener.test.mjs", "line": 4, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/thread-claims-browser.test.mjs", "line": 5, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/thread-claims.test.mjs", "line": 9, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/thread-claims.test.mjs", "line": 60, "text": " if(url.endsWith('/webui/src/serve.mjs'))return {format:'module',shortCircuit:true,source:${JSON.stringify(serveSource)}};" }, { "file": "packages/webui/tests/usage-browser.test.mjs", "line": 4, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/usage.test.mjs", "line": 3, "text": "import { startServer } from '../src/serve.mjs';" }, { "file": "packages/webui/tests/views.test.mjs", "line": 15, "text": "import { startServer } from '../src/serve.mjs';" } ] }, { "path": "packages/webui/tests/chat-browser.test.mjs", "hits": [] }, { "path": "packages/webui/tests/chat-instances.test.mjs", "hits": [] }, { "path": "packages/webui/tests/chat.test.mjs", "hits": [] }, { "path": "packages/webui/src/public/bus.js", "hits": [ { "file": "packages/webui/tests/agents-browser.test.mjs", "line": 90, "text": " // Create names whether the bus must restart, in the words bus.js uses for the same answer (M63)." }, { "file": "packages/webui/tests/board-held.test.mjs", "line": 9, "text": "// the page arms (window.__polls, 'board' for app.js and 'bus' for bus.js). The sign-out test has the" }, { "file": "packages/webui/tests/board-held.test.mjs", "line": 40, "text": " // app.js and bus.js both poll with a 10000 delay. A timer is filed by the script that armed it, read" }, { "file": "packages/webui/tests/browser.test.mjs", "line": 22, "text": " assert.deepEqual(await b.evaluate('[...document.querySelectorAll(\"script\")].map(s => s.getAttribute(\"src\"))'), ['/editor.js', '/processing.js', '/federation.js', '/brand.js', '/app.js', '/markdown-preview.js', '/chat.js', '/agents.js', '/bus.js']);" }, { "file": "packages/webui/tests/bus.test.mjs", "line": 215, "text": " for (const path of ['/bus.js', '/bus.css']) assert.equal((await fetch(base + path)).status, 200, path);" }, { "file": "packages/webui/tests/docs-browser.test.mjs", "line": 174, "text": " // page's own window.MosaicMarkdown, replaced from outside; bus.js has no hook for this." }, { "file": "packages/webui/tests/editor.test.mjs", "line": 29, "text": " assert.ok(index.indexOf('src=\"/editor.js\"') < index.indexOf('src=\"/bus.js\"'), 'the editor loads before the page script, so bus.js can mount it');" }, { "file": "packages/webui/tests/granted-user.test.mjs", "line": 232, "text": " ['GET', '/app.js'], ['GET', '/bus.js'], ['GET', '/agents.js'], ['GET', '/editor.js'], ['GET', '/shared/app.css'], ['GET', '/index.html']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 40, "text": " const src = ['app.js', 'bus.js', 'index.html'].map(f => read(f).toString()).join('\\n');" }, { "file": "packages/webui/tests/shell.test.mjs", "line": 41, "text": " const plain = Object.fromEntries(['app.js', 'bus.js'].map(f => [f, read(f).toString().replace(/<\\/?(code|b)>/g, '')]));" }, { "file": "packages/webui/tests/shell.test.mjs", "line": 43, "text": " ['bus.js', 'Copied: ${text}']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 44, "text": " ['bus.js', 'The clipboard is unavailable. The command is selected; press Ctrl+C to copy it.']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 45, "text": " ['bus.js', 'Decisions are answered in a terminal with mosaic decide; Console only shows them.']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 46, "text": " ['bus.js', 'No task ${txt(ref)} in this business.', 2], ['bus.js', 'No decision with id ${txt(id)}.']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 47, "text": " ['bus.js', '${txt(b)} is not a decision id.'], ['bus.js', '${txt(b)} is not a task reference.']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 48, "text": " ['bus.js', 'No page at this address.'], ['app.js', 'Nothing is waiting on you.'], ['bus.js', 'Nothing is waiting on you.']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 49, "text": " ['bus.js', 'No tasks in this business yet.'], ['bus.js', 'Tasks appear after the PM creates them or the poller reads them from Vikunja.']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 50, "text": " ['bus.js', 'No open tasks.'], ['bus.js', 'No role is held right now.'], ['bus.js', 'Nothing of this kind in the trail.']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 51, "text": " ['bus.js', 'Console shows nothing rather than a guess. Nothing was written.']," }, { "file": "packages/webui/tests/shell.test.mjs", "line": 53, "text": " // No Resolve control. The board's Seen and reply are app.js's POSTs; bus.js has four explicit writes:" }, { "file": "packages/webui/tests/shell.test.mjs", "line": 58, "text": " const writes = read('bus.js').toString().match(/fetch\\([^;]*method:\\s*['\"](POST|PUT|PATCH|DELETE)[^;]*;/g) ?? [];" }, { "file": "packages/webui/tests/shell.test.mjs", "line": 60, "text": " assert.equal(read('bus.js').toString().split(/method:/).length - 1, 7);" }, { "file": "packages/webui/tests/shell.test.mjs", "line": 63, "text": " assert.deepEqual([...read('bus.js').toString().matchAll(/assistantPost\\(([^,]*),/g)].map(m => m[1]), ['url', \"'/api/settings'\", \"'/api/name'\", \"'/api/assistant-stop'\", \"'/api/name'\"]);" }, { "file": "packages/webui/tests/sso-browser.test.mjs", "line": 4, "text": "// fetch paths in app.js and both in bus.js (fetchRead and fetchApi) do it. The Sign out form shows" }, { "file": "packages/webui/tests/sso-browser.test.mjs", "line": 95, "text": " // bus.js fetchRead and fetchApi, on a page whose /api/config has no sso: the link comes from" } ] } ], "hexPins": [ { "file": "packages/bus/tests/account-migration.test.mjs", "line": 28, "text": " assert.equal(createHash('sha256').update(ddl3h).digest('hex'), 'bb2ba58175a111bb99681778911507846bef714a6d573f8a8af67580a3636950');" }, { "file": "packages/bus/tests/channel-proof.test.mjs", "line": 18, "text": " \"packages/bus/src/human.mjs\": \"0c6d96abe4607cba0b02b0638a2fc217ff8135bac9a47761a0ef015fbe9d3079\"," }, { "file": "packages/bus/tests/channel-proof.test.mjs", "line": 19, "text": " \"packages/bus/src/human-cli.mjs\": \"271b9781d73cf31cc562a56180e3ebcd725b5fde148a83347a201fdef2fc28af\"," }, { "file": "packages/bus/tests/channel-proof.test.mjs", "line": 20, "text": " \"packages/cli/src/transport.mjs\": \"5129c44b4d9f642e825344df65c9bfb4bac4fc8d6b25343b42d39853dbd40774\"," }, { "file": "packages/bus/tests/channel-proof.test.mjs", "line": 28, "text": " \"packages/webui/src/bus.mjs\": \"15e8123ffdbb6d067e8a516f5823efdb5de3c869963764f27cd14bb9e4ce3313\"," }, { "file": "packages/bus/tests/comment-migration.test.mjs", "line": 17, "text": " '179ffe356d4ff19a49b5ebad39b6c6bfd7771deb8e1b7c55b5e746f039d69e65');" }, { "file": "packages/bus/tests/gitea-migration.test.mjs", "line": 22, "text": " assert.equal(createHash('sha256').update(ddl3j).digest('hex'), '0a7b633ce7eec9d0bb37c3255f4244d97bd0c8eac38db91a11b4ef6cc982ec8c');" }, { "file": "packages/bus/tests/grant-migration.test.mjs", "line": 31, "text": " assert.equal(createHash('sha256').update(ddl3i).digest('hex'), '6cde5232c57ac04dc6073112c0830c89cfc5e953d7a5727e7716263747fe8737');" }, { "file": "packages/bus/tests/name-migration.test.mjs", "line": 18, "text": " assert.equal(createHash('sha256').update(ddl).digest('hex'), '472cbcd0d4548848873f3029e8250dc07bba4fb8db2a93241aae5b8e7e3771e2');" }, { "file": "packages/bus/tests/session-clear.test.mjs", "line": 496, "text": " assert.equal(createHash('sha256').update(ddl3m).digest('hex'), 'd5ca9bb9268994b175ac79d38939be4bb7f2e80bc0d9ea273eedaae50c29b8a9');" }, { "file": "packages/bus/tests/sessions.test.mjs", "line": 326, "text": " assert.equal(createHash('sha256').update(ddl3k).digest('hex'), 'aba9240825a35fdcc741439d0708efa33afcf519d11cac9952c7207ad99250f0');" }, { "file": "packages/bus/tests/spec-migration.test.mjs", "line": 16, "text": " assert.equal(createHash('sha256').update(ddl).digest('hex'), '21e6c091f14f818396f4d7836f381cc1389d45b2680ecaa1a00646b652c45050');" }, { "file": "packages/bus/tests/thread-migration.test.mjs", "line": 46, "text": " assert.equal(createHash('sha256').update(ddl3d).digest('hex'), 'e4f1de9e16d2fab5e051fd3810189b28cc76a670cfe573b752d9f53bf9ca39b5');" }, { "file": "packages/bus/tests/thread-shares.test.mjs", "line": 370, "text": " assert.equal(createHash('sha256').update(ddl3l).digest('hex'), 'cd68512212ce8bf8f5631138b2e63a340fa7b940088430649bb7784af7df162a');" }, { "file": "packages/bus/tests/usage-migration.test.mjs", "line": 18, "text": " assert.equal(createHash('sha256').update(ddl).digest('hex'), 'a79b3dbe6f4dfba10871c01ad8513ea290071eb8d8af2b87be6db52dbcf23428');" }, { "file": "packages/cli/tests/case1-accept.test.mjs", "line": 802, "text": " assert.equal(createHash('sha256').update(supervisor).digest('hex'),'34063098d7edb9067c11456165dc7535bc0e779d053c43599884d6b614528639');" }, { "file": "packages/cli/tests/case1-hostcheck.test.mjs", "line": 322, "text": " \"PIN_PROFILES_VERSION=4.0.1really4.0.1-0ubuntu0.24.04.9\\nPIN_PROFILE_SHA256=11d39094f044f0cda0febb3ad517b830301da6b2ce929664af09ee9e4dd264f9\\nPIN_BUBBLEWRAP_VERSION=0.9.0-1ubuntu0.3\");" }, { "file": "packages/cli/tests/case1-hostcheck.test.mjs", "line": 326, "text": " assert.deepEqual(fails(r), [`FAIL 1 ${PROFILE} sha256 is ${sha256(PROFILE_TEXT)}, not the pin 11d39094f044f0cda0febb3ad517b830301da6b2ce929664af09ee9e4dd264f9`]);" }, { "file": "packages/discord/tests/setspark.test.mjs", "line": 53, "text": " if (path === \"/v1/records/DEC-10\" && req.method === \"GET\") return json(200, { id: \"DEC-10\", record_type: \"decision\", revision: 1, title: \"Ask 100000000000000100\", required_approvers: [\"discord:100000000000000100\", \"100000000000000101\"], proposal_digest: \"12345678901234567890abcdef0123456789abcdef0123456789abcdef012345\", nested: { text: \"approver discord:100000000000000100\", \"199999999999999999\": \"keyed\" }, owner_id: 100000000000000100, note: `${\"x\".repeat(485)} 100000000000000101`, body: \"Ask <@100000000000000100> and <@!199999999999999999>.\" });" }, { "file": "packages/queue/tests/fixtures/queue-marked.md", "line": 119, "text": "2026-09-13: #1510 internal Filbert APPROVE AS SOURCE for exact R1, manifest SHA256 23a27014ce6f04ce8187d8495b2efe62b814c3c7d041b027f99b1ec4d490709d. Both verdict and subsequent nine-file hash supplement agree with frozen candidate. Darkwing persisted attributed approval and all nine pins through verified Darkwing API identity, receipt 26204. Filbert independently passed six fake-engine tests in working and frozen copies; five no-effect startup checks and config 24/24 remain author evidence. No live interoperability, publication or user acceptance claimed. Reviewed source/charter left unchanged; prior owners retain their edits." }, { "file": "packages/webui/tests/markdown-preview.test.mjs", "line": 251, "text": " assert.equal(digest, '5df9165a60cdd36d511fee74b2a25854e58ef4eade30f1acfd55f3c518cee249', 'the rendering matches the round 1 preview');" }, { "file": "packages/webui/tests/service.test.mjs", "line": 23, "text": "const UID = '6f1c0e2a9b8d7c4e5f3a2b1c0d9e8f7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e';" } ], "positiveControl": { "file": "packages/bus/tests/channel-proof.test.mjs", "pin": "packages/webui/src/bus.mjs", "sha256": "15e8123ffdbb6d067e8a516f5823efdb5de3c869963764f27cd14bb9e4ce3313", "matches": true }, "busJsUnchanged": true }