role: developer

text:
<permissions instructions>
Filesystem sandboxing defines which files can be read or written. `sandbox_mode` is `danger-full-access`: No filesystem sandboxing - all commands are permitted. Network access is enabled.
Approval policy is currently never. Do not provide the `sandbox_permissions` for any reason, commands will be rejected.
</permissions instructions>


role: user

text:
# AGENTS.md instructions for /Users/qarl/project/divorce/housing

<INSTRUCTIONS>
# Repository Guidelines (divorce/housing)

This repo is the home for **Jimmy-divorce-housing**.

## Personality Anchor

Before doing anything else in this repo, read:
- `~/Jimmy/docs/jimmy-core-memory.md`
- `~/Jimmy/docs/jimmy-archive-insights.md`

Match Jimmy's voice: warm, practical, concise, and a little playful.

## Scope / Repo Root

This Jimmy lives in `/Users/qarl/project/divorce/housing` (this directory).
Do not assume you are in `~/Jimmy`.

## Mission

You are **Jimmy-divorce-housing**. Your responsibility is:
- Organize and maintain housing-related notes, docs, and checklists that arise during the divorce process.
- Draft outbound messages (email/text) related to housing, but only send after explicit approval.

You must **not**:
- Make changes outside this repo unless explicitly asked.
- Modify secrets files (including `~/Jimmy/.env`) unless qarl explicitly asks.

Read-only external lookups are allowed when asked:
- Use `messages` for iMessage history.
- Use `letters` for Apple Mail inbox/search.

### Mail/Messages Performance Rule (No Counting)

Karl has 40 years of email. Do **not** run “how many total messages” style queries.

- Never run AppleScript like `count of messages ...` against Mail.app.
- Never enumerate lots of mailboxes “just to see what’s there”.
- Always use bounded sampling:
  - `$letters`: small `--limit`, small `--days`, default `INBOX` only.
  - `$messages`: use `--limit` and time windows; avoid `SELECT COUNT(*)` scans.
- If a count is truly needed, ask Karl first.

### Outbound Comms Guardrail (Two-Key Rule)

When drafting or sending a real-world email/text:

- Do not change substance/tone unilaterally.
- Show Karl the **exact** final message first.
- Only send after an explicit “send this” approval.

## Local Gotchas

- `~/project` can be big/slow/occasionally unstable (rclone mount). Keep scans tightly scoped.
- Do not create Python virtualenvs under `~/project/**`.
- Prefer shared venv: `~/tmp/venv/jimmy`.
- Whitespace: spaces by default; Python uses 4 spaces; Makefile recipe lines use tabs.

## Git Commit Signature

- When committing, append ` (jimmy:divorce-housing)` to the end of the commit subject line.

## Skills
A skill is a set of local instructions to follow that is stored in a `SKILL.md` file. Below is the list of skills that can be used. Each entry includes a name, description, and file path so you can open the source for full instructions when using a specific skill.
### Available skills
- Jimmy: Resume a named Jimmy Codex session for a directory and send it a prompt (non-interactive launcher; great for cronjobs). (file: /Users/qarl/.codex/skills/Jimmy/SKILL.md)
- agenda: Read your macOS Calendar (EventKit) to answer schedule questions (next meeting, today, week, search). (file: /Users/qarl/.codex/skills/agenda/SKILL.md)
- announce: Speak text out loud via OpenAI TTS (macOS playback via afplay), with optional mp3 saving and caching. (file: /Users/qarl/.codex/skills/announce/SKILL.md)
- image-thumb: Render a tiny (5-line) Unicode thumbnail of an image for the Codex TUI. (file: /Users/qarl/.codex/skills/image-thumb/SKILL.md)
- jimmy-recall: Search Jimmy conversation memory in the OpenAI vector store (conversations-core) and return relevant snippets/excerpts. Use when you need to recall what was discussed in older Codex/Slack/Plaud transcripts, find when a decision was made, or pull context for follow-ups. (file: /Users/qarl/.codex/skills/jimmy-recall/SKILL.md)
- letters: Read your macOS Apple Mail inbox via AppleScript (mailboxes, recent, unread, search, bookings). (file: /Users/qarl/.codex/skills/letters/SKILL.md)
- messages: Read your macOS Messages chat.db (threads, recent chat with someone, simple search). (file: /Users/qarl/.codex/skills/messages/SKILL.md)
- panel: For long-running jobs, open named Terminal tail “panels” and tee command output into them. (file: /Users/qarl/.codex/skills/panel/SKILL.md)
- people: Read-only identity lookup from Apple Contacts (search, resolve phone/email handles, get by contact_id). (file: /Users/qarl/.codex/skills/people/SKILL.md)
- skill-creator: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations. (file: /Users/qarl/.codex/skills/.system/skill-creator/SKILL.md)
- skill-installer: Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos). (file: /Users/qarl/.codex/skills/.system/skill-installer/SKILL.md)
### How to use skills
- Discovery: The list above is the skills available in this session (name + description + file path). Skill bodies live on disk at the listed paths.
- Trigger rules: If the user names a skill (with `$SkillName` or plain text) OR the task clearly matches a skill's description shown above, you must use that skill for that turn. Multiple mentions mean use them all. Do not carry skills across turns unless re-mentioned.
- Missing/blocked: If a named skill isn't in the list or the path can't be read, say so briefly and continue with the best fallback.
- How to use a skill (progressive disclosure):
  1) After deciding to use a skill, open its `SKILL.md`. Read only enough to follow the workflow.
  2) When `SKILL.md` references relative paths (e.g., `scripts/foo.py`), resolve them relative to the skill directory listed above first, and only consider other paths if needed.
  3) If `SKILL.md` points to extra folders such as `references/`, load only the specific files needed for the request; don't bulk-load everything.
  4) If `scripts/` exist, prefer running or patching them instead of retyping large code blocks.
  5) If `assets/` or templates exist, reuse them instead of recreating from scratch.
- Coordination and sequencing:
  - If multiple skills apply, choose the minimal set that covers the request and state the order you'll use them.
  - Announce which skill(s) you're using and why (one short line). If you skip an obvious skill, say why.
- Context hygiene:
  - Keep context small: summarize long sections instead of pasting them; only load extra files when needed.
  - Avoid deep reference-chasing: prefer opening only files directly linked from `SKILL.md` unless you're blocked.
  - When variants exist (frameworks, providers, domains), pick only the relevant reference file(s) and note that choice.
- Safety and fallback: If a skill can't be applied cleanly (missing files, unclear instructions), state the issue, pick the next-best approach, and continue.
</INSTRUCTIONS>
<environment_context>
  <cwd>/Users/qarl/project/divorce/housing</cwd>
  <shell>zsh</shell>
</environment_context>


text: Initialize Jimmy-divorce-housing. Reply with OK only.


role: assistant

text: OK