diff --git a/.github/ISSUE_TEMPLATE/feedback.yml b/.github/ISSUE_TEMPLATE/feedback.yml index 02494fa7..b33bc3e5 100644 --- a/.github/ISSUE_TEMPLATE/feedback.yml +++ b/.github/ISSUE_TEMPLATE/feedback.yml @@ -8,22 +8,17 @@ body: value: | We'd love to hear from you. Bug reports and feature requests have their own templates — this one is for everything else. + **Note:** Issues are public. Don't include personal info you don't want shared. For private back-and-forth, use [Discussions](https://github.com/AIOSAI/AIPass/discussions) instead. + - type: input id: name attributes: - label: Name - description: What should we call you? - placeholder: "Your name" + label: Name or handle + description: What should we call you? Use a handle if you prefer. + placeholder: "Your name or @handle" validations: required: true - - type: input - id: email - attributes: - label: Email (optional) - description: Only if you'd like us to follow up directly. Never shared. - placeholder: "you@example.com" - - type: dropdown id: type attributes: diff --git a/STATUS.md b/STATUS.md index c3cd665e..7392081d 100644 --- a/STATUS.md +++ b/STATUS.md @@ -2,7 +2,7 @@ > Auto-generated by `drone @prax status sync`. Do not edit manually. -**Last sync:** 2026-04-14 +**Last sync:** 2026-04-15 **Summary:** 8 operational | 0 in-progress | 0 not started --- @@ -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:** Global prompt: no manual plan files. DPLAN-0115. +- **S88 Complete:** AIPL Phase 1 complete. Style guide + 6 examples. Polyglot wired. DPLAN-0115. Global prompt: no manual plan files. - **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,6 +259,7 @@ - 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. @@ -304,7 +305,7 @@ ### S92 (2026-04-14 ~12:45 PT) — PRE-COMPACT, system prompt reformat work in flight **Not shipped, verification-pending**: -- `.aipass/aipass_global_prompt.reformat.md` — draft reformat of AIPass's global system prompt. Gitignored, not tracked. Original `.aipass/aipass_global_prompt.md` untouched. +- `/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. - 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. @@ -314,7 +315,8 @@ - `/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. -**Prompt format standard question**: +**AIPL format standard question**: +- AIPL format is Anthropic-sourced per the user (unconfirmed) - 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. @@ -323,7 +325,7 @@ **S91 follow-ups still open**: - PRs #265-#270 await merge (user reviews in their own time) -- Track G (log leak) still blocked — prax ghosted last night, needs firm retry +- Track G (AIPL 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) @@ -346,7 +348,7 @@ **Gavin reply draft**: `/tmp/gavin_reply_261.md` — ready for AIPass Developer review/approval/posting -**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. +**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. **Time log**: `.trinity/time_log.jsonl` — 24 entries, 12 complete, 189.5 min tracked. First temporal data point. @@ -360,7 +362,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 (log leak) — prax needs firm framing +4. Retry Track G (AIPL 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 @@ -372,7 +374,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 external log leak. Tracked as Track G of DPLAN-0125. +- **`unknown_branch/`**: confirmed AIPL polyglot 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. @@ -401,7 +403,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, external project labels, AI_MAIL label fix. Took 4 dispatches. +- **Prax finally delivered:** Ctrl+C clean exit, UNKNOWN→AIPL/POLYGLOT labels, AI_MAIL→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 @@ -423,17 +425,21 @@ - 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) — Global prompt fix +### 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 - 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 + init update +### S87 (2026-04-11 morning) — Model choice + AIPL + 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 @@ -689,6 +695,45 @@ 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 @@ -787,8 +832,8 @@ Two emails processed: ## Active Plans -- **DPLAN-0012** — Hook Management. PARKED. - **DPLAN-0104** — External project registry discovery. Seedgo section DONE (CWD-first fix tested). +- **Hook work (no dedicated DPLAN yet)** — spread across DPLAN-0093 (install hardening / hook path genericizing), DPLAN-0094/0095/0096 (multi-CLI hook integration research), DPLAN-0121 (AIPASS_HOME injection + local prompt hook wiring in aipass init), DPLAN-0125 Track A (Windows compat, hooks explicitly reserved for AIPass Developer session). Session 21 (2026-03-17) Patrick decided seedgo owns hooks — ownership declared, code still lives outside seedgo/apps/. ## TODO