diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-17 14:15:22 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-17 14:15:22 -0500 |
| commit | cac902173f8a0554716668ff1a1dbca0bad2245d (patch) | |
| tree | 7388f532f45049ab2ad9031e9a21d9ff1c081f21 /todo.org | |
| parent | 54d231be98bdde220355102abb8b37f3740db74d (diff) | |
| download | dotemacs-cac902173f8a0554716668ff1a1dbca0bad2245d.tar.gz dotemacs-cac902173f8a0554716668ff1a1dbca0bad2245d.zip | |
chore(todo): close Phase 1 ai-mcp foundation
Diffstat (limited to 'todo.org')
| -rw-r--r-- | todo.org | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -2837,20 +2837,9 @@ reimplementation of the shipped git tools is tracked separately in Design doc: [[file:docs/design/mcp-el-gptel-integration.org][docs/design/mcp-el-gptel-integration.org]] -**** TODO [#B] Phase 1 -- ai-mcp.el module + pure helpers :mcp: +**** 2026-05-17 Sun @ 14:14:34 -0500 Landed ai-mcp.el pure-helper foundation -*Goal:* land the static module skeleton with all defcustoms, the server spec, and pure helpers that perform no I/O. - -*Entry:* spec at revision 3. - -*Deliverables:* -- =modules/ai-mcp.el= with sections 1 (constants / defcustoms) and 3 (pure helpers) populated per the Code organization outline. -- Defcustoms: =cj/mcp-claude-config=, =cj/mcp-enabled-servers=, =cj/mcp-start-on-entry-points=, =cj/mcp-startup-timeout=, =cj/mcp-tool-timeout=, =cj/mcp-tool-confirm-overrides=, audit-log toggles. -- Defconst: =cj/mcp-server-specs= (the nine servers). -- Helpers: =cj/mcp--read-claude-config= (mtime-cached, structured returns), =cj/mcp--get-env=, =cj/mcp--get-secret-arg=, =cj/mcp--build-server-alist= (filtered by =cj/mcp-enabled-servers=), =cj/mcp--redact=, =cj/mcp--confirm-p=, =cj/mcp--normalize-description=. -- Tests in =tests/test-ai-mcp-helpers.el= covering every helper against fixtures. No real =~/.claude.json= reads. - -*Exit:* all helper tests green. Sentinel =REDACTED_TEST_SECRET= never appears in any output of any helper. +Commit =54d231be=. Sections 1 (constants + defcustoms) and 3 (pure helpers) of the seven-section outline. 41 ERT tests, all green. Refactor audit caught two duplications during Phase 4 and folded them into the same commit (=cj/mcp--get-server-entry= and =cj/mcp--name-matches-p=). Phase 1.5 (confirmation contract) is next. **** TODO [#B] Phase 1.5 -- GPTel confirmation contract :mcp: |
