Skip to content

Commit eb40da8

Browse files
committed
Update current work for prompt and scheduling changes
1 parent 444dc2c commit eb40da8

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

docs/current-work.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@
33
## Active focus
44

55
Atlas is a schedule-forward, Google-calendar-gated product with a working mutation pipeline.
6-
Current implementation focus: stabilize the newly locked-down Google Calendar path after the security hardening pass so Atlas safely links one Google account per user, treats Google Calendar as scheduled-time authority, keeps `tasks` as the fast local projection, and preserves the locked follow-up/reschedule runtime on top of that task model.
6+
Current implementation focus: harden the model-driven planning layer now that the Google Calendar path is locked down. The active branch restructures the OpenAI prompts into explicit prompt assets, expands live eval coverage around ambiguous routing and confirmed-mutation recovery, shifts product language from Telegram-first to chat-first at the prompt and docs layer, and threads `referenceTime` consistently through scheduling so temporal interpretation and busy-calendar lookups use the same anchor.
77

88
## Near-term milestones
99

10+
- Finish the prompt-asset cleanup and eval loop:
11+
- keep each model prompt scoped to one job with explicit sections and output requirements
12+
- expand live eval fixtures around ambiguous referents, vague confirmations, and partial scheduling requests
13+
- use eval results to drive prompt revisions before considering model upgrades
14+
- Preserve deterministic time handling across mutation mode:
15+
- keep planner interpretation, schedule generation, move logic, and busy-period lookup anchored to `referenceTime`
16+
- continue removing remaining wall-clock assumptions from scheduling paths and tests
17+
- Carry the chat-first framing through remaining docs and app copy where the behavior is generic rather than transport-specific
1018
- Harden Google Calendar integration for launch review:
1119
- validate the new one-time `/google-calendar/connect` handoff and short-lived link-session flow in real deployment
1220
- finish disconnect UX and revoked-account operator visibility
@@ -135,6 +143,21 @@ Current implementation focus: stabilize the newly locked-down Google Calendar pa
135143
- unsupported mixes of move and create actions
136144
- unresolved symbolic aliases
137145
- duplicate schedule actions for the same existing task
146+
- Verification completed on this branch:
147+
- `pnpm typecheck`
148+
- `pnpm test` except for the Postgres-backed integration package, which remains blocked in this environment by local `5432` connection restrictions
149+
- `pnpm eval:planner`
150+
- `pnpm eval:turn-router`
151+
- `pnpm eval:router-confirmation`
152+
- `pnpm eval:conversation-context`
153+
- `pnpm eval:confirmed-mutation-recovery`
154+
- Prompt/runtime work completed on this branch:
155+
- OpenAI prompts now live in `packages/integrations/src/prompts` as explicit per-role prompt assets instead of one dense file-local string block
156+
- planner, router, conversation, memory-summary, and confirmed-mutation-recovery prompts now have expanded failure-boundary examples and tighter output-shape guidance
157+
- confirmed-mutation recovery now uses a permissive response-format schema plus a stricter runtime discriminated-union parse
158+
- schedule actions may now delegate slot choice with `scheduleConstraint: null`, and broad-but-usable timing like `morning but not too early` should map to schedulable intent instead of forcing exact-time clarification
159+
- scheduling now uses inbox-item `createdAt` / `referenceTime` consistently in planner context, schedule computation, move handling, and busy-calendar lookup
160+
- Postgres ingress persistence now preserves caller-supplied `createdAt`, keeping deterministic scheduling tests aligned across in-memory and Postgres stores
138161
- Verification completed on this branch:
139162
- `pnpm --filter @atlas/core typecheck`
140163
- `pnpm --filter @atlas/db typecheck`

0 commit comments

Comments
 (0)