Unclaimed files left in the canonical checkout. Inventory: canonical-cleanup-inventory.md (commit-as-evidence groups). detect-secrets scan clean on 2026-11-02: hits are sha256 pins, git object ids, test sentinels already in tracked tests and unit-file lines.
114 lines
8.0 KiB
Plaintext
114 lines
8.0 KiB
Plaintext
== packages/business rc=0
|
||
✔ the role file loads and resolves through loadBusiness (5.083271ms)
|
||
✔ the shipped file is exactly the approved list (0.648175ms)
|
||
✔ the assistant's authority is message.send and record.write within role (1.651213ms)
|
||
✔ the assistant talks to the user and the chief of staff only, and no other shipped role is limited (0.537491ms)
|
||
✔ a business grant through limits does not widen the role (1.314651ms)
|
||
✔ a launch block whose by is the assistant is refused (1.371955ms)
|
||
✔ the instance takes no credential references and no tracker (2.166205ms)
|
||
✔ an arbiter whose role definition declares messaging lists is refused, for each kind (3.077566ms)
|
||
✔ an arbiter without messaging lists is accepted beside the limited assistant (1.677355ms)
|
||
✔ the contract passes work to the chief of staff and directs no one (0.560544ms)
|
||
✔ REQ-HARN-2: the assistant holds the web grant, and no other role file does (1.116906ms)
|
||
✔ record.write is within-role for the eleven approved v2 agents, never gated-only (2.231062ms)
|
||
✔ the four shipped version 2 roles load (3.50615ms)
|
||
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.170413ms)
|
||
✔ shipped authority follows the note's table (2.811524ms)
|
||
✔ every role file in roles/ loads through the validator, and a v2 contract exists (1.302146ms)
|
||
✔ version 1 files keep loading with no authority (1.241266ms)
|
||
✔ the conductor policy isn't a role (0.252578ms)
|
||
✔ a missing role file is exit 4, a symbolic link too (0.528537ms)
|
||
✔ version 2 refusals (1.851833ms)
|
||
✔ authority: closed vocabulary, no gated-only action, no overlap (1.57003ms)
|
||
✔ messaging: optional, role definitions and human, never the tester (1.334123ms)
|
||
✔ credentials: Gitea scopes (0.852713ms)
|
||
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.199865ms)
|
||
✔ credentials: services (0.658375ms)
|
||
✔ contract: a non-empty regular Markdown file beside the role file (1.033787ms)
|
||
✔ both definitions load, with a contract file, and are exactly the approved lists (2.233795ms)
|
||
✔ security-reviewer has no write or shell tool and classifies only the verdict as its own (3.982246ms)
|
||
✔ merge-gate's only grant is git.merge.protected cross-role, and it has no write tool (1.534559ms)
|
||
✔ neither role can be an arbiter: its messaging lists refuse the business file (row 133) (4.147899ms)
|
||
✔ every role contract carries the proactive line in its Authority section (0.585577ms)
|
||
✔ pm and chief-of-staff say where a raise goes under REQ-DEC-2 (0.387548ms)
|
||
ℹ tests 32
|
||
ℹ suites 0
|
||
ℹ pass 32
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 84.706995
|
||
== packages/bus rc=0
|
||
✔ each C-suite role file carries the same two lists: human, chief-of-staff, pm, cto (1.251466ms)
|
||
✔ chief-executive-officer: messages to and from the user, chief of staff, pm and cto pass (377.347233ms)
|
||
✔ chief-executive-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (355.964009ms)
|
||
✔ chief-executive-officer: another C-suite role isn't on the lists either (197.846607ms)
|
||
✔ chief-financial-officer: messages to and from the user, chief of staff, pm and cto pass (197.325869ms)
|
||
✔ chief-financial-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (188.937112ms)
|
||
✔ chief-financial-officer: another C-suite role isn't on the lists either (166.230381ms)
|
||
✔ chief-information-officer: messages to and from the user, chief of staff, pm and cto pass (201.886703ms)
|
||
✔ chief-information-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (270.546334ms)
|
||
✔ chief-information-officer: another C-suite role isn't on the lists either (237.008379ms)
|
||
✔ chief-information-security-officer: messages to and from the user, chief of staff, pm and cto pass (213.681778ms)
|
||
✔ chief-information-security-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (204.719678ms)
|
||
✔ chief-information-security-officer: another C-suite role isn't on the lists either (177.840033ms)
|
||
✔ chief-marketing-officer: messages to and from the user, chief of staff, pm and cto pass (209.12051ms)
|
||
✔ chief-marketing-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (191.519732ms)
|
||
✔ chief-marketing-officer: another C-suite role isn't on the lists either (170.190319ms)
|
||
✔ merge-gate's technical raise is cross-role, goes to the cto, and only merge-gate can use the approval (196.077389ms)
|
||
✔ merge-gate has no message.send, and without a domain its raise goes to the delivery arbiter (198.485257ms)
|
||
✔ the cto must be able to message merge-gate, or the technical raise is refused (row 133) (163.077352ms)
|
||
✔ security-reviewer answers a review with its verdict alone; it holds no message.send (202.785809ms)
|
||
ℹ tests 20
|
||
ℹ suites 0
|
||
ℹ pass 20
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 3421.140741
|
||
== packages/harness rc=1
|
||
✖ raise_decision offers domain as technical or delivery only, optional, and says where a raise goes (4.784735ms)
|
||
✔ raise_decision forwards domain to decision.raise, and a call without it sends none (166.977302ms)
|
||
✔ every role sees read_spec, record writer follows its grant, citation schemas stay strict (9.83724ms)
|
||
✔ typed socket forwards read content/history and agent record writes, and cannot write a spec (190.904919ms)
|
||
✔ the PM gets its task verbs and the reads, and no launch (5.969464ms)
|
||
✔ the chief of staff gets launch, send_message, end_run and change_organization, and no task verbs (2.08408ms)
|
||
✔ request_staff is the pm's alone: staff.request over message.send, roles and counts bounded (6.897692ms)
|
||
✔ end_run sends role and reason, no decision; change_organization sends revision and the organization keys (1.234013ms)
|
||
✔ the organization keys change_organization takes are the broker's ORGANIZATION_KEYS (0.075836ms)
|
||
✔ a role without role.end or organization.change gets neither tool, and each tool follows its own grant (4.855123ms)
|
||
✔ the assistant gets send_message, the reads and the web tools (it holds the web grant), no launch (0.827749ms)
|
||
✔ list_requirements reads the requirement ids, for a task.create holder with a tracker (1.698744ms)
|
||
✔ a coder gets no launch, no resolve_decision, and no task tools without a tracker (0.73561ms)
|
||
✔ a coder with a tracker gets its own task tools and no task_reassign (0.747751ms)
|
||
✔ launch only when the business's launch block names the instance as launcher (1.378356ms)
|
||
✔ an action outside the instance's authority has no tool (0.838366ms)
|
||
✔ the review loop: push_working and request_review for the coder, fetch_review and review_verdict for the reviewer, none for the PM (3.062227ms)
|
||
✔ land_work is there only with land, after push_working, with the task and the decision (1.761226ms)
|
||
✔ callTool: one JSON line out, the result back, a refusal rejects (6.938705ms)
|
||
✔ list_tasks takes the broker's filters and pages; get_task takes a task_ref (1.566437ms)
|
||
✔ callTool sends list_tasks done false unless the session names done; other tools as given (1.920595ms)
|
||
✔ replyText: compact JSON up to the cap, an error naming the size and the cap over it (0.471469ms)
|
||
✔ web_search's query maxLength is the web layer's SEARCH_MAX_QUERY_CHARS (1.840405ms)
|
||
ℹ tests 23
|
||
ℹ suites 0
|
||
ℹ pass 22
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 279.387267
|
||
|
||
✖ failing tests:
|
||
|
||
test at tests/raise-domain.test.mjs:11:1
|
||
✖ raise_decision offers domain as technical or delivery only, optional, and says where a raise goes (4.784735ms)
|
||
TypeError: Cannot read properties of undefined (reading 'type')
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/r149/packages/harness/tests/raise-domain.test.mjs:15:25)
|
||
at Test.runInAsyncScope (node:async_hooks:226:14)
|
||
at Test.run (node:internal/test_runner/test:1402:25)
|
||
at Test.start (node:internal/test_runner/test:1262:17)
|
||
at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17)
|