Skip to content

Codex/fix workers ai model - #6

Open
jamusaaron wants to merge 16 commits into
Puliczek:mainfrom
jamusaaron:codex/fix-workers-ai-model
Open

Codex/fix workers ai model#6
jamusaaron wants to merge 16 commits into
Puliczek:mainfrom
jamusaaron:codex/fix-workers-ai-model

Conversation

@jamusaaron

Copy link
Copy Markdown

No description provided.

claude and others added 16 commits July 1, 2026 01:04
The MCP server only exposed addToMCPMemory and searchMCPMemory tools,
while delete and update operations were only available via REST endpoints.
This adds listMCPMemories, deleteMCPMemory, and updateMCPMemory tools
so MCP clients can perform full CRUD operations on memories.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BotQMbUfnnaJdFsDWsTNcw
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BotQMbUfnnaJdFsDWsTNcw
Configures the MCP memory server for use with Claude Code via
.claude/settings.json and adds CLAUDE.md with project documentation
for Claude Code sessions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BotQMbUfnnaJdFsDWsTNcw
Complete rewrite from 5-tool prototype to production memory system:

Data model: structured memories with category (14 types), layer
(core/long_embedded/mid_ground/current), confidence/salience/emotion
scoring, contradiction detection, and confidence decay.

Storage: D1 for structured data (10 tables), KV for caching (living
summary, personality, session state), R2 for static context files.

Tools (88 total):
- Memory CRUD & retrieval (20): write, edit, forget, promote, query,
  smart context, pattern analysis, consolidation, decay sweep
- People/profiles (13): add, list, get/update profiles, propose/apply
  pending updates, AI extraction, profile health audit
- Session lifecycle (9): session brief, logging, close, audit,
  living summary, context management
- Behavioral modeling (6): behavioral model, emotional context,
  personality profile, mode selection, feedback loop
- Uncertainty loop (3): ask user, record answer, list open questions
- Ingestion pipeline (3): transcript ingestion, AI extraction, triage
- Cross-agent shared memory (5): agent notes, cross-checking
- Static files (2): R2-backed context document read/write
- Health check (1): full system component verification
- Infra passthrough (26): Cloudflare D1/KV/R2/Workers management

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BotQMbUfnnaJdFsDWsTNcw
Improved all tool descriptions to be more actionable for LLM clients,
explaining WHEN to use each tool and how it relates to other tools.

New memory tools: suppress_memory, restore_memory, verify_memory,
search_by_tag, get_suppressed_memories, memory_timeline, export_memories,
bulk_tag_memories.

New people tools: search_people, delete_person, update_person.

New session tool: session_list.

New uncertainty tool: dismiss_uncertainty.

New static file tools: delete_static_file, list_static_files.

New behavioral tool: record_observation.

New ai-agent tool: ai_note_delete.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BotQMbUfnnaJdFsDWsTNcw
- Use prepare().run() instead of exec() for D1 migrations (fixes multiline SQL in local dev)
- Wrap contradiction detection in try/catch so write_memory works when AI/Vectorize are unavailable

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BotQMbUfnnaJdFsDWsTNcw
Cloudflare Builds was deploying origin/main with a stale D1 database_id
that does not exist. Ship the no-R2 production IDs plus hybrid search,
pins, import/export, context docs, and scheduled maintenance.

@jamusaaron jamusaaron left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants