githubnext/chopinPublic

Let's compose rich plans together

Integrate Jev Plan and question services

Add durable decision and question services, scoped Planner tools, projection authority, and browser fixtures that preserve real research admission and protected cards.
MAMaggie Appleton authored
f8c5a9ePatch
Parent262082c
175 files changed+17246-888
StackedSplit
apps/server/src/agent/card-tool-context.ts+10 โˆ’0
apps/server/src/agent/decision-prose-1.test.ts+53 โˆ’0
apps/server/src/agent/decision-prose-2.test.ts+98 โˆ’0
apps/server/src/agent/decision-prose-3.test.ts+48 โˆ’0
apps/server/src/agent/decision-prose-4.test.ts+70 โˆ’0
apps/server/src/agent/decision-prose-5.test.ts+56 โˆ’0
apps/server/src/agent/decision-prose-fields.ts+16 โˆ’0
apps/server/src/agent/decision-prose.test-fixtures.ts+112 โˆ’0
apps/server/src/agent/decision-prose.ts+104 โˆ’0
apps/server/src/agent/heading-harness.test-fixtures.ts+133 โˆ’0
apps/server/src/agent/heading-harness.test.ts+129 โˆ’0
apps/server/src/agent/heading-tool.test-bridge.ts+18 โˆ’0
apps/server/src/agent/heading-tool.test.ts+226 โˆ’0
apps/server/src/agent/heading-tool.ts+124 โˆ’0
apps/server/src/agent/job-scope.test.ts+134 โˆ’0
apps/server/src/agent/job-scope.ts+71 โˆ’0
apps/server/src/agent/job-tool-context.ts+18 โˆ’0
apps/server/src/agent/job-tools.ts+66 โˆ’0
apps/server/src/agent/refine-fields.ts+96 โˆ’0
apps/server/src/agent/refine-placement.ts+43 โˆ’0
apps/server/src/agent/refine-tool-1.test.ts+129 โˆ’0
apps/server/src/agent/refine-tool-2.test.ts+36 โˆ’0
apps/server/src/agent/refine-tool-3.test.ts+161 โˆ’0
apps/server/src/agent/refine-tool-4.test.ts+109 โˆ’0
apps/server/src/agent/refine-tool-5.test.ts+107 โˆ’0
apps/server/src/agent/refine-tool-6.test.ts+96 โˆ’0
apps/server/src/agent/refine-tool-7.test.ts+80 โˆ’0
apps/server/src/agent/refine-tool-8.test.ts+116 โˆ’0
apps/server/src/agent/refine-tool-9.test.ts+38 โˆ’0
apps/server/src/agent/refine-tool.test-fixtures.ts+188 โˆ’0
apps/server/src/agent/refine-tool.ts+181 โˆ’0
apps/server/src/agent/revise-fields.ts+57 โˆ’0
apps/server/src/agent/revise-open-decision-1.test.ts+167 โˆ’0
apps/server/src/agent/revise-open-decision-2.test.ts+129 โˆ’0
apps/server/src/agent/revise-open-decision-3.test.ts+87 โˆ’0
apps/server/src/agent/revise-open-decision-4.test.ts+87 โˆ’0
apps/server/src/agent/revise-open-decision-5.test.ts+113 โˆ’0
apps/server/src/agent/revise-open-decision-requests.test.ts+124 โˆ’0
apps/server/src/agent/revise-open-decision.test-fixtures.ts+58 โˆ’0
apps/server/src/agent/revise-open-decision.ts+69 โˆ’0
apps/server/src/agent/revise-requests.ts+90 โˆ’0
apps/server/src/agent/scoped-prose-tool.ts+37 โˆ’0
apps/server/src/agent/scoped-refine-tool.ts+80 โˆ’0
apps/server/src/agent/scoped-request-boundary.test.ts+47 โˆ’0
apps/server/src/agent/scoped-revise-tool.ts+53 โˆ’0
apps/server/src/agent/scoped-tool-result.ts+19 โˆ’0
apps/server/src/agent/scoped-tools.test-bridge.ts+25 โˆ’0
apps/server/src/agent/scoped-tools.test-configuration.ts+86 โˆ’0
apps/server/src/agent/scoped-tools.ts+7 โˆ’0
apps/server/src/agent/tools.ts+6 โˆ’0
apps/server/src/chat/job-boundary.test.ts+71 โˆ’0
apps/server/src/chat/job-fence.ts+20 โˆ’0
apps/server/src/chat/job-handoff.test.ts+47 โˆ’0
apps/server/src/chat/job-harness.test-fixtures.ts+68 โˆ’0
apps/server/src/chat/job-heading-harness.test-fixtures.ts+100 โˆ’0
apps/server/src/chat/job-lifecycle.test.ts+77 โˆ’0
apps/server/src/chat/job-notice.test.ts+26 โˆ’0
apps/server/src/chat/job-profiles.test.ts+110 โˆ’0
apps/server/src/chat/job-queue.test.ts+83 โˆ’0
apps/server/src/chat/job-queue.ts+152 โˆ’0
apps/server/src/chat/job-signal.test.ts+56 โˆ’0
apps/server/src/chat/job-stream.test-fixtures.ts+109 โˆ’0
apps/server/src/chat/job-tools.test.ts+96 โˆ’0
apps/server/src/chat/job-translate.ts+67 โˆ’0
apps/server/src/chat/job.test-fixtures.ts+58 โˆ’0
apps/server/src/chat/job.test.ts+95 โˆ’0
apps/server/src/chat/notice-idempotency.test.ts+87 โˆ’0
apps/server/src/chat/notice-persistence.test.ts+140 โˆ’0
apps/server/src/chat/notice-publication.test.ts+59 โˆ’0
apps/server/src/chat/notice.test-fixtures.ts+39 โˆ’0
apps/server/src/chat/notices.ts+125 โˆ’0
apps/server/src/chat/service.ts+205 โˆ’42
apps/server/src/conversation-plan/option-capacity.ts+106 โˆ’0
apps/server/src/conversation-plan/prose-job-anchor.test.ts+150 โˆ’0
apps/server/src/conversation-plan/prose-job.test-fixtures.ts+19 โˆ’0
apps/server/src/conversation-plan/prose-job.test.ts+70 โˆ’0
apps/server/src/conversation-plan/prose-job.ts+122 โˆ’0
apps/server/src/harness/agents.ts+30 โˆ’15
apps/server/src/harness/session.ts+27 โˆ’2
apps/server/src/harness/tool-names.ts+17 โˆ’0
apps/server/src/main.ts+8 โˆ’0
apps/server/src/mcp/update-lifecycle.test.ts+1 โˆ’1
apps/server/src/plan/conversation-analysis-persistence.test.ts+123 โˆ’0
apps/server/src/plan/conversation-option-persistence.test.ts+110 โˆ’0
apps/server/src/plan/conversation-outbox-persistence.test.ts+113 โˆ’0
apps/server/src/plan/conversation-persistence.test-fixtures.ts+35 โˆ’0
apps/server/src/plan/notice-validation.ts+149 โˆ’0
apps/server/src/plan/persistence.test.ts+10 โˆ’8
apps/server/src/plan/planner-jobs-failure.test.ts+68 โˆ’0
apps/server/src/plan/planner-jobs-restoration.test.ts+80 โˆ’0
apps/server/src/plan/planner-jobs.test-fixtures.ts+23 โˆ’0
apps/server/src/plan/planner-jobs.test.ts+72 โˆ’0
apps/server/src/plan/projection-submit.test-fixtures.ts+88 โˆ’0
apps/server/src/plan/protected-projection.test-fixtures.ts+111 โˆ’0
apps/server/src/plan/protected-projection.test.ts+149 โˆ’0
apps/server/src/plan/question-record-persistence.test.ts+176 โˆ’0
apps/server/src/plan/question-record-sources.test.ts+130 โˆ’0
apps/server/src/plan/question-record.test-fixtures.ts+55 โˆ’0
apps/server/src/plan/research-placement-1.test.ts+39 โˆ’0
apps/server/src/plan/research-placement-2.test.ts+57 โˆ’0
apps/server/src/plan/research-placement.test-fixtures.ts+24 โˆ’0
apps/server/src/plan/research-projection-authority.test.ts+117 โˆ’0
apps/server/src/plan/research-projection-jobs.test-fixtures.ts+101 โˆ’0
apps/server/src/plan/research-projection-lifecycle.test.ts+79 โˆ’0
apps/server/src/plan/research-projection-race.test.ts+67 โˆ’0
apps/server/src/plan/research-projection.test-fixtures.ts+52 โˆ’0
apps/server/src/plan/room.ts+40 โˆ’5
apps/server/src/plan/service.ts+458 โˆ’67
apps/server/src/plan/staged-publication-guards.test.ts+54 โˆ’0
apps/server/src/plan/staged-publication.test-fixtures.ts+25 โˆ’0
apps/server/src/plan/staged-publication.test.ts+73 โˆ’0
apps/server/src/question-service-deferral.test-fixtures.ts+111 โˆ’0
apps/server/src/question-service.test-fixtures.ts+120 โˆ’0
apps/server/src/questions-service-durability-1.test.ts+174 โˆ’0
apps/server/src/questions-service-durability-2.test.ts+156 โˆ’0
apps/server/src/questions-service-durability-3.test.ts+213 โˆ’0
apps/server/src/questions-service-durability-4.test.ts+217 โˆ’0
apps/server/src/questions-service-durability-5.test.ts+194 โˆ’0
apps/server/src/questions-service-durability-6.test.ts+167 โˆ’0
apps/server/src/questions-service-durability-7.test.ts+170 โˆ’0
apps/server/src/questions-service-durability-8.test.ts+223 โˆ’0
apps/server/src/questions-service-durability-9.test.ts+102 โˆ’0
apps/server/src/questions.anchors.test.ts+1 โˆ’1
apps/server/src/questions.service.test.ts+7 โˆ’54
apps/server/src/questions/anchors.test.ts+4 โˆ’0
apps/server/src/questions/card-insertion.ts+133 โˆ’0
apps/server/src/questions/card-involved.ts+37 โˆ’0
apps/server/src/questions/card-notifications.ts+82 โˆ’0
apps/server/src/questions/card-option-relabel.ts+163 โˆ’0
apps/server/src/questions/card-planner-revision.ts+145 โˆ’0
apps/server/src/questions/card-reopen-1.test.ts+211 โˆ’0
apps/server/src/questions/card-reopen-2.test.ts+147 โˆ’0
apps/server/src/questions/card-reopen.test-fixtures.ts+110 โˆ’0
apps/server/src/questions/card-retitle.ts+93 โˆ’0
apps/server/src/questions/card-server-options.ts+236 โˆ’0
apps/server/src/questions/card-suggestions.ts+57 โˆ’0
apps/server/src/questions/conversation-card-1.test.ts+201 โˆ’0
apps/server/src/questions/conversation-card-2.test.ts+197 โˆ’0
apps/server/src/questions/conversation-card-3.test.ts+214 โˆ’0
apps/server/src/questions/conversation-card-4.test.ts+152 โˆ’0
apps/server/src/questions/conversation-card-5.test.ts+120 โˆ’0
apps/server/src/questions/conversation-card-6.test.ts+171 โˆ’0
apps/server/src/questions/conversation-card-8.test.ts+207 โˆ’0
apps/server/src/questions/conversation-card.test-fixtures.ts+130 โˆ’0
apps/server/src/questions/decision-anchor-lifecycle.test.ts+100 โˆ’0
apps/server/src/questions/option-match.ts+45 โˆ’0
apps/server/src/questions/prose-1.test.ts+211 โˆ’0
apps/server/src/questions/prose-2.test.ts+179 โˆ’0
apps/server/src/questions/prose-3.test.ts+135 โˆ’0
apps/server/src/questions/prose.test-fixtures.ts+50 โˆ’0
apps/server/src/questions/prose.ts+60 โˆ’0
apps/server/src/questions/question-option-source-1.test.ts+202 โˆ’0
apps/server/src/questions/question-option-source-2.test.ts+56 โˆ’0
apps/server/src/questions/question-option-source.test-fixtures.ts+106 โˆ’0
apps/server/src/questions/service-append-option.ts+188 โˆ’0
apps/server/src/questions/service-ask.ts+179 โˆ’0
apps/server/src/questions/service-cancel.ts+140 โˆ’0
apps/server/src/questions/service-definition.ts+71 โˆ’0
apps/server/src/questions/service-discard.ts+143 โˆ’0
apps/server/src/questions/service-draft.ts+117 โˆ’0
apps/server/src/questions/service-relationships.ts+128 โˆ’0
apps/server/src/questions/service-reopen.ts+216 โˆ’0
apps/server/src/questions/service-submit.ts+222 โˆ’0
apps/server/src/questions/service.ts+37 โˆ’675
apps/server/src/questions/write-prose.test.ts+152 โˆ’0
apps/server/src/questions/write-prose.ts+91 โˆ’0
apps/server/src/storage/postgres/conversation-restart.test.ts+114 โˆ’0
e2e/research-child-documents.e2e.ts+34 โˆ’11
e2e/research-recovery-database.ts+136 โˆ’0
e2e/responsive-decisions.e2e.ts+11 โˆ’2
e2e/sidecar.e2e.ts+5 โˆ’1
packages/protocol/chat.d.ts+26 โˆ’1
packages/protocol/index.d.ts+2 โˆ’0
packages/protocol/plan.d.ts+11 โˆ’0
packages/protocol/question.d.ts+89 โˆ’3