Skip to content

The open-source app everyone uses to manage agents at work

5.1 KB
Raw Blame

Fast response implementation and verification

Finish line

Optional company-wide acknowledgements use existing API connections, preserve the normal agent turn, retain server-controlled provenance, and account for provider work exactly once. OpenRouter leads live verification; other providers are verified by HTTP contracts. Existing decision behavior remains unchanged.

Implementation

  • Company settings, shared API connection selection, model catalog/manual IDs, fixed sample test, availability and Costs history.
  • SDK-backed direct generation across native providers and configured Messages, Responses, Chat Completions, Bedrock and local routes.
  • Durable deduplicated accepted-turn requests with a three-second admission deadline, bounded workers, authorization and budget checks, one inference attempt, and restart quarantine.
  • Platform receipts in task and agent chat, board chat and shared external intake/publication, excluded from completion, unanswered-turn recovery and interaction resolution.
  • Small context prompts, source isolation for external destinations, provenance details and labeled agent context.

Evidence collected

Isolated checkout codex/fast-response, app at http://127.0.0.1:3109, cloned database under /private/tmp/paperclip-fast-response-home.

  • Live OpenRouter openai/gpt-oss-120b settings test: UI 0.95 seconds, 212 input / 31 output tokens, reported cost 0.00504 cents.

  • Live task DOT-302: initial acknowledgement admitted in 1.013 seconds, 261 input / 38 output tokens, reported cost 0.006195 cents. Subsequent human turns also received receipts.

  • The dedicated OpenCode/OpenRouter agent subsequently produced a substantive recommendation in the same task. Its real run succeeded. The receipt did not complete the task; final task status remained in progress because the agent did not mark it done.

  • Provider and service tests cover duplicate workers, provenance/no fabricated run, unchanged task status, unanswered-turn protection, reply/cancel/delete/reassign/edit/revoke races, expiry, unknown billing and fixed sample isolation.

  • Full build passed after rebasing onto master, including the final UI refinements. Repository typecheck passed after the rebase; server typecheck also passed after review fixes. The full test run was stopped after setup timeouts and failures in workspace-runtime/execution-workspace suites; it is not green evidence.

  • All 40 provider contracts passed. Slack/GitHub shared intake/outbox contracts and the email reply-only outbox contract passed. Token gates passed after rebase. The regenerated migration 0324 follows master migration 0323 and passes migration safety checks.

  • Final review corrected accepted/queued wording: a run serving the current turn does not count as older work. Email uses the same state check.

  • The post-rebase focused provider/service/UI run passed all 62 tests. Review regressions now cover receipt labeling in native session handoff, model catalogs isolated from host CLI configuration, route transaction boundaries, Costs navigation, and email migration probe rollback.

  • A final OpenRouter sample exposed copied JSON output. The prompt now explicitly requests plain text and structured output is rejected while retaining charges. The corrected live sample returned a contextual acknowledgement in 1.374 seconds, 246 input / 22 output tokens, reported cost 0.0035600 cents.

  • Rebased onto the email commit/deadline scheduler: receipt publication signals its existing worker in the same transaction. Three email scheduling/receipt checks passed.

  • Review follow-ups share queued-state detection across Slack/GitHub/task/email and defer GitHub generic working comments while a contextual receipt can arrive. Eight focused channel checks passed, plus a substantive GitHub reply after receipt; server typecheck passed. Failed generation preserves generic feedback and uncertain external delivery does not trigger a duplicate acknowledgement.

  • Review found quarantined history could lose its label in the prompt. Current and recent comments now use the established quarantine sanitizer; all 22 fast-response service tests passed, including both new source-trust cases, and server typecheck passed.

Verification still required

  • Live Slack bot creation and conversation; browser login completed. A narrow callback relay is prepared. Cloudflare tunneling was rejected by automatic approval review; explicit user authorization is pending.
  • Live GitHub test journey in paperclipai/paperclip-permissions-smoke-20260926-pap57-fee7428e.
  • Latest-head CI and automated review. CI identified additional startup/route fixtures and exact guidance/wiring expectations that need to include fast responses; the corrected focused runs passed (12 closed-workspace routes, 5 native answer continuations, 36 startup tests, and 14 publication/reconciliation tests). Native continuation verification explicitly disables the ambient worktree suppression flag only in the test process. Copied historical run recovery failed during live testing; execution in the cloned workspace is now disarmed, and the app health endpoint reports startup ready.

No credentials or prompt bodies belong in this record.