Repository navigation
Conversation
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
…-parts Signed-off-by: Guillaume Loret <[email protected]> # Conflicts: # apps/app/src/react-app/domains/session/control/list-control-sessions.ts # apps/app/src/react-app/domains/session/control/session-control-actions.ts # apps/server/src/opencode-plugins/openwork-extensions-preview.test.ts
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 4 Skipped Deployments
|
Session affordances + Warden redaction follow-upPassed: scoped feature proof at Private review upload lacks authenticated credentials; the documented fallback is all recorded sections in this comment. No screenshots or model judgments were needed. Pinned executable spec. Source records are 1. Descriptor contract — Passed (1 recorded assertion)Test: session tool descriptors advertise accepted enums, text defaults, caps and read-only activity. Run: Accepted enums/defaults match the descriptors; redaction/caps are advertised; unsupported scopes and invalid timestamps are rejected; activity declares read-only effects. 2. Synthetic HTTP transcript — Passed (2 recorded assertions)Test: HTTP transcript fixture preserves the prior reply and counts three session.create calls with one too_big outcome. Run:
3. Pinned Gitleaks credential witness — Passed (2 recorded assertions)Test: HTTP credential witness redacts unstructured secrets before tool caps and search. Run: Recorded evidence:
Revert-fails test — experimentally verifiedRemoved only production OPENWORK_EVAL_DAYTONA=0 OPENWORK_EVAL_ENGINE=v1 pnpm evals:pr specs/session-read-tool-parts.test.ts -t 'HTTP credential witness redacts unstructured secrets before tool caps and search'Exit 1: 1 failed, 3 filtered/skipped (not passed). Assertion: “raw credential must not survive production tool output” — assembled synthetic AWS credential survived. Mutant receipt: 4. Real isolated headless engine/app — Passed (3 recorded assertions)Test: session.read and session.activity expose a real isolated headless shell call without leaking tool data by default. Run:
Exact checksToolchain: pnpm 11.4.0, Bun 1.4.0, Node 24.20.0. Commands from repository root:
The previous head also passed app typecheck and 9 focused listing tests. Broader failures were reproduced in a clean detached control at Provenance, interface and negative space
Table shape: Covered IDs: aws-access-token, private-key, github-pat, github-oauth, github-app-token, github-fine-grained-pat, slack-bot-token, slack-user-token, slack-webhook-url, stripe-access-token, openai-api-key, anthropic-api-key, gcp-api-key, npm-access-token, gitlab-pat, jwt, generic-api-key (heuristic). Not covered: generic high-entropy strings without assignment context, provider families outside this selected table, decoding, upstream allowlists/stopwords/path rules, or a full v2 matrix. Shared/generated rules (option C) and arbitrary entropy-only detection are follow-ups; per-rule upstream entropy gates are implemented now. SHA1/UUID/base64 controls are not a universal false-positive guarantee. Rows changed: S01/S02, S15 listing extension, S21/S22, S39/S40, with explicit bounded fixture/v1 scope. No merge or history rewrite performed. Warden receipt — security High resolved, approval BLOCKEDRun 34678740436 at this exact head completed analysis. Its |
Warden review summary — BlockedNative findings: 1. Blocking policy matches before consolidation: 1. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (237853 ms), confidentiality-review (362481 ms), spec-provenance-review (384363 ms), desktop-den-sync-review (319670 ms), design-spec-review (324469 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Human-grade review (agent-assisted)Reviewed final head
Exact-head local verification
Final-head gate table
The verified Warden producer binding matches this PR/head and the integrated acceptance-receipt base. Its sanitized receipt is complete and reports Boundaries: no decoding or universal secret detection, no adversarial identifier covert-channel guarantee, no v2 claim. Detailed start/summary reads are page-local; activity deduplication is scan-local and offsets are snapshot-relative. The separate sidebar/subscription root cause is not repaired by these affordances. No merge performed. |
Supplementary local evidence — PR #4937FINAL SHA: Exact counters and boundaries
Code proof Passed: 41 selected tests, 84 recorded assertions (80 PR + 4 Electron); 259 supporting units and root/app, evals and server typechecks passed. The sequential log reached Merge gate remains owner-blocked on unresolved license High Publication fallback: canonical publisher Visual boundary: 88 selected artifacts = 84 passed assertion artifacts + 4 unvalidated reference PNGs, with 0 failed artifacts, 0 pending artifacts and 0 pending judgments. Electron's Provenance and reproductionAll 41 selected records carry ff80764, engine Each selected PR record has Log:
Reproduction from a dependency-installed final-head checkout: Node 24.20.0, pnpm 11.4.0, Bun 1.4.0. R1–R4 use development export conditions for PR specs. Unset NODE_OPTIONS for Electron using section 41's command. R1 — tool-parts (7 cases / 14 assertions) env -u OPENWORK_EVAL_DEN_API_URL NODE_OPTIONS=--conditions=development pnpm evals:pr specs/session-read-tool-parts.test.tsR2 — aliases (1 case / 33 assertions) env -u OPENWORK_EVAL_DEN_API_URL NODE_OPTIONS=--conditions=development pnpm evals:pr specs/session-model-aliases.test.tsR3 — PR repick (26 cases) env -u OPENWORK_EVAL_DEN_API_URL NODE_OPTIONS=--conditions=development pnpm evals:pr specs/session-model-repick.test.tsR4 — creation acceptance (6 cases / 7 assertions) env -u OPENWORK_EVAL_DEN_API_URL NODE_OPTIONS=--conditions=development pnpm evals:pr specs/session-create-acceptance.test.tsSupporting units and types bun --conditions=development test apps/server/src/opencode-plugins/openwork-extensions-preview.test.ts apps/server/src/opencode-plugins/openwork-provider-adapters.test.ts packages/enterprise-mcp-client/test/slack-mcp-compat.test.ts
NODE_OPTIONS=--conditions=development pnpm typecheck
NODE_OPTIONS=--conditions=development pnpm evals:typecheck
NODE_OPTIONS=--conditions=development pnpm --filter openwork-server typecheckAssertion evidence is embedded in the source records. Runtime fixture IDs, absolute paths and sensitive values are omitted. Repository-relative paths below identify local evidence, not hosted links. Final session-read-tool-parts — 7 passing cases1. session tool descriptors advertise accepted enums, text defaults, caps and read-only activityPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R1.
2. session detail regressions prove prompt isolation, shared redaction, 1301-part continuation, native before pagination and bounded incomplete scansPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R1.
bun --conditions=development test apps/server/src/opencode-plugins/openwork-extensions-preview.test.ts3. session detail regressions prove shared result bounds, cursor schema identity and descriptor driftPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R1.
bun --conditions=development test apps/server/src/opencode-plugins/openwork-provider-adapters.test.ts4. session detail regressions prove shared credential redaction compatibility and bounded long-uppercase normalizationPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R1.
pnpm --filter @openwork/enterprise-mcp-client exec tsx --test test/slack-mcp-compat.test.ts5. HTTP transcript fixture preserves the prior reply and counts three session.create calls with one too_big outcomePassed — 2 artifacts / 2 expectations; pending judgments 0. Repro: R1.
6. HTTP credential witness redacts unstructured secrets before tool caps and searchPassed — 3 artifacts / 3 expectations; pending judgments 0. Repro: R1.
7. session.read and session.activity expose a real isolated headless shell call without leaking tool data by defaultPassed — 5 artifacts / 5 expectations; pending judgments 0. Repro: R1.
Final session-model-aliases — 1 passing case8. session model aliases preserve workspace scope, canonical bindings, and safe read projectionsPassed — 33 artifacts / 33 expectations; pending judgments 0. Repro: R2. All entries passed; multiplicity preserves 33 recorded occurrences.
Final session-model-repick — 26 passing PR cases9. repick previews effective bindings, saves only confirmed scope, and preserves engine/default identitiesPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
10. headless stale sends write zero prompts; an explicit repick applies canonical ids and variant on next sendPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
11. invalid targets, changed previews and unavailable replacements cannot partially savePassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
12. bulk mutations fail closed without confirmation while dry-runs remain read-onlyPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
13. bulk repick rejects a source restored to the current catalog after previewPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
14. bulk matching uses exact provider and model ids, not labelsPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
15. healthy fresh sessions preserve model-free sending, never substituting defaults for stale bindingsPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
16. exact workspace repick bypasses unrelated offline inventories and rejects foreign targetsPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
17. catalog waits cannot race an archive, hold or newer local selection into a repickPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
18. exhausted queued repicks reject before reads even when args claim a fresh timestampPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
19. invalid and future internal timestamps fail closed for single and bulk repicksPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
20. near-expiry queued repicks time out on the remaining budget and late reads cannot savePassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
21. queued repicks keep a monotonic remaining budget across wall-clock rollbackPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
22. direct repick handlers retain their four-second bound and abandoned reads never save laterPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
23. repick uses one absolute budget and checks elapsed time even before timers runPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
24. activity starting during the final read prevents single and atomic bulk repicksPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
25. authoritative busy and retry states reject repicks even when local activity is emptyPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
26. unreadable and malformed authoritative statuses cannot authorize any local model savePassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
27. authoritative idle and omitted-idle maps permit local-only single and bulk repicksPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
28. status waits recheck local holds and selections before single and bulk persistencePassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
29. confirmed pending choices survive ordinary selections beyond the old 200-entry capPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
30. queue catalog checks use renderer identity, not a remote runtime's colliding workspace idPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
31. effective picker selection and slash commands honor engine binding, local repick and effortPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
32. canonical workspace aliases allow single and bulk repick but never admit neighboring directoriesPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
33. same-id effort changes and bulk selections publish model/variant atomicallyPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
34. suggested replacements prefer the same provider family then available workspace default, never silently picking another modelPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R3.
Final session-create-acceptance — 6 passing cases35. session.create bounds stalled workspace discovery headers without writesPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R4.
36. session.create bounds stalled workspace discovery body without writesPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R4.
37. session.create redacts and bounds discovery failures while retaining provider reasonsPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R4.
38. session.create redacts and bounds create failures while retaining provider reasonsPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R4.
39. session.create redacts and bounds prompt failures while retaining provider reasonsPassed — 1 artifact / 1 expectation; pending judgments 0. Repro: R4.
40. session.create reports asynchronous acceptance, preserves rejected session IDs, and never claims inference startedPassed — 2 artifacts / 2 expectations; pending judgments 0. Repro: R4.
Final local v1 Electron — Passed41. unavailable composer repick defaults to this session, previews all, and saves only confirmed local scope without sendingPassed — 4 assertion artifacts / 4 passed expectations; 0 failed expectations; 4 unvalidated reference images; 0 pending judgments.
SHA ff80764, engine v1, created 05:34:05.885 UTC, closed 05:35:03.491 UTC. Runner 1 passed / 0 failed / 0 skipped, 57.61s test / 58.20s total, verdict passed, exit 0. Placement local, surface electron, Daytona false, sandboxRef/sandboxSha/refMismatch null. Sequential log then recorded Raw record: env -u NODE_OPTIONS pnpm evals:e2e session-model-repick --local --engine v1Historical heads — excluded from final-head totalsPrior b6b0 complete proofHead
These and all other b6b0 records are historical; none was relabeled as ff807 evidence. Prior a711 complete proofHead
Historical 0c49 startup failure and corrected passBoth attempts belong to Environment failure: 04:36:49.193–04:39:25.166 UTC: 0 passed / 1 failed / 0 skipped, exit 1, total 156.60s. Inherited Corrected environment: 04:44:41.471–04:45:47.226 UTC: 1 passed / 0 failed / 0 skipped, 65.76s test / 66.37s total. Only environment changed, no code. Four assertions passed: isolated identity readability; choosing does not persist/send; explicit device-local single-scope repick; all-scope exclusion. Historical acf1 AWS negative controlHead
Control reproduction in disposable acf1 checkout with only that rule removed; restore before whole-spec rerun: env -u OPENWORK_EVAL_DEN_API_URL NODE_OPTIONS=--conditions=development pnpm evals:pr specs/session-read-tool-parts.test.ts -t 'HTTP credential witness redacts unstructured secrets before tool caps and search'Historical acf1 restored success — 7 passed / 13 assertionsRestored 04:21:19.804–04:21:37.419 UTC run: 7 passing cases / 13 passed artifacts and expectations / 0 pending judgments. Credential case recorded three passed assertions. Original paths:
Historical acf1 auto-Daytona skip — Incomplete, not passingSource: Closed 04:21:44.951 UTC, pnpm evals:e2e session-model-repickFinal accounting at ff807: code proof Passed — 41 tests, 84 assertions, 259 units, all three typechecks; zero selected failures/skips. Four reference images remain unvalidated nonclaims. Prior heads are historical only. License High VK7-5QK remains unresolved and owner-blocked. Canonical hosted publication remains unavailable without OPENWORK_REVIEW_URL. |
| @@ -6,4 +6,4 @@ export * from "./errors.js" | |||
| export * from "./requirements-discovery.js" | |||
There was a problem hiding this comment.
Public license attribution identifies an outside person
Move the outside-person attribution out of the public license artifact and retain it in an internal third-party attribution record. Clear when: the public license no longer contains the individual attribution, the internal record preserves it, and the public artifact still satisfies applicable licensing requirements.
Evidence
LICENSES/MIT.txt:7adds a copyright attribution naming an outside individual.LICENSES/MIT.txtis a repository-distributed public license artifact.apps/server/src/opencode-plugins/secret-patterns.tsandREUSE.tomltie the attribution to the derived rule table.- The identity is already publicly associated with the upstream project, so removing this line would not reverse existing disclosure.
Also found at 2 additional locations
apps/server/src/opencode-plugins/openwork-extensions-preview.ts:8apps/server/src/opencode-plugins/openwork-provider-adapters.ts:6
Identified by Warden · confidentiality-review · VK7-5QK
There was a problem hiding this comment.
Upstream copyright notice retained in LICENSES/MIT.txt as required by the MIT licence (REUSE-compliant SPDX reference from secret-patterns.ts); our own prose names no person. The earlier equivalent licence finding was auto-resolved by Warden, but this renewed High remains open for the repository owner’s confidentiality-review allowlist decision. No notice removal or review-policy change is made here.
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Summary
Agents can opt in to scrubbed, capped tool/reasoning details with
session.read.partsand tool search withsession.search.in, or request a bounded per-session activity summary. The session inventory exposes archive state and filtering, treating timestamp0as unarchived. Detailed reads and activity advertise page limits, continuation, and partial scope rather than implying complete results.No user-visible change; agent affordance only. This does not expose unscrubbed tool payloads or change ordinary default text projection. Activity omits prompt/message content, titles, and arbitrary failure payloads. It does not repair the separate sidebar/subscription root cause of invisible sessions; sidebar and transcript recovery are separate changes. Summary selection deliberately excludes a sole pre-tool assistant text part rather than presenting it as a final answer.
Context and integration
Merged current development changes without rewriting branch history, including #4950 acceptance receipts and bounded discovery, #4955 alias/model preflight, and #4979 model repick. The acceptance receipt remains one shared shape. Session scrubbing composes the pinned gitleaks rule table with shared credential handling; the conservative error-excerpt policy retains opaque-string detection, while selective session projection preserves ordinary hashes, UUIDs and image/base64 controls.
The rule table derives from the gitleaks project (MIT), pinned to upstream commit
b58d3f102cf3a2c84cb7f923d05c25c9b1aed84b. Attribution is distributed throughLICENSES/MIT.txtplus SPDX andREUSE.toml; the original copyright/permission notice is retained. No copyright exception is needed.Contracts and limits
countmessages, return at most 100 detailed parts per page, and cap input/output/error and per-message reasoning at 2,000 characters.partPageandhistoryadvertise continuation and clipping. Opt-in start/summary operate on the bounded page.before/X-Next-Cursorpaging is used. An 8 MiB HTTP page ceiling fails closed. Completed outputs exceeding 64,000 characters are marked uninspected, making the scan incomplete. Totals are scan-local unlessscope.complete; deduplication is scan-local, so pages must not be blindly summed. Offsets are snapshot-relative: restart if the transcript changes.packages/typesdefines shared limits, paging and result contracts; descriptor drift tests validate the advertised interface.Negative space
Covered gitleaks rule IDs:
aws-access-token,private-key,github-pat,github-oauth,github-app-token,github-fine-grained-pat,slack-bot-token,slack-user-token,slack-webhook-url,stripe-access-token,openai-api-key,anthropic-api-key,gcp-api-key,npm-access-token,gitlab-pat,jwt, and heuristicgeneric-api-key.Generic high-entropy strings without credential context and provider families outside this table are not covered. No decoding, upstream allowlists/stopwords, arbitrary entropy-only guarantee, adversarial identifier covert-channel guarantee, or v2 integration claim. Shared credential-key handling also removes short passwords, structured AWS/session/PKCE credentials, value-suffixed credential fields and authentication/credential containers (including raw JSON logs) while preserving benign diagnostic keys and explicit metadata suffixes. Tool search retains its existing message scan window.
Verification
At final candidate
ff807645c9e5def14090f116e74d1c22a8b92598, the explicitly requested local lane passed 259 units, 40 PR testkit tests, and 1 isolated local-v1 Electron regression; root, evals and server typechecks passed. This includes native paging, 1,301-part/session fixtures, PKCE/assertion scrubbing and a 200,000-character linear-normalization regression. The initial Electron startup failure was traced to inherited development export conditions; removingNODE_OPTIONSfor Electron passed without a code change. The earlier deliberate AWS-rule removal control failed as expected and is reported separately.Every selected test and its assertion evidence · Human-grade review. Hosted publication failed before upload because
OPENWORK_REVIEW_URLis unset; the documented comment fallback contains all 41 selected tests and 84 assertions, while preserving the CI-owned sticky. Four reference images are unvalidated and are not visual pass claims. Final required CI, CodeQL and technical Warden reviews pass. Merge clearance remains blocked on the repository owner’s license/confidentiality allowlist decision: the complete Warden receipt reports one High concerning the legally required MIT notice, and the clearance workflow withheld approval. No licence notice or review policy was removed to bypass it. See the final gate table.Reproduce:
pnpm evals:pr specs/session-read-tool-parts.test.ts; regression specssession-model-aliases.test.ts,session-model-repick.test.ts,session-create-acceptance.test.ts;pnpm typecheck;pnpm evals:typecheck;pnpm --filter openwork-server typecheck;env -u NODE_OPTIONS pnpm evals:e2e session-model-repick --local --engine v1.