Codex/issue-91-option3-session-constraints#106
Conversation
- Update .github/ chat modes (architect, ask, code, debug) to AGENTS.md-first pattern; remove MemoriPilot references - Update copilot-instructions.md: AGENTS.md-first directive + working-mode hints - Update blog post: add memory-bank-goes-stale argument + In-Context Learning subtitle - Fix defaults_memory.py: add "graphiti" to _TASK_DEFAULTS_BACKENDS - Fix preferences.py: remove dead delete-based prune_shared_constraints; restore archive-based (issue/81) as the single canonical impl - Fix agent.py: use duplicates_archived key consistent with archive impl - Fix test_planning_reminder_suppression: use date.today() not hardcoded 2026-03-07 - Fix test_task_defaults_memory: migrate mem0 build test to graphiti path - Fix test_timeboxing_constraint_store_canonicalization: direct DB inserts for dirty-state setup; assertions aligned to archive API - Add test_review_commit_template_includes_submit_button_guidance (merged from stash) - Update .env: TIMEBOXING_MEMORY_BACKEND=graphiti ## Linked issue - GitHub issue: <!-- required --> - Issue branch: <!-- e.g. issue/123-notebook-workflow --> ## Acceptance criteria - [ ] Criterion 1: - [ ] Criterion 2: - [ ] Criterion 3: ## Notebook -> artifact mapping (required for notebook-driven work) - Primary notebook path: - Notebook lifecycle status (`WIP` / `Extraction complete` / `DONE` / `Reference` / `Archived`): - Extracted implementation files (`src/...`): - Extracted test files (`tests/...`): - Extracted docs (`README.md` / `docs/...`): - Intentionally retained notebook-only content (and why): ## Verification performed - [ ] Start-of-work cleanliness check recorded (`git status --porcelain`) - [ ] Pre-PR-close cleanliness check recorded (`git status --porcelain`) - [ ] Relevant automated tests passed - [ ] Notebook checkpoint passed (clean-kernel rerun or CI notebook check) Commands run: ```bash # paste commands used for verification ``` ## System-of-record sync - [ ] Issue status updated - [ ] PR description reflects current implementation status - [ ] Temporary `/tickets/` markdown removed or explicitly retained as durable documentation
Merge HandoffThis PR is the closure vehicle for issue Acceptance Criteria status
Validation run
No-code-loss instructions
Open Items
|
|
Substantial checkpoint Current status
Branch
Dependency / merge order
Scope cleanliness
Commands/tests run
Acceptance criteria status (#91)
Exact next step
Open Items
|
Kickoff Checkpoint (2026-03-08)Current status
Branch
PR
Start-of-work scope cleanliness
Commands run
Acceptance criteria status (from issue #91)
Exact next step
Open Items
|
|
Substantial checkpoint Current status
Branch
Dependency / merge order
Scope cleanliness
Tests-first evidence
Commands/tests run
Acceptance criteria status (#91)
Exact next step
Open Items
|
Substantial Checkpoint (2026-03-08) — Graphiti-only backend + OpenRouter wiringCurrent status
Branch
PR
Scope cleanliness
Test-first evidence (rule #8)
Commands/tests run
Acceptance criteria status (#91)
Exact next step
Open Items
|
Substantial Checkpoint (2026-03-08) — Branch hygiene cleanupCurrent status
Branch
PR Commands/tests run
Deleted local branches (safe: merged, ahead_of_main=0)
Deleted remote branches (safe: merged into
Acceptance criteria status (#91)
Exact next step
Open Items
|
|
Substantial checkpoint (halted for ambiguity/risk) Current status
Branch
PR
Risk observed
Commands run
Acceptance criteria status
Exact next step
Open Items
|
…ackend integration - Added `replace_session_constraints` method to `ConstraintStore` for replacing session-scope constraints. - Updated `Settings` to enforce Graphiti as the sole memory backend, removing legacy options. - Modified runtime checks to always require Graphiti availability. - Refactored tests to validate new Graphiti backend requirements and ensure proper constraint handling. - Enhanced constraint extraction logic to prioritize session constraints over profile defaults. - Added tests for session constraint replacement and validation of existing constraints in agent payloads.
…nes in defaults_memory and agent modules
|
Substantial checkpoint (strategy 1 execution) Current status
Branch
PR Diff safety verification
Commands/tests run (post-retarget)
Acceptance criteria status
Exact next step
Open Items
|
|
Substantial checkpoint (halted for scope-mix risk) Current status
Branch
PR Risk observed
Evidence commands
Acceptance criteria status
Exact next step
Open Items
|
|
Branch audit against Implemented on branch (committed, not in
Branch state:
Assessment:
Open Items
|
|
Preservation note: the previously stashed local diff has been committed on this branch as |
Linked issue
Acceptance criteria
Notebook -> artifact mapping (required for notebook-driven work)
WIP/Extraction complete/DONE/Reference/Archived):src/...):tests/...):README.md/docs/...):Verification performed
git status --porcelain)git status --porcelain)Commands run:
# paste commands used for verificationSystem-of-record sync
/tickets/markdown removed or explicitly retained as durable documentation