gsxdsm
|
38891bfd81
|
FN-8296: add chat-requested task verification
Enable chat agents to queue and monitor executor-owned verification runs.
- Persist task verification requests through a new PostgreSQL migration.
- Expose action-gated chat request and status tools with executor processing.
- Show verification status in task and Command Center views.
- Advance the schema baseline to migration 0024 and keep chat mocks complete.
Files changed:
.changeset/fn-8296-feature.md | 7 ++
docs/agent-tool-surface-full-loop.md | 10 +--
docs/dashboard-guide.md | 4 +
packages/core/src/index.ts | 2 +
.../core/src/postgres/migrations/0000_initial.sql | 20 +++++
.../migrations/0024_task_verification_request.sql | 20 +++++
packages/core/src/postgres/schema-applier.ts | 13 ++-
packages/core/src/postgres/schema/project.ts | 25 ++++++
packages/core/src/store.ts | 16 +++-
packages/core/src/task-store/reads.ts | 14 +++-
packages/core/src/task-store/remaining-ops-6.ts | 49 ++++++++++-
packages/core/src/types.ts | 30 +++++++
packages/dashboard/app/api/legacy.ts | 1 +
packages/dashboard/app/api/task-content.ts | 10 +++
.../dashboard/app/components/TaskDetailModal.tsx | 17 +++-
.../app/components/TaskVerificationStatus.css | 94 ++++++++++++++++++++++
.../app/components/TaskVerificationStatus.tsx | 39 +++++++++
.../__tests__/TaskVerificationStatus.test.tsx | 28 +++++++
.../components/command-center/CommandCenter.css | 33 ++++++++
.../components/command-center/CommandCenter.tsx | 37 ++++++++-
packages/dashboard/src/__tests__/chat.test.ts | 1 +
packages/dashboard/src/chat.ts | 55 +++++++++++++
.../src/routes/register-command-center-routes.ts | 20 +++++
.../src/routes/register-task-workflow-routes.ts | 17 ++++
packages/engine/src/executor.ts | 51 +++++++++++-
packages/engine/src/gating-classifications.ts | 5 ++
packages/engine/src/index.ts | 2 +-
27 files changed, 605 insertions(+), 15 deletions(-)
Fusion-Task-Id: FN-8296
Fusion-Task-Lineage: f94647cf-c89f-4f0e-b25f-cbf5b56683bc
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
|
2026-07-18 18:38:47 -07:00 |
|
gsxdsm
|
e2b5532290
|
FN-8288: add native structure preview foundation
Provide reusable, typed previews for native dashboard structures.
- Define five-kind native structure references and preview payloads.
- Add project-scoped preview resolution API with unavailable states and capped excerpts.
- Add a callback-driven inline preview card, tests, documentation, and release note.
Files changed:
.changeset/fn-8288-native-structure-preview.md | 7 ++
docs/dashboard-guide.md | 4 +
packages/core/src/index.gate.ts | 2 +-
packages/core/src/index.ts | 1 +
packages/core/src/types.ts | 54 ++++++++++
packages/dashboard/app/api/legacy.ts | 1 +
packages/dashboard/app/api/task-content.ts | 13 ++-
.../app/components/NativeStructurePreview.css | 61 +++++++++++
.../app/components/NativeStructurePreview.tsx | 115 +++++++++++++++++++++
.../__tests__/NativeStructurePreview.test.tsx | 102 ++++++++++++++++++
packages/dashboard/src/native-structure-preview.ts | 88 ++++++++++++++++
.../native-structure-preview-routes.test.ts | 102 ++++++++++++++++++
.../src/routes/register-task-workflow-routes.ts | 23 +++++
13 files changed, 571 insertions(+), 2 deletions(-)
Fusion-Task-Id: FN-8288
Fusion-Task-Lineage: 1a4ce369-9f9e-4a45-b533-2d53b5f1020c
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
|
2026-07-18 18:11:02 -07:00 |
|
gsxdsm
|
ca7bc3e46e
|
refactor: package code organization wave 9 (#2274)
## Summary
Wave 9 of package code organization (plan:
`docs/plans/2026-07-14-001-refactor-package-code-organization-plan.md`),
after #2252.
### Peels
| New module | Parent |
|---|---|
| `app/api/global-and-pi-settings.ts` | `legacy.ts` |
| `app/api/task-content.ts` | `legacy.ts`
(attachments/logs/comments/docs/artifacts) |
| `types/messages.ts` | `types.ts` |
| `merger-diff-volume-gate` helpers | `merger.ts` |
Public paths stay stable via re-exports.
### LOC
- `legacy.ts` ~10561 → ~10269
- `types.ts` ~6998 → ~6937
- `merger.ts` ~11223 → ~11208
## Test plan
- [x] core/engine/dashboard typecheck (app)
- [x] eslint on peeled modules
- [x] api-tasks + memory/agent-log focused tests
- [ ] CI merge gate
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added dashboard API endpoints for global and project-scoped settings,
PI configuration, notification testing, and PI package
install/reinstall.
* Added task content APIs covering attachments, agent logs, session
files, task comments, task documents, artifacts, and project markdown
files.
* Added structured messaging contracts and participant/message
normalization.
* Added diff-volume gate settings resolution and formatted findings
output.
* **Refactor**
* Organized messaging and dashboard API surface into dedicated modules
via re-exports.
* Removed a deprecated verification-output alias.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
2026-07-18 14:42:59 -07:00 |
|