2.8 KiB
2.8 KiB
Web Product Phase 1 Skeleton
Status
completed
Owner
- Codex
Started At
2026-03-20
Goal
- Implement the first web-product milestone slice described in
docs/web-product-monorepo.mdby creating the monorepo skeleton, a minimalorchdHTTP service, and the first read-oriented backend boundaries.
Scope
- add an active execution trace for this web implementation workstream
- add the initial monorepo workspace files and
apps/webscaffold - add
cmd/orchd,internal/httpapi,internal/app, andinternal/query - expose a small read-only HTTP API for health, runs, run detail, blocked tasks, and thread detail
- add initial API contract docs under
api/ - keep
docs/implementation-roadmap.mdsynchronized with the new implementation state
Checklist
- create the active execution roadmap for the Phase 1 web skeleton workstream
- scaffold the monorepo workspace files and
apps/web - add
cmd/orchdwith a minimalchi-based HTTP server - introduce initial shared app/query boundaries for read-only web endpoints
- add initial API contract documents under
api/ - validate the new slice with builds or targeted tests
- update
docs/implementation-roadmap.md - archive this execution roadmap with a completion summary if the slice is fully complete
Files
docs/roadmaps/active/web-product-phase1-skeleton.mddocs/implementation-roadmap.mddocs/web-product-monorepo.mdcmd/orchd/main.gointernal/httpapi/internal/app/internal/query/internal/store/api/openapi.yamlapi/events.mdapps/web/package.jsonpnpm-workspace.yaml
Decisions
- implement a narrow read-only backend slice first instead of starting with frontend pages
- keep the first HTTP layer thin and let query/app packages own the web-facing backend boundary
- preserve the existing CLI entrypoints while introducing the new service
Blockers
- none
Next Step
- start Phase 2 on top of the new
apps/webandorchdskeleton by wiring real runs, run-detail, blocked-queue, and thread-detail screens to the read-only API
Completion Summary
- added the first web-product skeleton described in
docs/web-product-monorepo.md, including rootpnpmworkspace files, a standalone React frontend shell underapps/web, initial API contract documents underapi/, and a newcmd/orchdHTTP service - introduced
internal/app,internal/query, andinternal/httpapiso the web backend has an explicit read-oriented boundary instead of letting handlers query storage ad hoc - implemented and validated the first read-only HTTP endpoints for health, runs, run detail, run tasks, blocked tasks, and thread detail
- verified the slice with
go test ./...andpnpm run web:build, then synchronizeddocs/implementation-roadmap.md