Private
Public Access
0
0
Commit Graph

3118 Commits

Author SHA1 Message Date
ed db850478e9 docs(plan): Record Phase 3 completions and transition to Phase 4 2026-06-12 21:27:58 -04:00
ed 92cff70543 docs(gui_2): Document context composition, context files table, and ast inspector 2026-06-12 21:27:44 -04:00
ed d1a69395b8 docs(plan): Record Phase 2 completions and move to Phase 3 2026-06-12 21:25:06 -04:00
ed 8c7b287553 docs(gui_2): Document render_discussion_entry_read_mode 2026-06-12 21:24:59 -04:00
ed 7952817c98 docs(plan): Record Task 2.1 & 2.2 completions 2026-06-12 21:24:29 -04:00
ed 2d8e166bc5 docs(gui_2): Document render_discussion_entry and render_discussion_entry_controls 2026-06-12 21:24:21 -04:00
ed a97f827ebd docs(plan): Update Task 1.2 commit hashes to final 2026-06-12 21:21:33 -04:00
ed 6d408c4d03 docs(gui_2): Document App snapshot, profile, and history/undo/redo managers 2026-06-12 21:21:25 -04:00
ed 3b4b55698c docs(gui_2): Add SQLite-granularity docstrings for App init, run, _gui_func, and shutdown 2026-06-12 21:18:18 -04:00
ed f04aeaea65 conductor(track): record 13 test regressions from Phase 3 refactor (deferred to public_api_migration_20260606) 2026-06-12 21:13:35 -04:00
ed 99e7b6e87f chore(conductor): initialize sqlite_docs_gui_2_20260612 track 2026-06-12 21:12:49 -04:00
ed 6aafac5d2f starting human review of ai_client 2026-06-12 20:51:55 -04:00
ed b0f31a84bd archive completed or outdated tracks. 2026-06-12 20:41:31 -04:00
ed 20b1a1048e conductor(checkpoint): Phase 5 complete - track shipped (manual smoke test + archive deferred) 2026-06-12 20:28:15 -04:00
ed 6f5b5f91c4 restore comment 2026-06-12 20:26:48 -04:00
ed 8251d2cb28 conductor(plan): Record Phase 4 checkpoint SHA 2026-06-12 20:16:09 -04:00
ed 9b582e2cd2 conductor(checkpoint): Phase 4 complete - rag_engine Result API + NilRAGState 2026-06-12 20:15:52 -04:00
ed ee3c90b865 refactor(rag_engine): Result API + NilRAGState (_init_vector_store, _validate_collection_dim, _get_state) 2026-06-12 20:14:40 -04:00
ed 2222c31db3 test(rag_engine): add 4 red tests for Result API + NilRAGState 2026-06-12 20:14:01 -04:00
ed d9c34a19e5 conductor(checkpoint): Phase 3 complete - ai_client Result API + deprecation + ProviderError removal 2026-06-12 19:58:52 -04:00
ed 64b787b881 refactor(ai_client): remove ProviderError class; ErrorInfo is the new error type 2026-06-12 19:41:41 -04:00
ed da44e934fc conductor(plan): Mark t3_6 (send() @deprecated) as complete 2026-06-12 19:24:30 -04:00
ed 73cf321cdf feat(ai_client): mark send() @deprecated; rewire to call send_result() 2026-06-12 19:22:27 -04:00
ed 9f86b2bee3 feat(ai_client): add send_result() public API returning Result[str] 2026-06-12 19:01:50 -04:00
ed d4d7d1ab14 refactor(ai_client): _send_llama_native_result() returns Result[str] 2026-06-12 18:47:14 -04:00
ed 6665152950 refactor(ai_client): _send_llama_result() returns Result[str] 2026-06-12 18:46:29 -04:00
ed 64d6ba2db5 refactor(ai_client): _send_qwen_result() returns Result[str] 2026-06-12 18:45:23 -04:00
ed e384afce9c refactor(ai_client): _send_minimax_result() returns Result[str] 2026-06-12 18:44:33 -04:00
ed 87cac3808f refactor(ai_client): _send_grok_result() returns Result[str] 2026-06-12 18:43:47 -04:00
ed 49923f9b43 refactor(ai_client): _send_deepseek_result() returns Result[str] 2026-06-12 18:42:53 -04:00
ed f840dbe85e refactor(ai_client): _send_anthropic_result() returns Result[str] 2026-06-12 18:41:15 -04:00
ed 943a21bfdc refactor(ai_client): _send_gemini_cli_result() returns Result[str] 2026-06-12 18:39:43 -04:00
ed 0282f9ff61 refactor(ai_client): _send_gemini_result() returns Result[str] 2026-06-12 18:38:43 -04:00
ed 0cad1e161f refactor(ai_client): classifier functions return ErrorInfo instead of ProviderError
The 6 error-classifier functions in ai_client.py, openai_compatible.py,
and qwen_adapter.py now return ErrorInfo (data-oriented) instead of
ProviderError. Each takes a source: str parameter for telemetry
provenance. ProviderError class is still used in production code paths
(Task 3.4) and will be removed in Task 3.7.
2026-06-12 18:32:05 -04:00
ed 1c99724670 test(ai_client): Add failing tests for send_result/deprecation/warning 2026-06-12 18:21:19 -04:00
ed 648d4b950f conductor(plan): mark Phase 3 Task 3.1 baseline as done 2026-06-12 18:19:03 -04:00
ed fed9108f62 conductor(checkpoint): Phase 2 Path C complete - additive _result variants in mcp_client 2026-06-12 18:10:19 -04:00
ed b144450bf9 test(mcp): add tests for _resolve_and_check_result and *_result tool variants 2026-06-12 18:07:16 -04:00
ed cf5e7b9925 feat(mcp): add Result-returning variants of resolve, read, list, search
Strictly additive: existing _resolve_and_check, read_file, list_directory,
and search_files are unchanged. The new variants return Result[Path] or
Result[str] using the data-oriented ErrorInfo/ErrorKind convention.
2026-06-12 17:44:55 -04:00
ed de0b49828d conductor(plan): revise Phase 2 to Path C scope (additive _result variants) 2026-06-12 17:39:53 -04:00
ed 2272d17f8b conductor(checkpoint): Phase 1 complete - foundation + styleguide 2026-06-12 17:13:35 -04:00
ed c5f2487f47 conductor(plan): mark Task 1.6 + 1.7 + 1.8 as complete (done by 2026-06-11 refresh) 2026-06-12 17:08:00 -04:00
ed e92003d35d docs(styleguide): add 2026-06-12 doc sync forward-references to error_handling.md 2026-06-12 16:47:30 -04:00
ed 46089e3649 feat(result_types): add Result, ErrorInfo, ErrorKind, NilPath, NilRAGState, OK 2026-06-12 16:38:09 -04:00
ed 7ccf835450 test(result_types): add red tests for Result, ErrorInfo, NilPath, NilRAGState 2026-06-12 16:29:22 -04:00
ed ca4d837b3d conductor(plan): mark Task 1.1 + 1.2 as complete 2026-06-12 16:27:10 -04:00
ed 7c301f0591 chore(deps): add typing_extensions>=4.5.0 for @deprecated decorator 2026-06-12 16:24:21 -04:00
ed 98ece4d166 conductor(track-update): data_oriented_error_handling - doc sync 2026-06-12 forward-references
Add forward-references to the 5 new canonical sources added by the 2026-06-12 doc sync (commits 35c6cca1 + 434b6d0d): data_oriented_design.md, agent_memory_dimensions.md, rag_integration_discipline.md, knowledge_artifacts.md, docs/AGENTS.md. All 5 cite this track as the canonical error-handling convention; the 4 memory dimensions and 12 nagent TDD protocols are orthogonal to error handling so no plan changes were needed. Verification recorded in state.toml [doc_sync_20260612].
2026-06-12 16:07:38 -04:00
ed 434b6d0d54 docs: reduce redundant content across files; map references to canonical sources
Per user 'a bunch of docs just committed had redundant content across
files. Can we do a reduction of that and instead map references to
other files?'

This commit reduces content duplication across 9 files. The
canonical sources are kept as detailed references; the other
files now point to them.

Reductions (table replaced with 'see canonical' reference):

1. data_oriented_design.md §9: the 4-dim memory table
   (canonical: conductor/code_styleguides/agent_memory_dimensions.md §0)

2. guide_agent_memory_dimensions.md §0: the 4-dim memory table
   (canonical: conductor/code_styleguides/agent_memory_dimensions.md §0)

3. guide_caching_strategy.md §1: the 12-layer model
   (canonical: conductor/code_styleguides/cache_friendly_context.md §1)

4. guide_ai_client.md 'Cache strategy' section: the 12-layer model recap
   (canonical: conductor/code_styleguides/cache_friendly_context.md §1)

5. guide_knowledge_curation.md §1: the 5 category file details
   (canonical: conductor/code_styleguides/knowledge_artifacts.md §1)

6. product-guidelines.md 'Memory Dimensions' section: the 4-dim table
   (canonical: conductor/code_styleguides/agent_memory_dimensions.md §0)

7. guide_mma.md '4 memory dimensions' section: the MMA scope table
   (canonical: conductor/code_styleguides/agent_memory_dimensions.md §0)

8. docs/AGENTS.md §0 + §5-§8: 4-dim table + caching/knowledge/RAG/
   feature flag tables (canonical: the per-topic styleguides in
   conductor/code_styleguides/)

9. AGENTS.md 'Code Styleguides' section: the 6-styleguide list
   (canonical: docs/AGENTS.md §2)

The principle: each piece of content has ONE source of truth; other
places point to it. The data-oriented way. Files retain their
narrative flow and the 'what this is' intros, but the detailed
tables are now in their canonical home.

Net effect: -2100 bytes across 9 files (without losing any
information - the canonical sources are unchanged). The
'cross-references' sections are kept; the duplicated content
is removed.
2026-06-12 14:10:30 -04:00
ed 35c6cca134 docs: agent workflow docs + regular docs (v2.3 surfacing)
Per user request 'use your remaining context to update agent workflow
docs and then regular docs based on what was discussed in this report',
this commit creates/updates 15 files derived from the v2.3 nagent
review (the 12 new nagent additions + the 4 memory dimensions
reframing + the cache strategy + the RAG discipline + the knowledge
harvest pattern).

Agent workflow docs (4 files):
- AGENTS.md (UPDATE): add @import line to canonical DOD + 'Code
  Styleguides' section pointing to the 6 new styleguides + new
  'Human-Facing Documentation' section pointing to ./docs/AGENTS.md
- conductor/workflow.md (UPDATE): new section 'Additions (2026-06-12)
  - the 12 patterns from the latest nagent corpus' with TDD
  protocols for knowledge harvest, cache ordering, compaction, RAG
  discipline
- conductor/product-guidelines.md (UPDATE): new sections 'Memory
  Dimensions (added 2026-06-12)' + 'See Also - Updated' with the
  6-styleguide catalog
- docs/AGENTS.md (NEW): the agent-facing mirror of docs/Readme.md
  (per the nagent CLAUDE.md pattern). 10 sections + the per-tier
  reading path + the 4 memory dimensions + the caching strategy +
  the knowledge harvest + the RAG discipline + the feature flags

Regular docs (11 files):
- 6 new styleguides (the convention catalog):
  * data_oriented_design.md: the canonical DOD reference (Tier
    0/1/2; 3 defaults to reject; 8 core defaults; 7-question
    simplification pass; 10-question self-check; 4 memory
    dimensions in Manual Slop context)
  * agent_memory_dimensions.md: the 4 memory dims (curation /
    discussion / RAG / knowledge) + when to use each + the
    boundaries
  * rag_integration_discipline.md: the conservative-RAG rule
    (opt-in, complement, provenance, no mutation, feature-gated,
    graceful failure)
  * cache_friendly_context.md: stable-to-volatile context
    ordering + the cache TTL GUI contract + the byte-comparison
    test
  * knowledge_artifacts.md: the knowledge harvest pattern
    (category files, provenance, sha256 ledger, digest
    regeneration, 'delete to turn off')
  * feature_flags.md: file presence vs config flags vs CLI flags
- 3 new project docs (the cross-cutting guides):
  * guide_agent_memory_dimensions.md: the cross-cutting guide on
    the 4 dims + the decision tree
  * guide_caching_strategy.md: caching across providers +
    stable-to-volatile ordering + cache TTL GUI + the byte-
    comparison test + the 5th provider (claude-code)
  * guide_knowledge_curation.md: the knowledge memory guide (4th
    dim) + the 5 category files + per-file notes + the digest +
    the ledger + the harvest workflow
- 2 existing doc updates:
  * guide_mma.md: new sections 'Delegation as context management'
    + 'The 4 memory dimensions (the MMA scope)'
  * guide_ai_client.md: new section 'Cache strategy and the 12-
    layer model' + the 5th provider (claude-code)

All files use the same style as the v2.3 review (the user's preferred
format): 7-column tables, no JSON, SSDL shape tags, forth/array
notation, file:line citations, ASCII sketches where useful. The
human Readme files (Readme.md, docs/Readme.md) are NOT modified
(per repeated user instruction).

The 5th provider (claude-code) is documented in guide_ai_client.md
+ the data_oriented_design.md references the nagent pattern as the
source of the canonical rules.

The cross-references are bidirectional: the 6 styleguides reference
the 3 project docs; the 3 project docs reference the 6 styleguides;
the 2 doc updates reference both; AGENTS.md + ./docs/AGENTS.md
provide the entry points.
2026-06-12 13:50:40 -04:00