Commit Graph
19 Commits
Author SHA1 Message Date
nessar 98e87fecee ci: make the deferred planning benchmark non-blocking
Run the unchanged benchmark as a separate advisory job while #78 is open.
Keep functional coverage and other checks required, and retain the 2 GB heap
and 300-second protocol limit. Record #78's obligation to restore the gate.

Refs: #75, #78
2026-10-10 16:36:11 +02:00
nessar 6811142299 feat(planning): make optimization rules composable
Evaluate explicit, ordered optimization configurations through one shared
planner model. Add six editable presets, durable one-time legacy migration,
and consistent completed and cancelled plan provenance.

Include functional regressions and the agreed trace-removal and benchmark
follow-up specs. Performance acceptance remains in #78 under unchanged gates.

Refs: #70, #71, #72, #73, #74, #75, #76, #77, #78
2026-10-10 16:07:34 +02:00
nessar 209bf05f36 feat(docs): add detailed planning objectives and optimization rules documentation 2026-10-08 23:20:40 +02:00
nessar 31d4333783 feat(ui): configure planning horizon alongside leave balances 2026-10-08 06:49:06 +00:00
nessar 036a8c0e1e #61 2026-10-07 00:28:29 +02:00
nessar 4de2b9e63f feat: add functionality for declaring non-working days and their impact on leave balances 2026-10-05 18:55:15 +02:00
nessar bc8570d8ca feat: add PlanningDurationService for estimating planning duration
- Implemented PlanningDurationService to provide an indicative wait time before calculation based on user input and calendar settings.
- Introduced duration estimation logic that considers horizon dates, balances, and rules without triggering a calculation.
- Enhanced user input component to display estimated duration using the new service.
- Updated translation files to include new duration estimate strings in multiple languages.
- Added tests for PlanningDurationService to ensure accurate duration estimation and calibration.
- Refactored leave planner service to remove hardcoded deadlines and improve worker responsiveness.
2026-10-05 17:06:17 +02:00
nessar 2edf2004f5 feat(planner): implement cancellation for planning calculations
- Refactor leave-planner.worker.ts to support cancellation of ongoing calculations.
- Introduce `calculatePlanningAsyncInternal` for asynchronous planning calculations.
- Add cancellation handling in the worker message event.
- Update planning-date.ts with new utility functions for date manipulation.
- Extend translation-service.ts and translation files (en.json, de.json, es.json, fr.json) to include new strings related to planning horizon and cancellation.
- Create documentation for the cancellation feature in planner-cancellation.md.
- Add unit tests for cancellation functionality in leave-planner-cancellation.spec.ts and leave-planner.worker.spec.ts.

#57 #58
2026-10-05 15:34:07 +02:00
nessar 5c35a59805 docs(planning): record horizon and cancellation decisions (#12) 2026-10-05 11:19:46 +02:00
nessar bdb1e3e230 docs: add ADR for restoring saved planning inputs before generating random defaults 2026-10-04 21:31:38 +02:00
nessar 01c87d1e44 feat(planning): complete verified explanations and trace delivery (#46)
Implement plan explanations, original decision traces, calendar replay, and worker counterfactual analysis. Preserve incomplete checkpoints and conflict reasons, with accessible navigation and localized comparison details.

Keep planning outcomes independent of tracing and bound worker delivery with receiver acknowledgements. Retain complete candidate history while releasing temporary buffers and benchmark references.

Validated with 201 tests, app/spec type checks, lint, production build, baseline outcome comparisons, and repeated loaded browser measurements. Document performance and remaining limits.
2026-10-03 16:26:56 +02:00
nessar f1f08356df feat(benchmark): enhance benchmark documentation and add emulated run details
fix(benchmark): update deterministic checks and improve measurement accuracy

fix(service): refine candidate recording and enhance balance assignment logic

test(service): add test for balance recording with preference assignment
2026-09-25 14:07:00 +02:00
nessar 9fb18f57ec Merge branch 'main' of gitlab.nessar.fr:nessar/vac-optimizer 2026-09-02 23:48:59 +02:00
nessar e7e0f210e9 feat(docs): add explanation for separating plan explanations from calculation traces 2026-08-31 21:21:37 +02:00
nessar d7a13b0b1e feat(planning): explain and trace planning decisions 2026-08-31 00:02:45 +02:00
nessar 31314f3969 fix(planning): prioritize complete holiday weeks 2026-08-30 17:16:30 +02:00
nessar 7ceaf1a57a feat(planning): implement constraint-first leave planner 2026-08-28 22:44:14 +02:00
nessar ba8dbe92d9 feat: enhance documentation for leave planning concepts and solver recommendations 2026-08-28 17:00:12 +02:00
nessar bb8d09dda4 Add writing-for-agents skill documentation and related files
- Created SKILL.md and SKILL-MECHANICS.md for writing agent skills.
- Added openai.yaml for agent interface configuration.
- Introduced AGENTS.md for agent skills overview.
- Established CONTEXT.md for personal leave planning terminology.
- Documented ordered heuristic optimization in ADRs.
- Defined personal client-side planner limitations in ADRs.
- Created domain documentation for engineering skills.
- Added issue tracker guidelines for GitLab.
- Mapped triage labels for issue tracking.
- Initialized skills-lock.json to manage skill dependencies.
2026-08-11 23:34:09 +02:00