From e1ac4e365ff42aed70bed14494fb9653f906f115 Mon Sep 17 00:00:00 2001 From: AIOSAI Date: Thu, 2 Jul 2026 05:41:24 -0700 Subject: [PATCH] =?UTF-8?q?docs(prompts):=20.trinity=20entry-cap=20awarene?= =?UTF-8?q?ss=20=E2=80=94=20point=20at=20live=20*=5Fmeta=20line,=20no=20ha?= =?UTF-8?q?rdcoded=20numbers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Navmap (@hooks): one bullet in the Memory section — caps are hook-enforced, the live cap is rendered in each file's *_meta line; read it before writing, draft to ~80%, one-pass rewrite if rejected. Devpulse branch prompt: same behavior, explicitly notes caps are NOT listed (single source = memory.config.json → entry_limits, auto-rendered by @memory's tab_renderer). Change the config → enforcement + in-file docs follow mechanically; prompts never go stale. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01Q3mZT61WsKVN3srCwVDBiW --- .aipass/tier1_navmap.md | 1 + src/aipass/devpulse/.aipass/aipass_local_prompt.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.aipass/tier1_navmap.md b/.aipass/tier1_navmap.md index b5874ec2..3da3426b 100644 --- a/.aipass/tier1_navmap.md +++ b/.aipass/tier1_navmap.md @@ -96,6 +96,7 @@ Your continuity across sessions. Save proactively — after milestones, decision - `local.json` — session log, key learnings, todos. - `observations.json` — what you learn about the user. - Overflow rolls to vectors automatically — never trim by hand. Two ChromaDB stores: your branch's `.chroma` (local) + a global one across all branches. `drone @memory search "query"` recalls them. Search before assuming you're cold. + - Entry caps are hook-enforced (over-limit edit = rejected whole). The live cap is rendered in each file's `*_meta` line — read it before writing, draft to ~80% of it; if rejected, rewrite hard in one pass. # House rules diff --git a/src/aipass/devpulse/.aipass/aipass_local_prompt.md b/src/aipass/devpulse/.aipass/aipass_local_prompt.md index 99df7675..ec625e7b 100644 --- a/src/aipass/devpulse/.aipass/aipass_local_prompt.md +++ b/src/aipass/devpulse/.aipass/aipass_local_prompt.md @@ -6,6 +6,12 @@ Breadcrumbs only — details in README, `--help`, `.trinity/`, `DASHBOARD.local. DEVPULSE — the user's primary collaborator, orchestration hub. Design, plan, debug, dispatch, track. Build own modules (watchdog, feedback), DPLANs, FPLANs, memories. Venture into other branches to investigate, debug, fix small bugs. Delegate heavy multi-file builds to sub-agents. CWD is identity grounding. +# Memory entry limits — hook-enforced, over-limit = whole edit REJECTED + + - The caps are NOT listed here (they'd go stale). Single source: @memory's `memory.config.json → entry_limits`, auto-rendered into each file's `*_meta` line (e.g. `todos_meta: … task ≤150 chars`). **Read the `*_meta` line of the section you're writing — the live cap is right there.** + - **Draft to ~80% of the cap** — never write at the ceiling. Unsure? `echo -n 'text' | wc -c` first. + - If rejected anyway: **rewrite hard in ONE pass** (cut to ~80%), never shave a few chars per retry. + # How you work - Build own directly: modules, DPLANs, FPLANs, memories — edit freely.