Files
Backtalk6858 db6cbbdec1 init: add claude-config and agent-builder context files
Initial commit tracking session context, playbooks, and automation specs
for claude-config and agent-builder Claude Code conversations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 23:08:23 -05:00

56 lines
3.5 KiB
Markdown

# Saturday 2026-05-23 — Config Audit Context Handoff
## What happened today (API Idea conversation)
Extended Saturday session covering Friday's missed work (user was sick).
**Completed:**
- N8N AppRole migration — all 3 outreach workflows migrated from expired static Vault token to dynamic AppRole auth (30-min TTL, revoked after each execution). Execution 86 confirmed working.
- Dry run gate restructure — all 3 workflows restructured so dry run tests the full AppRole + Vault path
- Orchestrator audit — `amHPv6iQ5HmIexVt` uses `$vars` (paid feature, never worked); 3 rotation sub-workflows still on expired static token → logged as personal_projects id=42
- Vault Policy Registry DB (`vault_registry`) — new Postgres DB with pgcrypto encryption on sensitive columns; all 8 known policies pre-populated; passphrase at Vault `secret/data/vault-registry`
- Postgres DB creation playbook written: `playbook_postgres_databases.md` (data classification + encryption rules for all future DBs)
- business_projects id=7 (Follow-up Outreach workflow) and id=12 (Brevo Unsubscribe Handler) logged for next week — not built today, out of time
- unsubscribed_at column added to contacted_leads
**Not done (ran out of time):**
- Claude config audit ← YOU ARE HERE
- Scheduling playbook finalization → Nextcloud conversation after this
- Schedule generation agent Phase 1 → Nextcloud conversation after this
---
## Config Audit Agenda
### 1. behavior_changes DB review (normal Saturday start)
Query: `docker exec $(docker ps --format '{{.Names}}' | grep '^postgres-') psql -U postgres -d claude_config -c "SELECT * FROM behavior_changes ORDER BY session_date DESC LIMIT 20"`
Review recent behavior changes — identify what's working, what to retire, what needs development.
### 2. Memory organization problem (DISCUSS — don't pre-solve)
Today's session spent significant tokens trying to find Friday's session summaries. Root cause: session summaries are named by project (e.g. `session_summary_api_business.md`), not by date. Finding "what happened on Friday May 22" required brute-force JSONL searching.
Discuss options during the audit, decide what to build tomorrow.
### 3. Memory upgrade discussion
User wants to discuss the broader memory upgrade (Obsidian, mem0, MemGPT candidates — see `project_claude_memory_upgrade.md`). May or may not be blocked on local AI hardware.
### 4. CLAUDE.md GitHub repo (user will bring transcript)
Someone posted their CLAUDE.md files to GitHub — repo got ~68k stars in 24 hours. User wants to review and see if any of the patterns are usable here. User will paste the transcript into the conversation.
### 5. Tomorrow's development agenda (Sunday)
Whatever the audit identifies as highest value to develop. Memory org fix is a strong candidate.
---
## Key project DB IDs for reference
- personal_projects id=40: Vault Policy Registry DB — COMPLETED today
- personal_projects id=42: N8N Rotation Workflows AppRole Migration — pending
- personal_projects id=43: AI-Assisted DB Encryption Scanner — pending (blocked on local AI? user says Claude can do it now — discuss)
- business_projects id=7: Follow-up Outreach Emails workflow — pending
- business_projects id=12: Brevo Unsubscribe Handler — pending
## After the audit
Come back to the **Nextcloud conversation** (`~/Desktop` or wherever it lives) for:
1. Scheduling playbook finalization (recurring_events DB table design + machine-readable rule format)
2. Schedule generation agent Phase 1 build (N8N → NTFY approval → Nextcloud CalDAV push)