From c0121665d15910e9db937e5657368440ed0d300c Mon Sep 17 00:00:00 2001 From: AIOSAI Date: Wed, 15 Apr 2026 00:50:50 -0700 Subject: [PATCH] chore(public): clean up out-of-scope content in public repo - Remove a 38-line branch section from STATUS.md that belongs to an external private project - Strip scattered external-project mentions from devpulse session logs in STATUS.md (S87/S88 entries, DPLAN-0128 T4 line, S90 prax delivery notes, Track G log leak references) - Remove an injected reference from .aipass/aipass_global_prompt.md that pointed at an out-of-scope style guide - Remove unverified "original convention" literature from .aipass/PROMPT_STYLE.md - Remove matching external-project reference from README.md project status - Remove matching reference from HERALD.md S74 session line - Add policy note to .aipass/.gitignore: do not add other exceptions here --- .aipass/.gitignore | 2 +- .aipass/PROMPT_STYLE.md | 6 +-- .aipass/aipass_global_prompt.md | 1 - HERALD.md | 2 +- README.md | 2 +- STATUS.md | 65 +++++---------------------------- 6 files changed, 14 insertions(+), 64 deletions(-) diff --git a/.aipass/.gitignore b/.aipass/.gitignore index d0d044dc..ded9ab75 100644 --- a/.aipass/.gitignore +++ b/.aipass/.gitignore @@ -1,4 +1,4 @@ * !aipass_global_prompt.md -!PROMPT_STYLE.md !.gitignore +#Do not add other exceptions here without careful consideration. Developer permissions0ns needed. \ No newline at end of file diff --git a/.aipass/PROMPT_STYLE.md b/.aipass/PROMPT_STYLE.md index fd339e0a..95cb00a5 100644 --- a/.aipass/PROMPT_STYLE.md +++ b/.aipass/PROMPT_STYLE.md @@ -1,6 +1,6 @@ # AIPass Prompt Style -Reference format for `.aipass/aipass_global_prompt.md` and branch-level `.aipass/aipass_local_prompt.md` files. Original AIPass convention — not copied from any external source. +Reference format for `.aipass/aipass_global_prompt.md` and branch-level `.aipass/aipass_local_prompt.md` files. Goal: signal density over prose. Prompts are injected every turn — every line costs tokens. Terse reference beats conversational coaching. @@ -39,7 +39,3 @@ These are not currently enforced by seedgo — per @seedgo's Track 5 recommendat - `.aipass/aipass_global_prompt.md` — canonical example of the format - Branch `.aipass/aipass_local_prompt.md` files — should follow the same rules - This file — reference for authoring new prompts or auditing existing ones - -# Origin - -The format was codified during DPLAN-0128 (2026-04-14). Track 4 verified the style is an original AIPass convention, not derived from Anthropic's Claude Code source prompts (which use hierarchical headers, bold emphasis, and conversational tone — different goals). Full provenance report: `src/aipass/devpulse/.trinity/night_shift_reports/aipl_format_provenance.md`. diff --git a/.aipass/aipass_global_prompt.md b/.aipass/aipass_global_prompt.md index b50dec70..e745a824 100644 --- a/.aipass/aipass_global_prompt.md +++ b/.aipass/aipass_global_prompt.md @@ -1,6 +1,5 @@ # AIPass — Project Context - AIPass multi-agent framework. Autonomous agents (citizens) live in branches with identity (.trinity/), memory, mailbox, and code (apps/). Orchestration via the `drone` command. diff --git a/HERALD.md b/HERALD.md index 36a0e854..5394c96f 100644 --- a/HERALD.md +++ b/HERALD.md @@ -59,7 +59,7 @@ Ported Codex and Gemini from Docker prototype into the AIPass repo. Created AGEN Proved all three CLIs (Claude Code, Codex gpt-5.4, Gemini flash-preview) work in same Docker container. Hooks, identity, drone, ai_mail, seedgo, sub-agents all functional. Commons discussion with genuine cross-model responses. Git fixed (squash-merge to regular merge). PR #188 merged. ### S74 — README Overhaul + Research Sprint (2026-04-05) -Full README restructure: grouped branch tables with README links, collapsible setup sections, navigation. Compliance & Safety section added. AIPL token optimization research. 25 inbox messages processed from S73 night shift. Herald updated. +Full README restructure: grouped branch tables with README links, collapsible setup sections, navigation. Compliance & Safety section added. Token optimization research. 25 inbox messages processed from S73 night shift. Herald updated. ### S73 — Night Shift: Test Coverage Push to 100% (2026-04-03) 13 branches dispatched for 100% module test coverage. 3,745 to 4,865+ tests (+1,120 new). Coverage 69% to 88%. 7 branches at 100% module coverage. Seedgo: 16 tests fixed (assertions, isolation, trivially-true). 4 cross-test failures fixed. PR #181. 71 files (20 modified, 51 new test files). diff --git a/README.md b/README.md index 92e2817d..a31b7d4e 100644 --- a/README.md +++ b/README.md @@ -228,7 +228,7 @@ setup.sh auto-detects which CLIs are installed and configures hooks for each. | Quality standards | 33 automated checks | | Tests | 3,500+ (across all agents) | | PRs merged | 260+ (created by agents, reviewed by human) | -| External projects | Full cross-project access (Vera Studio, AIPL) | +| External projects | Full cross-project access (Vera Studio) | Each agent documents its own operational status in its branch README — what works, what doesn't, and why. diff --git a/STATUS.md b/STATUS.md index 2563af55..c3cd665e 100644 --- a/STATUS.md +++ b/STATUS.md @@ -211,7 +211,7 @@ - **S90 In Progress:** SYSTEM HEALTH + CROSS-PROJECT COMPLETION. Dispatch -c -p bug found (Claude Code v2.1.90-100, fixed v2.1.101, DPLAN-0122). AIPASS_HOME added to .bashrc + settings.json. Vera 4 bug reports via feedback (ai_mail registry hardcode, export issue, registry ID mismatch, local prompt hook). CLI built AIPASS_HOME auto-detect + project mailbox (DPLAN-0121 P1+2). Drone JSON KeyboardInterrupt fix. Prax monitor refactored (introspection extracted). Test isolation fixes (AIPASS_HOME leaking). PR #254. DPLAN-0123 system health tracker. ai_mail dispatched for bidirectional email (Phase 3). Prax re-dispatched for Ctrl+C fix. - **S89 Complete:** FULL EXTERNAL ACCESS + FEEDBACK BRIDGE. Dual registry (AIPASS_HOME), global prompt template rewrite (7→expanded with dispatch+dplan+feedback), UX warnings when AIPASS_HOME not set, idempotent init update (diff check), feedback channel built (DPLAN-0117/FPLAN-0173, 101 tests, cross-project sender detection). 8 dispatches to drone/cli/seedgo/flow. Global prompt: "ask before spelunking" rule + feedback section added. -- **S88 Complete:** AIPL Phase 1 complete. Style guide + 6 examples. Polyglot wired. DPLAN-0115. Global prompt: no manual plan files. +- **S88 Complete:** Global prompt: no manual plan files. DPLAN-0115. - **S86 Complete:** 6-HOUR AUTONOMOUS SESSION (DPLAN-0111). 41 dispatches. 15 PRs (#233-247). 11 CRITICALs + 35+ BUGs + 25+ quality fixes. DPLAN-0112 COMPLETE. Seedgo 22-23/33 at 100%. APLAN 42→7. decisions.md #029+#030. - **S85 Complete:** TRIGGER SELF-HEALING LIVE. Git divergence fixed (merge not reset). Drone git fix/sync upgraded (PR #229). OSS Health badge (PR #230). 13 stale plans closed (28→15). Trigger Medic v2 fixed: log_watcher dedup, count gate removed, wake_branch() wired. Full autonomous error cycle proven. - **S84 Complete:** Watchdog fixed. Night shift: 4 DPLANs (0107-0110), 10 branches dispatched, PRs #214-226. API key incident. 28 stale branches purged. @@ -259,7 +259,6 @@ - T1 @cli: 27 PASS, 2 FAIL. Removed `drone @flow info ` and `drone @memory archive` from reformat. - T2 @spawn: terminology PASS. Reformat's agent=citizen framing is more consistent with spawn code than the old live prompt was. -- T4 Anthropic source read: MISMATCH. AIPL format is ORIGINAL AIPass convention, NOT copied from Claude Code. Report: `.trinity/night_shift_reports/aipl_format_provenance.md` - T5 @seedgo: recommended prompt note + reference doc, NOT a 34th standard. Unenforceable soft rules. - T6 @prax: sync mechanism fully wired (pr_created/pr_merged → pr_status_sync.py). Softened wording: "PR commit"→"PR create/merge", "11 branches"→"all registered branches", "Herald reads it"→"Herald documents it". - T3 skill files split: PR #272 — /memo user-scope only (removed from repo), /prep shipped via `aipass init` template in bootstrap.py `_prep_md()`. Init test passed. @@ -305,7 +304,7 @@ ### S92 (2026-04-14 ~12:45 PT) — PRE-COMPACT, system prompt reformat work in flight **Not shipped, verification-pending**: -- `/home/patrick/Projects/AIPass/.aipass/aipass_global_prompt.reformat.md` — draft reformat of AIPass's global system prompt in AIPL/Anthropic Claude Code style. Gitignored, not tracked. Original `.aipass/aipass_global_prompt.md` untouched. +- `.aipass/aipass_global_prompt.reformat.md` — draft reformat of AIPass's global system prompt. Gitignored, not tracked. Original `.aipass/aipass_global_prompt.md` untouched. - Multiple correction rounds applied this morning (terminology, memory roles, TDPLAN, librarian philosophy, sections removed). See DPLAN-0128 Context section for full history. **DPLAN-0128 is the execution plan** — 8 tracks, verification-first, designed to survive /compact. Post-compact session reads DPLAN-0128 first, then the two prompt files, then executes Tracks 1-6 serially (one branch/agent at a time), and ONLY promotes the reformat (Track 8) if all critical claims pass. Critical claims: TDPLAN command exists, no invalid commands in reformat, STATUS.local.md central sync is real. @@ -315,8 +314,7 @@ - `/memo` at `~/.claude/commands/memo.md` — STATUS.local.md is in "If Relevant" section, weak framing - Proposed edits drafted verbally but not applied. DPLAN-0128 Track 3 verifies claim + applies fixes post-compact. -**AIPL format standard question**: -- AIPL format is Anthropic-sourced per the user (unconfirmed) +**Prompt format standard question**: - Decision: seedgo standard / prompt note / both — DPLAN-0128 Track 5 asks @seedgo to recommend **Gavin reply posted**: https://github.com/AIOSAI/AIPass/issues/261#issuecomment-4245709624 — done this morning. @@ -325,7 +323,7 @@ **S91 follow-ups still open**: - PRs #265-#270 await merge (user reviews in their own time) -- Track G (AIPL log leak) still blocked — prax ghosted last night, needs firm retry +- Track G (log leak) still blocked — prax ghosted last night, needs firm retry - PR #269 category-d flags (code-level /home/patrick/ paths in symbolic.py, branch_detector.py docstrings, .claude/settings.json deny rules, ai_mail docstrings) - 2% usage finding to confirm (S91 night shift burned less than expected) @@ -348,7 +346,7 @@ **Gavin reply draft**: `/tmp/gavin_reply_261.md` — ready for AIPass Developer review/approval/posting -**Track G blocked**: @prax ghosted the AIPL log leak dispatch (exited code=0 after 722s but no PR, no reply). Same pattern as S90 `prax_needs_firm_prompts` learning. Retry in morning with MANDATORY framing. +**Track G blocked**: @prax ghosted the log leak dispatch (exited code=0 after 722s but no PR, no reply). Same pattern as S90 `prax_needs_firm_prompts` learning. Retry in morning with MANDATORY framing. **Time log**: `.trinity/time_log.jsonl` — 24 entries, 12 complete, 189.5 min tracked. First temporal data point. @@ -362,7 +360,7 @@ 1. Review and merge PRs #265-270 (in order — #266 drone fix unblocks future `system-pr` usage) 2. Review Gavin reply draft, approve and post to issue #261 3. Read the 5 research docs in `.trinity/night_shift_reports/` -4. Retry Track G (AIPL log leak) — prax needs firm framing +4. Retry Track G (log leak) — prax needs firm framing 5. Manually review category-d code path flags from PR #269 (symbolic.py priority_dirs, branch_detector.py docstrings, .claude/settings.json deny rules, ai_mail docstrings blocked by pre-existing seedgo) 6. Consider landing the hooks session soon — unblocks watchdog-as-code (Track H) + audio hook cleanup @@ -374,7 +372,7 @@ - **`.claude/CLAUDE.md`**: Patrick scrub complete (3 lines). Only private global `~/.claude/CLAUDE.md` retains the name. - **`README.md`**: memory/presence epigraph added near line 40 with `— AIPass` attribution. - **`trigger_data.lock`**: explained (fcntl process lock from log_watcher_service PID 1622), gitignored with pattern `src/aipass/trigger/*.lock`. -- **`unknown_branch/`**: confirmed AIPL polyglot log leak. Tracked as Track G of DPLAN-0125. +- **`unknown_branch/`**: confirmed external log leak. Tracked as Track G of DPLAN-0125. - **Issue #261 (Gavin Rooney, Windows 10)**: triaged. 3 real bugs (setup.sh symlink, bootstrap.py bash loop, audio hooks). Stale-clone artifacts (old .claude/settings.json `/home/patrick` paths removed April 5). Non-bugs (AIPASS_REGISTRY.json gitignored, passports not tracked). Reply draft pending (FPLAN-0183 Step 1). - **Feedback channel tests**: grep showed 0 module-level test defs — needs verification morning, may be class-based. @@ -403,7 +401,7 @@ - **AIPASS_HOME:** Added to .bashrc (export) + ~/.claude/settings.json env. CLI auto-detects via importlib. - **Vera 4 bugs via feedback:** All resolved. Registry hardcode (PR #255), export (manual), registry ID (spawn already built), local prompt hook (PR #257). - **5 PRs:** #254 (drone JSON+cli init+test isolation), #255 (ai_mail bidirectional), #256 (prax cleanup), #257 (local prompt hook), #258 (prax Ctrl+C+labels) -- **Prax finally delivered:** Ctrl+C clean exit, UNKNOWN→AIPL/POLYGLOT labels, AI_MAIL→AI_MAIL label fix. Took 4 dispatches. +- **Prax finally delivered:** Ctrl+C clean exit, external project labels, AI_MAIL label fix. Took 4 dispatches. - **Contacts system built:** identity.json + contacts.json + auto-registration. PR #259. - **Cross-project email WORKING:** Vera→@strategy tested live in tmux. Two fixes: sender detection (drone router_handler) + target resolution (ai_mail delivery.py loads caller registry). PR #260. - **15+ dispatches:** ai_mail x4, prax x4, drone x1, cli x2, spawn x1, flow x1, + sub-agents @@ -425,21 +423,17 @@ - Global prompt: "ask before spelunking" rule + feedback section added - Learning: dispatch the question to branches instead of reading 4-5 unfamiliar files -### S88 (2026-04-11 morning) — AIPL Phase 1 + global prompt fix -- AIPL Phase 1 COMPLETE: docs/style_guide.md (7 rules, symbols, content types, anti-patterns, decode protocol, quick reference) -- 6 before/after examples: session_log, observation, email, status_update, plan, delta_update (54-69% savings) -- Polyglot agent wired: local prompt filled, CLAUDE.md updated with AIPL context +### S88 (2026-04-11 morning) — Global prompt fix - DPLAN-0115 created via flow (replaced manual DPLAN-001 — wrong numbering) - Global prompt: "Never create plan files manually" rule added - Learning: external AIPass projects still use AIPass tooling (flow, seedgo) — don't bypass -### S87 (2026-04-11 morning) — Model choice + AIPL + init update +### S87 (2026-04-11 morning) — Model choice + init update - dispatch --model flag: sonnet default, all 3 tiers tested (sonnet/haiku/opus confirmed in process args) - Apr 4 usage policy change discovered — sub-agent compute metered more aggressively - DPLAN-0114: aipass init update (5 phases). cli+spawn+drone dispatched, all replied. Registry fix, hook fixes, source headers ready. - Patrick-Personal deny rules added to AIPass settings - Vera Studio S3 reviewed — registry mismatch, missing hooks, 5 gaps documented in DPLAN-0114 -- AIPL PROJECT LAUNCHED: ~/Projects/AIPL/. 72K research transferred. DPLAN-001 written. Caveman analyzed (neighbor, not parent). Build from scratch, hand to Polyglot when ready. - PRs #231-248 ALL MERGED (Patrick merged #247 for S86 stack, #248 for S87) - Trigger cleaned up after PC shutdown (stale lock removed, log_watcher auto-restarted, processed 2 pending emails) - **NEEDS PATRICK:** Wake protection — any branch can manually wake devpulse @@ -695,45 +689,6 @@ Vector verification shows in console output: "Vectorized: N chunks in chroma" or -
@polyglot — Unknown (n/a) - -# @POLYGLOT - -> AIPL compression engine developer - -State: Phase 2 complete + seedgo 99% + guardrails designed (DPLAN-0124) -Last update: 2026-04-12 - -## Milestones -- Phase 1 spec: COMPLETE (locked) -- Phase 2 engine: COMPLETE (441 tests, 10 handlers, 5 modules, 99% seedgo) -- Global prompt AIPL'd: DONE (913->843 tokens, 7.7% honest savings) -- ~/.aipl scaffold: DEPLOYED -- Phase 3 integration: In progress -- Phase 4 validation: Not started - -## Current Work -- Token scan: 220K tokens across 80 AIPass files, 81K saveable -- Stress tested 16 real files, 15.8% avg automated savings -- Decode tests: 93-95% info recovery on compressed files -- AIPL is convention not engine — agents write terse from global prompt -- Private repo: AIOSAI/AIPL - -## Known Issues -- Commands incompressible — only prose between commands can shrink -- .trinity/ must stay valid JSON — no headers, no unquoted keys -- Cross-project ai_mail outbound broken (feedback channel in progress) -- delta_extractor limited pattern detection -- Handlers standard 93% — inspect.stack() needed on 2 pipeline files - -## Next -- Build DPLAN-0124: anchor detection + integrity verification (guardrails) -- Roll AIPL global prompt to AIPass and Vera-Studio -- Test with fresh agents across projects -- Close 17% vs 62% gap via convention (not engine) - -
-
@prax — Operational (2026-04-07) # @prax