Commit Graph

80 Commits

Author SHA1 Message Date
d95dbb8ef5 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-06-22:
  - update .custodian-brief.md for can-you-assist
2026-06-22 10:36:26 +02:00
019f6e7dc7 Implement CYA-WP-0008 llm-connect adapter integration.
Wire LLMConnectAdapter behind the existing LLMAdapter seam with config-driven
selection, graceful degradation, --offline mode, and bounded session context.
Add unit tests, integration docs, and update README/SCOPE/AGENTS.
2026-06-22 10:36:10 +02:00
cd5db14fbf chore(consistency): sync State Hub workstream IDs for CYA-WP-0007 and 0008
Writeback from fix-consistency registers both workstreams and tasks in the hub.
2026-06-22 01:39:45 +02:00
34528308bb chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-06-22:
  - update .custodian-brief.md for can-you-assist
2026-06-22 01:39:29 +02:00
f0ee0636c0 docs(workplans): add CYA-WP-0007 shell session and CYA-WP-0008 llm-connect
Define interactive cya shell mode with opt-in shell history, State Hub
orientation, session learning, and weakness hints. Pair with llm-connect
adapter integration for production multi-turn assistance.
2026-06-22 01:39:11 +02:00
c14d09c14d feat(memory): complete CYA-WP-0006 Profile 1 production hardening
Add guided reflection capture with preview, cya memory reflections CLI,
near-duplicate compaction, budget-capped surfacing, and expanded tests.
Profile 1 is now documented as production-ready in README and MemoryVision.
2026-06-22 01:39:07 +02:00
a0d24a31eb chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-06-22:
  - update .custodian-brief.md for can-you-assist
2026-06-22 01:25:08 +02:00
099ba99a6a chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-06-19:
  - update .custodian-brief.md for can-you-assist
2026-06-19 20:41:09 +02:00
04ec282a1d Promote CYA-WP-0006 to ready after operator review
Profile 1 production hardening workplan is approved for activation;
update AGENTS.md next-slice reference to match.
2026-06-19 20:39:33 +02:00
b68164b237 Sync CYA-WP-0006 State Hub IDs from fix-consistency
Write back workstream and task UUIDs registered by fix-consistency.
2026-06-19 20:34:04 +02:00
f4e965cc04 Add Claude Code support, credential routing polish, and CYA-WP-0006
Mirror sibling-repo Claude setup (CLAUDE.md + .claude/rules/*), align
AGENTS.md with fleet credential-routing template, and close housekeeping
gaps (WP-0002-T05 done, WP-0005 status note). Draft CYA-WP-0006 for
Profile 1 production hardening as the proposed next slice.
2026-06-19 20:33:13 +02:00
ad11632bd4 Add capability registry scaffold (REUSE-WP-0014-T03 B01)
Empty helix_forge registry layout for federation publishing.
2026-06-16 01:50:18 +02:00
88ec1381e3 Persist post-0005 Intent-Scope gap analysis
- New assessment: history/2026-05-28-CYA-Intent-Scope-Gap-Analysis-Post-0005.md
- Shows major progress on memory/longitudinal adaptation gap thanks to CYA-WP-0005 (Profile model + first working Profile 1 verbal self-improvement spike).
- Follows exact format and structure of prior analyses (Post-0002, Post-0004).
- Part of ongoing assessment cadence after major workplan completion.
2026-05-28 03:36:37 +02:00
c60b3b5001 Fix flaky test_profile_0_kinds... (key name for retrospection kind matching) so all memory tests pass cleanly post T05
Part of final verification that 'installing still works' after the CYA-WP-0005 ralph loop.
2026-05-28 03:30:28 +02:00
0a85539d8d Update SCOPE.md post CYA-WP-0005 ralph completion
- Reflect delivery of the full agentic memory profile model (T02 Profile 0 baseline + T03 definitions + T05 minimal Profile 1 verbal reflections spike).
- Updated 'Current Delivered Scope' header, slice list, and core capabilities (retrospect now includes verbal lesson capture).
- Verified all memory tests green and package imports cleanly before commit.
- Part of final 'commit and sync' request after ralph loop HEUREKA.
2026-05-28 03:28:23 +02:00
6d93f6dd90 CYA-WP-0005 T06/T07/T08 + close (ralph final): Mark remaining tasks done; set workplan frontmatter to done
- T05 spike + prior T02/T03 work satisfied T06 (tests/safety) and T07 (docs).
- T08 close criteria met via cumulative commits, State Hub updates, and progress events throughout the loop (pre-existing registration from creation step).
- Frontmatter status: done.
- All 8 tasks done.

This completes the ralph loop for CYA-WP-0005.
2026-05-28 03:25:15 +02:00
a87cd4ab42 CYA-WP-0005 T05 done (ralph iter 5): Minimal Profile 1 (Reflexion verbal) spike
- Added KIND_REFLECTION + remember_reflection() helper in memory (thin, exported).
- Wired into run_retrospection(): optional 'capture verbal lesson' step at end.
- Main recall now includes reflections for preferential activation.
- Final LLM response + explain surface verbal reflections when activated.
- Added roundtrip test + import updates.
- Small README note.
- All changes small/inspectable, safety preserved (still through RiskClassifier).
- T05 acceptance criteria met with working end-to-end spike.

Committed as ralph iter 5. Ready for T06+ or close.
2026-05-28 03:24:44 +02:00
16fde868cf CYA-WP-0005 T04 done (ralph iter 4): Polish + cross-link the phase-memory suggestions doc
- Added T04 finalization note and cross-references to the new Profiles 1–3 definitions / Capability Matrix in MemoryVision.md.
- Added one-line handoff pointer in the suggestions doc itself.
- T04 acceptance criteria satisfied (artifact already existed from pre-ralph creation; now polished and linked).

Small delta, committed. Ralph loop continuing to T05+.
2026-05-28 03:23:09 +02:00
cd3a2fbecc CYA-WP-0005 T03 done (ralph iter 3): Profiles 1–3 definitions + capability matrix
- MemoryVision.md: New major section 'Profiles 1–3: Definitions and cya Integration Plans' with crisp, self-contained definitions for each profile (intent, core loop, cya mapping, delta, phase-memory fit, safety/explainability) + full 'Profile Capability Matrix' table.
- Added short appendix in the workplan itself ('Profile Definitions Reference (T03)') pointing to MemoryVision as the living spec.
- All content synthesized from the persisted research artifact with heavy references.
- T03 acceptance criteria fully met (definitions + matrix in MemoryVision + workplan note; docs-only).

Committed as ralph iter 3. Next: T04 (phase-memory suggestions doc polish).
2026-05-27 21:20:25 +02:00
19e80cc9bc CYA-WP-0005 T02 done (ralph iter 2): Formalize Profile 0 baseline everywhere
- MemoryVision.md: Large new 'Profile 0 Baseline (Post-0003 / Current Shipped)' section with exact ports, activation logic, retrospection, safety invariants, usage sites, and relationship to 1–3 (plus the prior research section from T01).
- src/cya/memory/__init__.py: Updated module docstring to declare Profile 0 reality + references to MemoryVision + CYA-WP-0005.
- src/cya/orchestrator.py: Updated docstring with Profile 0 memory wiring note.
- SCOPE.md: Named Profile 0 explicitly in delivered slices and core capabilities.
- tests/test_memory.py: Added two new explicit 'Profile 0' tests + comments asserting provenance markers, kinds, activation_context support (T02 acceptance).
- README.md + AGENTS.md: Added Profile 0 mentions + links to the workplan.

All T02 acceptance criteria met. Ralph loop active. Next: T03 (full Profiles 1–3 definitions + matrix).
2026-05-27 20:01:51 +02:00
2bcbe50607 CYA-WP-0005 T01 done (ralph iter 1): add Agentic Memory Research & Profile Directions (2026-05) section to MemoryVision.md
- New section after Success Criteria, before 0002 contract.
- References the persisted research doc (history/2026-05-28-CYA-Agentic-Memory-Research-Variations.md).
- Short outline of Profiles 1 (Reflexion verbal), 2 (hierarchical synthesis), 3 (procedural/meta-policy) + how they build on Profile 0 + 0003 retrospect/activation.
- Forward links to T02 (Profile 0 baseline) and T03 (full defs + matrix) in the workplan.
- Addresses several Open Questions from the vision.
- T01 task block updated to done in workplan.

Per ralph-workplan for CYA-WP-0005. Next: T02 formalize Profile 0.
2026-05-27 18:57:11 +02:00
c1aee5087e chore: clean duplicate state_hub_workstream_id line in CYA-WP-0005 frontmatter (post fix-consistency seed) 2026-05-27 13:31:58 +02:00
02d6f3447b Persist agentic memory research + create CYA-WP-0005 (profiles 0-3 + phase-memory feedback)
- Persist deep research on self-improving loops (Reflexion, Generative Agents, procedural/meta-policy) as history/2026-05-28-CYA-Agentic-Memory-Research-Variations.md
- Create CYA-WP-0005 workplan (proposed): baseline current memory as Profile 0, define Profiles 1-3 mapping the three variations, with tasks for docs, optional Profile 1 spike, tests/safety, and explicit T04 for phase-memory suggestions deliverable
- Add standalone sister-repo feedback doc docs/phase-memory-optimization-suggestions.md (9 prioritized categories: ports/activation, synthesis hooks, procedural support, retrieval, lifecycle, explainability, safety, observability, retrospection interop)
- All per explicit 2026-05-28 request: 'Persist the research. Create a workplan to establish the current memory handling as profile 0 and add profile 1-3. For interface optimization and missing functionality in phase-memory provide optimization suggestions to the sister repo. Commit register and sync the workplan.'
- Follows AGENTS.md: small inspectable change, references prior 0002/0003/0004 + MemoryVision + post-0004 gap analysis
- Next: register workstream, seed IDs, make fix-consistency, progress event (self-exec per prior authorization pattern)

Artifacts ready for State Hub registration and sister-repo handoff.
2026-05-27 12:50:46 +02:00
c7865929dc docs: update SCOPE.md post-0004 + new gap analysis (2026-05-28) vs INTENT.md 2026-05-27 00:47:15 +02:00
0b25758b77 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-27:
  - update .custodian-brief.md for can-you-assist
2026-05-27 00:19:33 +02:00
996039bbe1 chore(workplan): mark CYA-WP-0004 as fully done (frontmatter status: done) 2026-05-27 00:19:13 +02:00
31086a064c chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-27:
  - update .custodian-brief.md for can-you-assist
2026-05-27 00:18:49 +02:00
c0039c293a docs + chore(workplan): complete T06 and T07 for CYA-WP-0004 — final documentation polish and packaging debt registration 2026-05-27 00:18:39 +02:00
69de28b1fe chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-27:
  - update .custodian-brief.md for can-you-assist
2026-05-27 00:11:29 +02:00
358907b51f docs + chore(workplan): complete T05 for CYA-WP-0004 — lightweight release process (checklist + Makefile targets) 2026-05-27 00:11:18 +02:00
2306f05ebf chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-27:
  - update .custodian-brief.md for can-you-assist
2026-05-27 00:05:40 +02:00
e6b9610b25 feat(packaging) + chore(workplan): complete T04 for CYA-WP-0004 — MANIFEST.in, pyproject improvements, verified clean sdist+wheel build and install 2026-05-27 00:05:26 +02:00
f500a35ff0 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-26:
  - update .custodian-brief.md for can-you-assist
2026-05-26 23:21:47 +02:00
b483bf1f34 feat(install) + docs + chore(workplan): complete T03 for CYA-WP-0004 — Makefile, optional deps, and improved dev-head installation docs 2026-05-26 23:21:23 +02:00
8c7bfb57f4 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-26:
  - update .custodian-brief.md for can-you-assist
2026-05-26 22:47:10 +02:00
2f1fba9767 feat(packaging) + chore(workplan): complete T02 for CYA-WP-0004 — implemented setuptools_scm for dynamic versioning 2026-05-26 22:46:24 +02:00
379c68097f chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-26:
  - update .custodian-brief.md for can-you-assist
2026-05-26 21:41:12 +02:00
62b046b2f8 docs + chore(workplan): complete T01 for CYA-WP-0004 — packaging audit and requirements document created 2026-05-26 21:40:59 +02:00
f9feef6a7d chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-26:
  - update .custodian-brief.md for can-you-assist
2026-05-26 21:04:57 +02:00
4af53b2cbd chore(workplan): activate CYA-WP-0004 for ralph execution (status: active) 2026-05-26 21:04:46 +02:00
3c11afafcf chore(workplan): seed State Hub IDs for CYA-WP-0004 after fix-consistency 2026-05-26 20:46:37 +02:00
2daba29555 feat(workplan): add CYA-WP-0004 for dev-head install and distribution packaging 2026-05-26 20:45:30 +02:00
aad9346c9d chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-26:
  - update .custodian-brief.md for can-you-assist
2026-05-26 20:30:21 +02:00
4a48e6ad07 chore(workplan): mark CYA-WP-0003 as fully done (frontmatter status: done) 2026-05-26 20:30:12 +02:00
449361fe8b chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-26:
  - update .custodian-brief.md for can-you-assist
2026-05-26 20:26:47 +02:00
b2ec65160b docs + chore(workplan): complete T07 (final) for CYA-WP-0003 — heavy README Memory section, AGENTS update, MemoryVision addition, debt registration 2026-05-26 20:26:07 +02:00
c4b3b3908f chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-26:
  - update .custodian-brief.md for can-you-assist
2026-05-26 15:29:22 +02:00
d2beaaa5af test + chore(workplan): complete T05 for CYA-WP-0003 — comprehensive tests for activation (T03), retrospection (T04), observability, and graceful degradation 2026-05-26 15:29:14 +02:00
9865245d6b chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-26:
  - update .custodian-brief.md for can-you-assist
2026-05-26 15:27:08 +02:00
6cbd055b1a feat(retrospection) + chore(workplan): complete T04 for CYA-WP-0003 — added 'cya retrospect' guided reflection flow with goal capture 2026-05-26 15:26:54 +02:00