paperclip/server/src/__tests__
Dotta 7cfb655f60
fix(worktree): disable automatic database backups (#10520)
## Thinking Path

> - Paperclip is the open source app people use to manage AI agents for
work
> - Paperclip creates isolated instances for linked git worktrees so
development does not affect the primary instance
> - Those instances inherited the source instance's automatic
database-backup setting and also repaired older configs without
overriding it
> - As worktrees accumulated, each isolated instance could schedule its
own backup stream, producing redundant backup churn for disposable
database clones
> - This pull request makes backup disablement an invariant of worktree
config creation and repair
> - The benefit is that automatic backups remain focused on the durable
primary instance while isolated development instances stop accumulating
redundant backup files

## Linked Issues or Issue Description

No public GitHub issue exists for this bug, so the report is included
here. The closest related open change is Refs #10266, which hardens
where worktree config repair may write; this PR changes the backup
policy applied by that repair and by worktree initialization.

### What happened?

Isolated worktree instances copied `database.backup.enabled` from their
source config. When the source instance enabled automatic backups (the
normal default), every linked worktree also enabled a scheduled backup
stream. Existing worktree configs kept that state during startup repair,
so the redundant backups continued after the policy changed.

### Expected behavior

Automatic database backups are disabled for isolated worktree instances
created by `paperclipai worktree init` or `paperclipai worktree:make`,
and legacy worktree configs are migrated to that policy during normal
startup repair. The durable primary/default instance keeps its existing
backup behavior.

### Steps to reproduce

1. Start from a Paperclip instance whose database backup setting is
enabled.
2. Create or initialize a linked worktree with `paperclipai worktree
init`.
3. Inspect the generated worktree config and environment.
4. Before this change, the config retained `database.backup.enabled:
true` and the environment had no disabling override; after this change,
the config is false and `PAPERCLIP_DB_BACKUP_ENABLED=false` is
persisted.

### Paperclip version, deployment mode, and environment

- Reproduced against `master` before commit `ea5e0a0269`.
- Deployment mode: local trusted development with linked git worktrees
and embedded PostgreSQL.
- Environment: Node.js 22, pnpm workspace install.

## What Changed

- Always generate isolated worktree configs with automatic backups
disabled.
- Persist `PAPERCLIP_DB_BACKUP_ENABLED=false` in generated worktree
environments.
- Repair existing isolated worktree configs and environments that still
enable backups.
- Add CLI and server regression coverage for creation and legacy repair
paths.
- Document the worktree-specific backup policy and primary-instance
exception.

## Verification

- `pnpm exec vitest run cli/src/__tests__/worktree.test.ts
server/src/__tests__/worktree-config.test.ts` — 52 tests passed.
- `pnpm -r typecheck` — passed.
- `pnpm build` — passed.
- All repository commands above were run with inherited worktree runtime
identity variables removed.

## Risks

- Low operational risk: the change is limited to explicitly isolated
worktree instances.
- Operators who intentionally relied on automatic backups of disposable
worktree databases will now need to run a manual backup or explicitly
manage those files outside the scheduled worktree runtime.
- No schema, migration, API, UI, lockfile, or workflow changes.

> For core feature work, check [`ROADMAP.md`](ROADMAP.md) first and
discuss it in `#dev` before opening the PR. Feature PRs that overlap
with planned core work may need to be redirected — check the roadmap
first. See `CONTRIBUTING.md`.

## Model Used

- OpenAI Codex based on GPT-5 (the runtime does not expose a more
specific snapshot ID or context-window value), using reasoning, tool
use, local code execution, and GitHub CLI integration.

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [x] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [x] All Paperclip CI gates are green
- [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge

---------

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-07-30 17:35:04 -07:00
..
fixtures fix(plugins): seed proactive company scopes before worker setup() + events.subscribe resolver parity (LOOA-695) (#10113) 2026-07-23 12:32:10 -07:00
helpers test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
README.md [codex] Add runtime lifecycle recovery and live issue visibility (#4419) 2026-04-24 15:50:32 -05:00
access-routes-permissions-upgrade.test.ts Improve external agent invite flow (#6183) 2026-05-23 09:09:40 -05:00
access-service.test.ts [codex] Add agent permissions and controls plan (#6386) 2026-05-22 08:12:52 -05:00
access-validators.test.ts feat: implement multi-user access and invite flows (#3784) 2026-04-17 09:44:19 -05:00
activity-log-responsible-user.test.ts feat: stamp responsible users on activity logs (#9731) 2026-07-16 20:54:55 -05:00
activity-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
activity-service.test.ts Speed up issue detail payloads (#9125) 2026-07-07 06:28:54 -05:00
adapter-model-refresh-routes.test.ts [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
adapter-models.test.ts feat(adapter-claude): add Claude Opus 5 to the static model fallback (#10327) 2026-07-28 16:25:25 -05:00
adapter-registry.test.ts fix(agents): disable cheap model profiles by default (#10019) 2026-07-27 19:11:51 -05:00
adapter-routes-authz.test.ts feat(server): computed owner instance-admin elevation for cloud-managed instances, behind platform floors (#10343) 2026-07-27 18:58:31 -07:00
adapter-routes.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
adapter-session-codecs.test.ts Make ACP the default engine for local adapters (#9238) 2026-07-08 19:05:03 -07:00
agent-adapter-validation-routes.test.ts [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
agent-auth-jwt.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
agent-auth-middleware.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
agent-cross-tenant-authz-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
agent-instructions-routes.test.ts [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
agent-instructions-service.test.ts fix: address latest Greptile runtime review 2026-03-23 19:43:50 -05:00
agent-invokability.test.ts [codex] prevent invalid agents from receiving assignments and runs (#7663) 2026-06-06 12:45:57 -05:00
agent-live-run-routes.test.ts [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
agent-permissions-routes.test.ts fix(agents): disable cheap model profiles by default (#10019) 2026-07-27 19:11:51 -05:00
agent-permissions-service.test.ts [codex] Gate skill mutations with skills:create permission (#8616) 2026-06-25 09:49:10 -05:00
agent-secrets-routes.test.ts feat(secrets): add run-bound agent secret access (#9921) 2026-07-22 08:04:39 -05:00
agent-shortname-collision.test.ts Auto-deduplicate agent shortname on join request approval 2026-03-06 13:54:58 -06:00
agent-skill-contract.test.ts Add unmanaged skill provenance to agent skills 2026-03-18 14:21:50 -05:00
agent-skills-routes.test.ts feat(skills): add beta releases for the core Paperclip skill (#10228) 2026-07-27 19:45:59 -05:00
agent-test-environment-routes.test.ts fix(sandbox): keep custom-image snapshots applied to config tests, probes, and saves (#9385) 2026-07-10 14:32:47 -07:00
agents-adapter-config-user-secret.test.ts feat(secrets): thread the acting user into user-scoped secret resolution (#10115) 2026-07-23 13:30:26 -07:00
agents-pending-approval-config.test.ts [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
agents-service-clear-error.test.ts fix(server): enforce agent secret binding sync across lifecycle flows (#8307) 2026-06-18 21:26:36 -07:00
agents-service-secret-bindings.test.ts feat(mcp) [split 3/8]: add tool access policy core (#9558) 2026-07-14 14:22:39 -05:00
api-compression.test.ts Fix apiCompression corrupting and dropping Better Auth responses for gzip clients (#9381) 2026-07-10 16:04:29 -05:00
app-hmr-port.test.ts [codex] Add agent permissions and controls plan (#6386) 2026-05-22 08:12:52 -05:00
app-private-hostname-gate.test.ts [codex] harden authenticated routes and issue editor reliability (#3741) 2026-04-15 08:41:15 -05:00
app-vite-dev-routing.test.ts [codex] fix worktree dev dependency ergonomics (#3743) 2026-04-15 09:47:29 -05:00
approval-routes-idempotency.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
approvals-service.test.ts [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
assets.test.ts [codex] Stabilize tests and local maintenance assets (#4423) 2026-04-24 15:11:42 -05:00
attachment-types.test.ts fix(server): accept Office issue attachments (#8562) 2026-07-21 10:47:33 -07:00
attention-service.test.ts Route blocked transitions to explicit unblock owners (#10112) 2026-07-23 15:49:28 -05:00
auth-routes.test.ts [codex] Stabilize tests and local maintenance assets (#4423) 2026-04-24 15:11:42 -05:00
auth-session-route.test.ts Let cloud tenant sessions reach companies they hold memberships in (#10524) 2026-07-30 16:36:50 -07:00
authorization-service.test.ts feat(server): computed owner instance-admin elevation for cloud-managed instances, behind platform floors (#10343) 2026-07-27 18:58:31 -07:00
authz-company-access.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
authz-existence-oracle-guard.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
authz-secret-context.test.ts feat(secrets): thread the acting user into user-scoped secret resolution (#10115) 2026-07-23 13:30:26 -07:00
aws-secrets-manager-provider.test.ts feat(secrets): write through external values and deep-link details (#10196) 2026-07-27 19:08:07 -05:00
better-auth.test.ts feat(mcp) [split 3/8]: add tool access policy core (#9558) 2026-07-14 14:22:39 -05:00
board-chat-route-feature-flag.test.ts feat(ui): NUX rework behind enableConferenceRoomChat experimental flag — capsule onboarding, conference-room chat, unified composer (#8000) 2026-06-11 16:32:55 -05:00
board-claim.test.ts Improve CLI API parity coverage (#6626) 2026-06-02 17:13:29 -07:00
board-mutation-guard.test.ts [codex] Allow cloud tenant import mutations without browser origin (#6378) 2026-05-19 14:25:58 -05:00
body-limits.test.ts [codex] Runtime control-plane fixes (#6380) 2026-05-20 10:37:11 -05:00
bootstrap-claim-routes.test.ts [codex] Add private browser first-admin claim flow (#6755) 2026-05-27 21:15:01 -10:00
budgets-service.test.ts [codex] Enforce backend execution release gates (#9089) 2026-07-06 16:33:36 -05:00
build-commit.test.ts fix(server): preserve source SHA without Git metadata (#9638) 2026-07-15 20:03:52 -05:00
build-version.test.ts fix(server): stamp the real build version into images instead of the package.json placeholder (#10257) 2026-07-25 10:06:28 -07:00
built-in-agent-routes.test.ts [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
built-in-agents.test.ts fix: prevent duplicate built-in agents and self-heal reconciliation (#10223) 2026-07-28 11:12:58 -07:00
bundled-plugins.test.ts Generalize bundled plugin provisioning: `ensureBundledKubernetesPlugin` → `ensureBundledPlugins` (#10063) 2026-07-22 20:35:51 -07:00
cases-routes.test.ts Cases: experimental first-class case object (#9198) 2026-07-09 22:11:03 -05:00
change-consent-gate.test.ts [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
claude-local-adapter-environment.test.ts Make ACP the default engine for local adapters (#9238) 2026-07-08 19:05:03 -07:00
claude-local-adapter.test.ts [codex] Retry max-turn exhausted heartbeats (#5096) 2026-05-03 11:30:48 -05:00
claude-local-execute.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
claude-local-skill-sync.test.ts feat(skills): remove bundled paperclip-dev skill and retire required skill attribute (#7029) 2026-06-20 21:58:44 -07:00
cleanup-removal-service.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
cli-auth-routes.test.ts Improve CLI API parity coverage (#6626) 2026-06-02 17:13:29 -07:00
cloud-image-bundled-plugins.test.ts ci: publish the cloud image in its own parallel job (#10408) 2026-07-28 15:38:01 -07:00
codex-auth-reconciliation.test.ts Fix Codex auth merge host-unusable fail closed (#9276) 2026-07-14 15:49:36 -07:00
codex-local-adapter-environment.test.ts Make ACP the default engine for local adapters (#9238) 2026-07-08 19:05:03 -07:00
codex-local-adapter.test.ts Add username log censor setting 2026-03-20 08:50:00 -05:00
codex-local-execute.test.ts fix(codex): classify mid-turn harness crashes structurally as retriable infra (#10210) 2026-07-24 16:40:47 -05:00
codex-local-skill-injection.test.ts [codex] Harden create-agent skill governance (#4422) 2026-04-24 14:15:28 -05:00
codex-local-skill-sync.test.ts feat(skills): remove bundled paperclip-dev skill and retire required skill attribute (#7029) 2026-06-20 21:58:44 -07:00
companies-route-cross-company-authz.test.ts Replace host-to-host Cloud Sync with full-fidelity company Import/Export (#10507) 2026-07-30 11:37:00 -07:00
companies-route-path-guard.test.ts Replace host-to-host Cloud Sync with full-fidelity company Import/Export (#10507) 2026-07-30 11:37:00 -07:00
companies-service.test.ts feat: add built-in summarizer and summary slots (#9713) 2026-07-17 11:03:07 -05:00
company-artifacts-service.test.ts feat(server): add per-user document stars (#9952) 2026-07-27 19:13:35 -05:00
company-branding-route.test.ts Replace host-to-host Cloud Sync with full-fidelity company Import/Export (#10507) 2026-07-30 11:37:00 -07:00
company-portability-import-batching.test.ts Harden company import: durable UI, async jobs, integrity guard, batched inserts (#10523) 2026-07-30 16:52:58 -07:00
company-portability-routes.test.ts Harden company import: durable UI, async jobs, integrity guard, batched inserts (#10523) 2026-07-30 16:52:58 -07:00
company-portability.test.ts Harden company import: durable UI, async jobs, integrity guard, batched inserts (#10523) 2026-07-30 16:52:58 -07:00
company-search-extract-routes.test.ts fix(search): honor extract match limits + harden pr-gardening candidate discovery (#9652) 2026-07-15 21:44:21 -05:00
company-search-extract-service.test.ts fix(search): honor extract match limits + harden pr-gardening candidate discovery (#9652) 2026-07-15 21:44:21 -05:00
company-search-rate-limit-routes.test.ts feat(search): filters, sorting, operators & command-palette parity (#9327) 2026-07-09 19:32:58 -05:00
company-search-service.test.ts feat(search): filters, sorting, operators & command-palette parity (#9327) 2026-07-09 19:32:58 -05:00
company-skill-import-boundary.test.ts feat(skills): open-by-default company skill policy and core UX (#9564) 2026-07-15 11:42:40 -05:00
company-skill-policy-routes.test.ts feat(skills): open-by-default company skill policy and core UX (#9564) 2026-07-15 11:42:40 -05:00
company-skill-policy-service.test.ts feat(skills): open-by-default company skill policy and core UX (#9564) 2026-07-15 11:42:40 -05:00
company-skill-test-runs-service.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
company-skills-catalog-service.test.ts feat: organize skills with nested folders and My Skills (#9633) 2026-07-16 15:50:45 -05:00
company-skills-detail.test.ts [codex] Speed up company skill detail loading (#4380) 2026-04-24 07:37:13 -05:00
company-skills-import-authz-routes.test.ts feat(skills): open-by-default company skill policy and core UX (#9564) 2026-07-15 11:42:40 -05:00
company-skills-routes.test.ts feat(skills): add managed skill rename API (#9688) 2026-07-30 15:29:31 -07:00
company-skills-service.test.ts feat(skills): add managed skill rename API (#9688) 2026-07-30 15:29:31 -07:00
company-skills.test.ts feat(skills): import skills from projects (#9620) 2026-07-15 18:01:44 -05:00
company-user-directory-route.test.ts feat: implement multi-user access and invite flows (#3784) 2026-04-17 09:44:19 -05:00
config-file.test.ts Fail loudly on invalid config files (#9041) 2026-07-21 10:18:45 -07:00
costs-service.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
cursor-local-adapter-environment.test.ts Add cursor sandbox support and fix SSH workspace sync (#4803) 2026-04-29 16:12:06 -07:00
cursor-local-adapter.test.ts Humanize run transcripts across run detail and live surfaces 2026-03-11 10:35:41 -05:00
cursor-local-execute.test.ts feat(skills): remove bundled paperclip-dev skill and retire required skill attribute (#7029) 2026-06-20 21:58:44 -07:00
cursor-local-skill-injection.test.ts feat(cursor): export skill injection helper and document auto-behaviors 2026-03-05 08:35:59 -06:00
cursor-local-skill-sync.test.ts feat(skills): remove bundled paperclip-dev skill and retire required skill attribute (#7029) 2026-06-20 21:58:44 -07:00
dashboard-service.test.ts fix: run restart recovery, workspace self-heal, quota-aware retries, failed-run metrics (#9183) 2026-07-07 20:30:09 -05:00
decision-training.test.ts feat: add decision training snapshot foundation (#9702) 2026-07-17 12:17:34 -05:00
dev-runner-output.test.ts Guard dev health JSON parsing 2026-04-06 21:23:33 -05:00
dev-runner-paths.test.ts [codex] Add backup endpoint and dev runtime hardening (#4087) 2026-04-20 06:08:55 -05:00
dev-runner-snapshot.test.ts Address dev runner snapshot review feedback 2026-06-01 22:03:51 +00:00
dev-runner-worktree.test.ts [codex] Bundle local branch fixes from PAP-10032 (#6604) 2026-05-25 07:25:26 -05:00
dev-server-status.test.ts [codex] UI and dev ops quality-of-life (#6384) 2026-05-19 15:52:39 -05:00
dev-watch-ignore.test.ts Harden dev-watch excludes for nested UI outputs 2026-03-26 12:35:19 -05:00
docker-entrypoint.test.ts fix: skip gosu when already running as target user (#2908) 2026-06-12 10:33:52 -07:00
document-annotation-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
document-annotations-service.test.ts [codex] Preserve plan review context in agent wakes (#8649) 2026-06-29 13:26:26 -05:00
documents-service.test.ts [codex] Add issue document locking (#6009) 2026-05-15 08:54:55 -05:00
documents.test.ts feat(issues): add issue documents and inline editing 2026-03-13 21:30:48 -05:00
effective-run-config-fingerprints.test.ts Refresh run config before reusing workspaces (#8797) 2026-06-30 14:50:25 -07:00
environment-config.test.ts Generalize sandbox provider core for plugin-only providers (#4449) 2026-04-24 18:03:41 -07:00
environment-custom-image-routes.test.ts Add browser SSH terminal for custom image setup (#8911) 2026-07-03 16:44:21 -07:00
environment-custom-image-terminal-ws.test.ts Add browser SSH terminal for custom image setup (#8911) 2026-07-03 16:44:21 -07:00
environment-custom-images-service.test.ts fix(sandbox): keep custom-image snapshots applied to config tests, probes, and saves (#9385) 2026-07-10 14:32:47 -07:00
environment-execution-target.test.ts fix(server): gate sandbox/ssh execution targets by shared remote-managed adapter capability (#10459) 2026-07-29 12:59:51 -07:00
environment-instance-routes.test.ts Add reusable sandbox custom images (#8794) 2026-06-30 09:57:49 -07:00
environment-live-ssh.test.ts External object references across issue surfaces (#8512) 2026-06-23 08:27:19 -05:00
environment-probe.test.ts fix(sandbox): keep custom-image snapshots applied to config tests, probes, and saves (#9385) 2026-07-10 14:32:47 -07:00
environment-routes.test.ts fix(server): accept secret_ref binding objects in sandbox provider environment config (#10355) 2026-07-28 10:50:13 -07:00
environment-run-orchestrator.test.ts fix(runtime): support in-place workspace realization (#10230) 2026-07-25 08:29:26 -05:00
environment-runtime-driver-contract.test.ts refactor(environments): make execution environments instance-scoped (#8375) 2026-06-20 09:42:53 -07:00
environment-runtime.test.ts refactor(sandbox): retire the dead noProfile flag from the exec path (#10461) 2026-07-29 14:21:57 -07:00
environment-selection-route-guards.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
environment-service.test.ts feat(server): computed owner instance-admin elevation for cloud-managed instances, behind platform floors (#10343) 2026-07-27 18:58:31 -07:00
environment-test-harness.test.ts Add sandbox environment support (#4415) 2026-04-24 12:15:53 -07:00
error-handler.test.ts feat(secrets): add user-specific runtime secrets (#8825) 2026-07-05 05:58:20 -05:00
execution-lock-orphan-cleanup.test.ts fix(heartbeat): clear orphan execution locks on every issue when a run finalizes (#4318) 2026-06-11 16:39:47 -07:00
execution-workspace-policy.test.ts feat(sandbox): add task-scoped egress grants (#10155) 2026-07-24 09:58:58 -05:00
execution-workspaces-routes.test.ts fix: repair dirty/foreign-branch execution worktrees (#9297) 2026-07-09 18:19:49 -05:00
execution-workspaces-service.test.ts fix(workspaces): persist readiness state and validate ports (#9408) 2026-07-11 03:02:21 -05:00
export-fidelity.test.ts Replace host-to-host Cloud Sync with full-fidelity company Import/Export (#10507) 2026-07-30 11:37:00 -07:00
express5-auth-wildcard.test.ts [codex] Stabilize tests and local maintenance assets (#4423) 2026-04-24 15:11:42 -05:00
external-object-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
external-objects-service.test.ts External object references across issue surfaces (#8512) 2026-06-23 08:27:19 -05:00
feedback-flush-controller.test.ts [codex] Runtime control-plane fixes (#6380) 2026-05-20 10:37:11 -05:00
feedback-service.test.ts External object references across issue surfaces (#8512) 2026-06-23 08:27:19 -05:00
feedback-share-client.test.ts Restore feedback trace export fixes 2026-04-03 15:59:42 -05:00
file-resources.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
first-admin-claim.test.ts [codex] Add private browser first-admin claim flow (#6755) 2026-05-27 21:15:01 -10:00
folders-routes.test.ts feat: organize skills with nested folders and My Skills (#9633) 2026-07-16 15:50:45 -05:00
folders-service.test.ts feat: organize skills with nested folders and My Skills (#9633) 2026-07-16 15:50:45 -05:00
forbidden-tokens.test.ts Redact current user in comments and token checks 2026-03-11 22:17:21 -05:00
gemini-local-adapter-environment.test.ts Make ACP the default engine for local adapters (#9238) 2026-07-08 19:05:03 -07:00
gemini-local-adapter.test.ts fix(gemini-local): treat token-overflow as a fresh-session signal (#4932) 2026-06-10 19:10:29 -07:00
gemini-local-execute.test.ts Make ACP the default engine for local adapters (#9238) 2026-07-08 19:05:03 -07:00
gemini-local-skill-sync.test.ts feat(skills): remove bundled paperclip-dev skill and retire required skill attribute (#7029) 2026-06-20 21:58:44 -07:00
google-sheets-gallery.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
grok-local-skill-sync.test.ts feat(skills): remove bundled paperclip-dev skill and retire required skill attribute (#7029) 2026-06-20 21:58:44 -07:00
health-dev-server-token.test.ts [codex] Add private browser first-admin claim flow (#6755) 2026-05-27 21:15:01 -10:00
health.test.ts Treat cloud-managed instances as bootstrapped in the health gate (#9912) 2026-07-20 15:59:08 -04:00
heartbeat-accepted-plan-workspace-refresh.test.ts test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
heartbeat-active-run-output-watchdog.test.ts feat(secrets): add user-specific runtime secrets (#8825) 2026-07-05 05:58:20 -05:00
heartbeat-agent-session-message.test.ts Fix issue descriptions in structured wake payloads (#10151) 2026-07-24 15:40:39 -05:00
heartbeat-archived-company-guard.test.ts [codex] prevent invalid agents from receiving assignments and runs (#7663) 2026-06-06 12:45:57 -05:00
heartbeat-auto-checkout.test.ts fix: repair dirty/foreign-branch execution worktrees (#9297) 2026-07-09 18:19:49 -05:00
heartbeat-comment-wake-batching.test.ts feat(secrets): add user-specific runtime secrets (#8825) 2026-07-05 05:58:20 -05:00
heartbeat-context-summary.test.ts Deduplicate wake-payload issue descriptions and compact resume deltas (#10216) 2026-07-24 16:35:07 -05:00
heartbeat-cost-accounting.test.ts fix(adapters): record unpriced CLI usage (#9505) 2026-07-13 20:44:38 -05:00
heartbeat-dependency-scheduling.test.ts test(heartbeat): await execution drain before cleanup (#10023) 2026-07-22 11:53:29 -05:00
heartbeat-issue-liveness-escalation.test.ts fix(test): drain in-flight heartbeat runs before liveness teardown (#10040) 2026-07-22 12:37:09 -07:00
heartbeat-issue-rewake-throttle.test.ts test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
heartbeat-ledger-billing-code.test.ts feat(cost-events): propagate issue.billing_code at heartbeat record time (#6821) 2026-07-22 13:05:28 -05:00
heartbeat-list.test.ts fix: upstream deployed document-comment, routine-annotation, workspace & board-polling fixes (#8536) 2026-06-23 09:00:14 -05:00
heartbeat-local-environment.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
heartbeat-lock-release-on-reassignment.test.ts fix(openclaw-gateway): complete and stabilize OpenClaw Gateway integration (#2322) 2026-06-11 23:31:39 -07:00
heartbeat-model-profile.test.ts fix(agents): disable cheap model profiles by default (#10019) 2026-07-27 19:11:51 -05:00
heartbeat-plugin-environment.test.ts feat(sandbox): add task-scoped egress grants (#10155) 2026-07-24 09:58:58 -05:00
heartbeat-process-recovery.test.ts fix(recovery): wake ambiguous successful runs on normal model (#10184) 2026-07-24 14:32:26 -05:00
heartbeat-project-env.test.ts feat(server): surface referenced-project sync warnings and enable multi-project sync by default (#10473) 2026-07-29 17:12:22 -07:00
heartbeat-referenced-projects.test.ts feat(server): surface referenced-project sync warnings and enable multi-project sync by default (#10473) 2026-07-29 17:12:22 -07:00
heartbeat-responsible-user-invariant.test.ts test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
heartbeat-retry-scheduling.test.ts test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
heartbeat-run-log.test.ts fix(codex): classify refresh auth failures (#9598) 2026-07-14 22:40:38 -07:00
heartbeat-run-status-payload.test.ts fix: deliver plugin agent session turns and replies (#10137) 2026-07-23 20:52:42 -07:00
heartbeat-run-summary.test.ts [codex] Add run liveness continuations (#4083) 2026-04-20 06:01:49 -05:00
heartbeat-runtime-mcp-servers.test.ts feat(connections): add v3 schema core (#9958) 2026-07-21 15:16:26 -05:00
heartbeat-runtime-skills.test.ts feat(skills): add beta releases for the core Paperclip skill (#10228) 2026-07-27 19:45:59 -05:00
heartbeat-runtime-state.test.ts Improve live agent feedback during sandboxed runs (#8915) 2026-07-02 22:21:56 -07:00
heartbeat-scheduling-suppression.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
heartbeat-stale-queue-invalidation.test.ts fix(server): bound accepted-interaction continuation recovery (#9656) 2026-07-16 02:34:20 -05:00
heartbeat-start-lock.test.ts [codex] Add runtime lifecycle recovery and live issue visibility (#4419) 2026-04-24 15:50:32 -05:00
heartbeat-timer-wake-session-reset-pf4.test.ts perf(heartbeat): reuse task sessions for issue-scoped timer wakes and bound control-plane write retries (#10350) 2026-07-27 22:01:29 -05:00
heartbeat-workspace-branch-containment.test.ts test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
heartbeat-workspace-finalize-branch.test.ts test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
heartbeat-workspace-session.test.ts feat: add built-in summarizer and summary slots (#9713) 2026-07-17 11:03:07 -05:00
heartbeat-worktree-suppression.test.ts test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
heartbeat-zombie-guard.test.ts fix(heartbeat): prevent zombie run coalescing and ensure startup reap completes before timer ticks (#1731) 2026-06-11 21:54:32 -07:00
hire-hook.test.ts fix(adapters): honor paused overrides and isolate UI parser state 2026-04-04 14:04:33 -05:00
http-log-policy.test.ts [codex] Add backup endpoint and dev runtime hardening (#4087) 2026-04-20 06:08:55 -05:00
http-log-redaction.test.ts fix: redact HTTP cookies from server logs (#7977) 2026-07-20 17:17:08 -05:00
inbox-agent-policy-routes.test.ts feat(inbox): let agents safely tidy user inboxes (#9724) 2026-07-16 16:49:18 -05:00
inbox-archive-routes.test.ts feat(inbox): let agents safely tidy user inboxes (#9724) 2026-07-16 16:49:18 -05:00
inbox-dismissals.test.ts feat: add attention queue and Decisions surface (#9380) 2026-07-10 17:09:57 -05:00
instance-database-backups-routes.test.ts feat(server): computed owner instance-admin elevation for cloud-managed instances, behind platform floors (#10343) 2026-07-27 18:58:31 -07:00
instance-settings-managed-overlay.test.ts Managed-instance config: fail-closed PAPERCLIP_MANAGED_CONFIG parsing and read-time settings overlay (#10058) 2026-07-22 19:48:43 -07:00
instance-settings-routes.test.ts Replace host-to-host Cloud Sync with full-fidelity company Import/Export (#10507) 2026-07-30 11:37:00 -07:00
instance-settings-service.test.ts Replace host-to-host Cloud Sync with full-fidelity company Import/Export (#10507) 2026-07-30 11:37:00 -07:00
instrumentation.test.ts feat(server): opt-in OpenTelemetry auto-instrumentation (#3735) 2026-06-12 10:44:22 -07:00
invite-accept-existing-member.test.ts [codex] Bundle local branch fixes from PAP-10032 (#6604) 2026-05-25 07:25:26 -05:00
invite-accept-gateway-defaults.test.ts fix(adapters/hermes-gateway): improve onboarding configuration (#8678) 2026-06-26 22:11:16 -05:00
invite-accept-replay.test.ts Remove legacy OpenClaw adapter and keep gateway-only flow 2026-03-07 18:50:25 -06:00
invite-create-route.test.ts [codex] Stabilize tests and local maintenance assets (#4423) 2026-04-24 15:11:42 -05:00
invite-expiry.test.ts feat: implement multi-user access and invite flows (#3784) 2026-04-17 09:44:19 -05:00
invite-join-grants.test.ts [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
invite-join-manager.test.ts Assign invite-joined agents to company CEO 2026-03-06 11:22:24 -06:00
invite-list-route.test.ts feat: implement multi-user access and invite flows (#3784) 2026-04-17 09:44:19 -05:00
invite-logo-route.test.ts feat: implement multi-user access and invite flows (#3784) 2026-04-17 09:44:19 -05:00
invite-onboarding-text.test.ts fix(adapters/hermes-gateway): improve onboarding configuration (#8678) 2026-06-26 22:11:16 -05:00
invite-rate-limit-route.test.ts feat(skills): open-by-default company skill policy and core UX (#9564) 2026-07-15 11:42:40 -05:00
invite-rate-limit.test.ts security(invites): widen invite-token entropy and rate-limit public invite endpoints (#8979) 2026-07-14 15:47:58 -07:00
invite-summary-route.test.ts [codex] Stabilize tests and local maintenance assets (#4423) 2026-04-24 15:11:42 -05:00
invite-test-resolution-route.test.ts [codex] Add runtime lifecycle recovery and live issue visibility (#4419) 2026-04-24 15:50:32 -05:00
invite-token-entropy.test.ts security(invites): widen invite-token entropy and rate-limit public invite endpoints (#8979) 2026-07-14 15:47:58 -07:00
issue-activity-events-routes.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
issue-agent-mutation-ownership-routes.test.ts Route blocked transitions to explicit unblock owners (#10112) 2026-07-23 15:49:28 -05:00
issue-assigned-backlog-contract-routes.test.ts fix: prevent duplicate task creation and recovery loops (#9648) 2026-07-16 17:00:53 -05:00
issue-attachment-routes.test.ts fix(server): accept Office issue attachments (#8562) 2026-07-21 10:47:33 -07:00
issue-blocker-attention.test.ts fix(server): suppress stale handoff alarms during live continuation (#9695) 2026-07-16 10:49:47 -05:00
issue-blocker-diagnostics-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
issue-closed-workspace-routes.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
issue-comment-cancel-routes.test.ts feat: add decision training snapshot foundation (#9702) 2026-07-17 12:17:34 -05:00
issue-comment-redaction.test.ts cloud_tenant: company-scoped tenants, never instance-admin (#7525) 2026-06-11 17:59:32 -07:00
issue-comment-reopen-routes.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
issue-continuation-summary.test.ts fix: harden release registry verification against npm lag (#4816) 2026-05-09 22:18:12 -07:00
issue-create-deduplication-routes.test.ts fix: prevent duplicate task creation and recovery loops (#9648) 2026-07-16 17:00:53 -05:00
issue-dependency-wakeups-routes.test.ts Route blocked transitions to explicit unblock owners (#10112) 2026-07-23 15:49:28 -05:00
issue-document-restore-routes.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
issue-execution-policy-routes.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
issue-execution-policy.test.ts fix(server): clarify execution policy decision comments (#9105) 2026-07-30 16:26:35 -07:00
issue-feedback-routes.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
issue-goal-fallback.test.ts Seed onboarding project and issue goal context 2026-03-24 11:48:59 -05:00
issue-identifier-routes.test.ts cloud_tenant: company-scoped tenants, never instance-admin (#7525) 2026-06-11 17:59:32 -07:00
issue-list-assignee-filter-routes.test.ts fix(server): suppress stale handoff alarms during live continuation (#9695) 2026-07-16 10:49:47 -05:00
issue-liveness.test.ts fix(server): restore stranded recovery continuations (#9630) 2026-07-15 16:41:39 -05:00
issue-monitor-scheduler.test.ts fix(recovery): wait for provider quota resets (#9635) 2026-07-16 09:24:38 -05:00
issue-recovery-actions.test.ts fix(recovery): wait for provider quota resets (#9635) 2026-07-16 09:24:38 -05:00
issue-references-service.test.ts Add first-class issue references (#4214) 2026-04-21 10:02:52 -05:00
issue-rewake-throttle.test.ts fix(heartbeat): throttle redundant issue re-wakes (#9470) 2026-07-12 20:38:27 -05:00
issue-scheduled-retry-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
issue-stale-execution-lock-routes.test.ts fix(server): preserve terminal status on issue release (#7524) 2026-07-21 10:07:59 -07:00
issue-subtree-diagnostics-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
issue-telemetry-routes.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
issue-thread-interaction-routes.test.ts feat(interactions): add interaction withdrawal and terminal-issue expiry (#10251) 2026-07-27 19:04:46 -05:00
issue-thread-interactions-service.test.ts feat(interactions): add interaction withdrawal and terminal-issue expiry (#10251) 2026-07-27 19:04:46 -05:00
issue-thread-interactions-telemetry.test.ts Emit interaction resolved telemetry (#8824) 2026-07-01 13:43:11 -07:00
issue-tree-control-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
issue-tree-control-service-unit.test.ts [codex] Add issue subtree pause, cancel, and restore controls (#4332) 2026-04-23 14:51:46 -05:00
issue-tree-control-service.test.ts [codex] Clarify interrupt handoffs and scoped wake semantics (#7855) 2026-06-09 21:57:21 -05:00
issue-update-comment-wakeup-routes.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
issue-wake-diagnostics-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
issue-watchdogs-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
issue-workspace-command-authz.test.ts Skill Studio: three-pane skill IDE with sandboxed test runs (#9241) 2026-07-09 13:08:56 -05:00
issues-checkout-wakeup.test.ts Cut over OpenClaw adapter to strict SSE streaming 2026-03-05 15:54:55 -06:00
issues-goal-context-routes.test.ts feat(inbox): let agents safely tidy user inboxes (#9724) 2026-07-16 16:49:18 -05:00
issues-list-query-parsing.test.ts fix(issues): accept array-form ?status= filter and stop crashing on repeated keys (#4628) (#4890) 2026-06-11 21:52:43 -07:00
issues-service.test.ts test(server): relocate referenced-project run-prep tests to a dedicated file (#10446) 2026-07-29 10:22:01 -07:00
issues-user-context.test.ts Normalize derived issue timestamps to avoid 500s 2026-03-06 09:03:27 -06:00
join-request-dedupe.test.ts feat: implement multi-user access and invite flows (#3784) 2026-04-17 09:44:19 -05:00
json-schema-secret-refs.test.ts fix(server): accept secret_ref binding objects in sandbox provider environment config (#10355) 2026-07-28 10:50:13 -07:00
live-events-ws.test.ts fix(server): harden live events upgrade sockets (#8383) 2026-06-20 11:32:49 -07:00
llms-routes.test.ts [codex] Add built-in Hermes adapters (#8543) 2026-06-26 16:04:58 -05:00
log-redaction.test.ts Add username log censor setting 2026-03-20 08:50:00 -05:00
logger-tz.test.ts [codex] Harden execution reliability and heartbeat tooling (#3679) 2026-04-14 13:34:52 -05:00
low-trust-red-team-routes.test.ts test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
managed-config.test.ts feat(server): provision managed sandbox environments from the managed config (#10324) 2026-07-27 12:00:21 -07:00
mcp-http.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
monthly-spend-service.test.ts [codex] prevent invalid agents from receiving assignments and runs (#7663) 2026-06-06 12:45:57 -05:00
multilingual-issues-routes.test.ts cloud_tenant: company-scoped tenants, never instance-admin (#7525) 2026-06-11 17:59:32 -07:00
openapi-routes.test.ts Replace host-to-host Cloud Sync with full-fidelity company Import/Export (#10507) 2026-07-30 11:37:00 -07:00
openclaw-gateway-adapter.test.ts fix(openclaw-gateway): drop root paperclip params (#4416) 2026-06-23 16:32:15 -07:00
openclaw-invite-prompt-route.test.ts [codex] Harden same-company CEO authorization (#8276) 2026-06-22 10:34:13 -05:00
opencode-local-adapter-environment.test.ts Address PR feedback: keep testEnvironment non-destructive, warn on swallowed errors 2026-03-07 15:50:14 -05:00
opencode-local-adapter.test.ts Humanize run transcripts across run detail and live surfaces 2026-03-11 10:35:41 -05:00
opencode-local-skill-sync.test.ts feat(skills): remove bundled paperclip-dev skill and retire required skill attribute (#7029) 2026-06-20 21:58:44 -07:00
paperclip-env.test.ts Fix SSH callback URL selection for LAN and private networks (#4799) 2026-04-29 15:56:17 -07:00
paperclip-skill-utils.test.ts fix(ui): keep issue threads from jumping to latest comment (#9354) 2026-07-10 11:59:53 -05:00
parse-status-filter.test.ts fix(issues): accept array-form ?status= filter and stop crashing on repeated keys (#4628) (#4890) 2026-06-11 21:52:43 -07:00
permissions-upgrade-boundary-routes.test.ts feat(adapter-utils): generic per-asset lifecycle-contribution seam (#9778) 2026-07-17 14:18:01 -05:00
pi-local-adapter-environment.test.ts Improve Pi adapter diagnostics 2026-03-14 21:11:06 -05:00
pi-local-execute.test.ts feat(skills): remove bundled paperclip-dev skill and retire required skill attribute (#7029) 2026-06-20 21:58:44 -07:00
pi-local-skill-sync.test.ts feat(skills): remove bundled paperclip-dev skill and retire required skill attribute (#7029) 2026-06-20 21:58:44 -07:00
pipelines-routes.test.ts [codex] Add pipeline automation title templates (#8787) 2026-06-30 07:52:40 -07:00
pipelines-service.test.ts feat(secrets): add user-specific runtime secrets (#8825) 2026-07-05 05:58:20 -05:00
plugin-access-authorization-host-services.test.ts [codex] Add agent permissions and controls plan (#6386) 2026-05-22 08:12:52 -05:00
plugin-agent-sessions.test.ts fix: deliver plugin agent session turns and replies (#10137) 2026-07-23 20:52:42 -07:00
plugin-config-startup-delivery.test.ts fix(plugin-loader): deliver stored config to freshly-started plugin workers (#10092) 2026-07-23 09:34:42 -07:00
plugin-database.test.ts feat(server): kubernetes execution integration for sandbox-provider plugins (stage 2/3) (#7938) 2026-06-10 21:09:02 -07:00
plugin-dev-watcher.test.ts [codex] Improve local plugin development workflow (#5821) 2026-05-12 17:38:24 -05:00
plugin-environment-driver-ready-recovery.test.ts Recover managed bundled plugin workers on demand (#10429) 2026-07-29 12:50:16 -07:00
plugin-environment-driver-seam.test.ts Add reusable sandbox custom images (#8794) 2026-06-30 09:57:49 -07:00
plugin-execution-workspace-bridge.test.ts test: align current-master regression expectations (#9577) 2026-07-14 14:03:03 -05:00
plugin-install-autobuild.test.ts feat(skills): import skills from projects (#9620) 2026-07-15 18:01:44 -05:00
plugin-install-guard.test.ts Harden `POST /plugins/install`: canonicalize `localPath` for all instances; bundled-only floor for managed instances (#10067) 2026-07-22 20:48:41 -07:00
plugin-install-route-security.test.ts Harden `POST /plugins/install`: canonicalize `localPath` for all instances; bundled-only floor for managed instances (#10067) 2026-07-22 20:48:41 -07:00
plugin-lifecycle-restart.test.ts [codex] Runtime control-plane fixes (#6380) 2026-05-20 10:37:11 -05:00
plugin-local-folders.test.ts [codex] Roll up May 17 branch changes (#6210) 2026-05-17 17:15:06 -05:00
plugin-managed-agents.test.ts Expand plugin host surface (#5205) 2026-05-05 07:42:57 -05:00
plugin-managed-routines.test.ts feat(routines): expose activity gate API (#9438) 2026-07-24 16:47:24 -05:00
plugin-managed-skills.test.ts [codex] Add LLM Wiki plugin host support (#5597) 2026-05-10 07:34:12 -05:00
plugin-orchestration-apis.test.ts test(server): drain heartbeat runs to quiescence in sibling suite teardown (#10464) 2026-07-29 14:23:12 -07:00
plugin-routes-authz.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
plugin-sandbox-provider-config-validation.test.ts fix(server): accept secret_ref binding objects in sandbox provider environment config (#10355) 2026-07-28 10:50:13 -07:00
plugin-scoped-api-routes.test.ts Expand plugin host surface (#5205) 2026-05-05 07:42:57 -05:00
plugin-sdk-orchestration-contract.test.ts Expand plugin host surface (#5205) 2026-05-05 07:42:57 -05:00
plugin-sdk-testing.test.ts feat(plugin-sdk): interactions/approvals respond + attachment read capabilities for the chat gateway (#10066) 2026-07-22 21:30:34 -07:00
plugin-secrets-handler.test.ts feat(mcp) [split 2/8]: add governed access contracts (#9557) 2026-07-14 12:57:20 -05:00
plugin-telemetry-bridge.test.ts Implement generated client telemetry types (#8818) 2026-07-01 11:39:39 -07:00
plugin-tenant-isolation.test.ts feat(security): plugin tables get company_id FK for tenant isolation (#5865) 2026-06-12 10:17:19 -07:00
plugin-tool-dispatcher-pluginDbId.test.ts fix(plugin-tool-dispatcher): propagate pluginDbId so worker.isRunning resolves (#5671) 2026-06-03 19:13:21 -07:00
plugin-ui-static.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
plugin-worker-manager.test.ts fix(server): honor explicit plugin RPC timeouts (#10460) 2026-07-29 14:27:23 -07:00
private-hostname-guard.test.ts [codex] Harden execution reliability and heartbeat tooling (#3679) 2026-04-14 13:34:52 -05:00
productivity-review-service.test.ts fix: prevent duplicate task creation and recovery loops (#9648) 2026-07-16 17:00:53 -05:00
project-goal-telemetry-routes.test.ts Implement generated client telemetry types (#8818) 2026-07-01 11:39:39 -07:00
project-icon-persistence.test.ts Information Architecture + project/agent visual refresh (experimental) (#7543) 2026-06-06 09:17:27 -05:00
project-list-metrics.test.ts Information Architecture + project/agent visual refresh (experimental) (#7543) 2026-06-06 09:17:27 -05:00
project-routes-env.test.ts Add low-trust review containment (#7530) 2026-06-05 16:48:02 -05:00
project-shortname-resolution.test.ts feat: deduplicate project shortnames on create and update 2026-03-07 08:59:34 -06:00
projects-list-archived-routes.test.ts Exclude archived projects from the default project list route (#10146) 2026-07-24 07:19:58 -07:00
qa-routine-secrets-e2e.test.ts feat(secrets): add user-specific runtime secrets (#8825) 2026-07-05 05:58:20 -05:00
quota-windows-service.test.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
quota-windows.test.ts fix(codex): classify refresh auth failures (#9598) 2026-07-14 22:40:38 -07:00
recovery-classifiers.test.ts [codex] Add issue monitor liveness controls (#4988) 2026-05-03 08:58:53 -05:00
recovery-observability.test.ts feat(server): recovery observability report and rate alert (#9644) 2026-07-16 02:34:00 -05:00
recovery-stale-issue-lock-sweep.test.ts Clear stale checkoutRunId on run finalization and add backstop sweeper (#6008) 2026-06-10 09:33:21 -05:00
redact-sensitive.test.ts feat(skills): open-by-default company skill policy and core UX (#9564) 2026-07-15 11:42:40 -05:00
redaction.test.ts [codex] Roll up May 17 branch changes (#6210) 2026-05-17 17:15:06 -05:00
remote-http-endpoint-guard.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
resource-memberships-routes.test.ts feat(server): add per-user document stars (#9952) 2026-07-27 19:13:35 -05:00
routable-blocked.test.ts Route blocked transitions to explicit unblock owners (#10112) 2026-07-23 15:49:28 -05:00
routine-document-annotation-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
routine-run-telemetry.test.ts feat(secrets): add user-specific runtime secrets (#8825) 2026-07-05 05:58:20 -05:00
routines-e2e.test.ts feat(routines): expose activity gate API (#9438) 2026-07-24 16:47:24 -05:00
routines-routes.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00
routines-service.test.ts feat(routines): expose activity gate API (#9438) 2026-07-24 16:47:24 -05:00
run-continuations.test.ts Guard cheap recovery model usage (#6371) 2026-05-19 13:46:02 -05:00
run-liveness.test.ts Enforce durable external-wait liveness (#9373) 2026-07-10 13:21:12 -05:00
runtime-api.test.ts Prefer loopback runtime API URL for local agents (#5102) 2026-06-20 14:03:21 -07:00
sandbox-provider-runtime.test.ts feat: reuse Daytona sandbox leases (#8513) 2026-06-22 19:35:53 -07:00
secret-provider-registry.test.ts Add secrets provider vaults and remote import (#5429) 2026-05-09 18:22:17 -05:00
secrets-routes.test.ts feat(secrets): add run-bound agent secret access (#9921) 2026-07-22 08:04:39 -05:00
secrets-service-user-secret-owner-scoped.test.ts feat(secrets): thread the acting user into user-scoped secret resolution (#10115) 2026-07-23 13:30:26 -07:00
secrets-service.test.ts feat(secrets): write through external values and deep-link details (#10196) 2026-07-27 19:08:07 -05:00
server-info.test.ts fix(server): preserve source SHA without Git metadata (#9638) 2026-07-15 20:03:52 -05:00
server-package-build-script.test.ts Preserve built-in agent assets in server builds (#9339) 2026-07-10 07:44:08 -05:00
server-startup-feedback-export.test.ts Replace host-to-host Cloud Sync with full-fidelity company Import/Export (#10507) 2026-07-30 11:37:00 -07:00
setup-supertest.ts feat(secrets): add user-specific runtime secrets (#8825) 2026-07-05 05:58:20 -05:00
shared-telemetry-events.test.ts Emit interaction resolved telemetry (#8824) 2026-07-01 13:43:11 -07:00
sidebar-preferences-routes.test.ts [codex] Stabilize tests and local maintenance assets (#4423) 2026-04-24 15:11:42 -05:00
skills-catalog-service.test.ts fix(server): resolve published skills catalog package root and fallback (#8327) 2026-06-19 09:14:41 -07:00
smoke-lab.test.ts feat(mcp) [split 4/8]: wire gateway runtime and Smoke Lab (#9559) 2026-07-14 15:07:30 -05:00
source-trust.test.ts Add low-trust review containment (#7530) 2026-06-05 16:48:02 -05:00
static-index-html.test.ts [codex] Bundle local branch fixes from PAP-10032 (#6604) 2026-05-25 07:25:26 -05:00
status-card-update-engine.test.ts feat(status-cards): join summary-mentioned issues to watched set (#10205) 2026-07-24 16:44:56 -05:00
status-cards.test.ts feat(status-cards): join summary-mentioned issues to watched set (#10205) 2026-07-24 16:44:56 -05:00
storage-local-provider.test.ts Address artifact PR review feedback 2026-05-30 20:51:46 +00:00
summary-slot-routes.test.ts feat: add built-in summarizer and summary slots (#9713) 2026-07-17 11:03:07 -05:00
summary-slots.test.ts feat(skills): make summarize-status actions-first (#10117) 2026-07-23 15:59:44 -05:00
task-watchdogs-classifier.test.ts fix(task-watchdogs): deduplicate unchanged stopped-state wakes (#10207) 2026-07-25 08:34:41 -05:00
task-watchdogs-scheduler.test.ts fix(task-watchdogs): deduplicate unchanged stopped-state wakes (#10207) 2026-07-25 08:34:41 -05:00
teams-catalog-install-no-overrides.test.ts [codex] Add teams catalog extraction (#7550) 2026-06-05 12:55:49 -05:00
teams-catalog-routes.test.ts [codex] Add teams catalog extraction (#7550) 2026-06-05 12:55:49 -05:00
teams-catalog-service.test.ts [codex] Add teams catalog extraction (#7550) 2026-06-05 12:55:49 -05:00
telemetry-client-flush.test.ts feat(telemetry): align client with wire contract — chunking, deterministic batchId, batched retry, bounded store (#9946) 2026-07-21 09:25:58 -05:00
tool-access-policy-service.test.ts feat(connections): add v3 schema core (#9958) 2026-07-21 15:16:26 -05:00
tool-access-service.test.ts feat(connections): add runtime subjects and grants (#9982) 2026-07-21 16:17:02 -05:00
tool-content-guards.test.ts feat(mcp) [split 3/8]: add tool access policy core (#9558) 2026-07-14 14:22:39 -05:00
tool-gateway-service.test.ts feat(interactions): add interaction withdrawal and terminal-issue expiry (#10251) 2026-07-27 19:04:46 -05:00
tool-gateway.test.ts test(tool-gateway): make idle-down slot test deterministic via injected clock (#10226) 2026-07-24 16:29:47 -07:00
tool-oauth-legacy-backfill.test.ts feat(connections): add v3 schema core (#9958) 2026-07-21 15:16:26 -05:00
trust-preset-resolver.test.ts Add low-trust review containment (#7530) 2026-06-05 16:48:02 -05:00
trust-proxy.test.ts feat(server): TRUST_PROXY supports CIDR list + named subnets (supersedes #3729) (#5872) 2026-06-12 10:37:55 -07:00
ui-branding.test.ts Ensure worktree execution starts only after activation (#9374) 2026-07-10 16:11:26 -05:00
user-profile-routes.test.ts [codex] Add structured issue-thread interactions (#4244) 2026-04-21 20:15:11 -05:00
version.test.ts fix(server): stamp the real build version into images instead of the package.json placeholder (#10257) 2026-07-25 10:06:28 -07:00
vite-html-renderer.test.ts [codex] Add backup endpoint and dev runtime hardening (#4087) 2026-04-20 06:08:55 -05:00
work-products.test.ts Address remaining Greptile workspace review 2026-03-17 10:12:44 -05:00
work-timeline-service.test.ts [codex] Improve work timeline activity story (#9222) 2026-07-08 08:59:24 -05:00
workspace-runtime-routes-authz.test.ts fix: repair dirty/foreign-branch execution worktrees (#9297) 2026-07-09 18:19:49 -05:00
workspace-runtime-service-authz.test.ts Add low-trust review containment (#7530) 2026-06-05 16:48:02 -05:00
workspace-runtime.test.ts feat(server): thread plural referenced-project workspaces through run prep (#10448) 2026-07-29 14:27:05 -07:00
worktree-config.test.ts fix(worktree): disable automatic database backups (#10520) 2026-07-30 17:35:04 -07:00
write-path-membership.test.ts security(server): close cross-tenant existence oracle (404 instead of 403) (#3967) 2026-07-14 15:53:09 -07:00

README.md

Server Tests

Server tests that need a real PostgreSQL process must use ./helpers/embedded-postgres.ts instead of constructing embedded-postgres directly.

The shared helper creates a throwaway data directory and a reserved-safe loopback port for each test database. This protects the live Paperclip control-plane Postgres from server vitest runs; see PAP-2033 for the incident that introduced this guard.