Commit Graph
10 Commits
Author SHA1 Message Date
AIPassandClaude Opus 4.6 867dad0997 feat(system): install hardening + multi-CLI Docker + legacy path cleanup (#188)
Remove hardcoded /home/patrick/ paths from 8 files, remove hooks from
repo-level settings.json (setup.sh generates these), fix memory_bank→memory
rename, add Dockerfile.multi-cli for Codex+Gemini testing, clean legacy
/home/aipass/ references from EXTRACTION_NOTE files and seedgo standards.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 16:32:21 -07:00
AIPassandClaude Opus 4.6 8ff56c2914 feat(flow): add RPLAN template, deny git add -f, fix gitignore (#154)
- Add research_plans/default.md template for external repo analysis (RPLAN)
- Deny git add -f/--force in project settings (prevents bypassing gitignore)
- Add RPLAN-*.md to gitignore (plans are local, not tracked)
- Remove force-added DPLAN-0087 from tracking (was incorrectly git add -f'd in S65)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:56:43 -07:00
18acb30f83 chore(system): session 34 — maintenance + multi-branch work (#70)
* fix(ai_mail): resolve relative mailbox_path bug + archive dead handlers

Fix get_user_by_email() and get_all_users() returning relative mailbox_path
values from registry instead of absolute paths (causing doubled paths in reply).
Added path resolution matching get_current_user() pattern.

Archive 7 unused handler files to apps/.archive/ (gitignored):
- pending_work.py — planned feature, never wired
- lock_utils.py — superseded by inbox_lock.py
- data_ops.py — consumer (error_monitor) was archived
- config_generator.py, users/load.py, registry/validate.py — scaffolded, never used
- trigger/error_handler.py — superseded by trigger branch's event system

Added test_user_paths.py (13 tests) covering absolute path resolution.

Co-Authored-By: @ai_mail <ai_mail@aipass>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(spawn): seedgo compliance cleanup — 93% to 98%

Archive legacy files (dev.local.md, ai_mail.local/, .seed/). Update META
Modified dates on 22 files. Update README architecture tree and freshness.
Fix 15 Pyright unused warnings. Add introspection no-args gates to 6
modules. Wire json_handler + log_operation to 15 operational files. Add
seedgo bypass for 5 pure data files and log_structure. Remove deprecated
dev.local.md from builder template.

Co-Authored-By: @spawn <spawn@aipass>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* chore(system): session 34 — maintenance day, multi-branch work

System changes:
- setup.sh: symlink install replaces .bashrc PATH export for drone/seedgo
- .claude/settings.json: deny list moved to per-branch settings.local.json
- .gitignore: updated
- CLAUDE.md culture doc: stale refs fixed (Cortex→spawn, id.json→passport.json)

Branch work (accumulated from 15-branch rounds):
- daemon: stale term cleanup, plugin removals, json handler modernization
- drone: module refactor (discovery, registry, router, resolver, config)
- commons: 50+ file cleanup (imports, handlers, modules)
- flow: template loader, plan type system, command parser

Per-branch settings.local.json: reworked deny lists — allow PR workflow,
deny destructive git ops (reset, rebase, merge, clean, force push, rm -rf).
Fixed pattern syntax from :* to * glob.

Co-Authored-By: @devpulse <devpulse@aipass>

---------

Co-authored-by: @ai_mail <ai_mail@aipass>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: @spawn <spawn@aipass>
Co-authored-by: @devpulse <devpulse@aipass>
2026-03-17 16:45:05 -07:00
d63b6def07 docs(system): README — bypassPermissions, drone AI-first CLI, STATUS parity (#57)
* feat(system): enable subagent hook enforcement (DPLAN-0050)

Add CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 env var so PostToolUse hooks
fire inside all subagents. Wire SubagentStop gate as secondary enforcement.
Remove unused custom builder agent. Update .claude/README.md with subagent
hook architecture docs.

Co-Authored-By: @seedgo <seedgo@aipass>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* docs(system): README — bypassPermissions, drone AI-first CLI, STATUS.local.md parity

- Fix claude command to claude --permission-mode bypassPermissions (how system actually runs)
- Add drone section: AI-friendly single-line commands, guessable patterns, no interactive mode
- Elevate STATUS.local.md from "notepad" to equal persistence layer priority
- Remove stale dev.local.md reference from global prompt

Co-Authored-By: @devpulse <devpulse@aipass>

---------

Co-authored-by: @seedgo <seedgo@aipass>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: @devpulse <devpulse@aipass>
2026-03-15 23:37:06 -07:00
75009603f5 docs(system): README update — init-anywhere, recent work (#54)
* chore: project-level PostToolUse hook + builder agent definition + prompt update

- .claude/settings.json: Added PostToolUse hook (Edit|Write|MultiEdit) for
  auto-fix diagnostics at project level (investigating subagent hook delivery)
- .claude/agents/builder.md: Custom builder agent with auto-fix PostToolUse hook
  (not yet accessible via Agent tool subagent_type — investigating)
- .aipass/aipass_global_prompt.md: Added "stage from git, not from memory" rule
- .gitignore: Added memory fragmented config/state files

Co-Authored-By: @seedgo <seedgo@aipass>

* docs(system): README update — init-anywhere story, recent work sync

Add init-anywhere as a core capability. Update recently completed with CLI front door,
memory introspection overhaul, seedgo standards enforcement. Refresh STATUS.md sync.

Co-Authored-By: @devpulse <devpulse@aipass>

---------

Co-authored-by: @seedgo <seedgo@aipass>
Co-authored-by: @devpulse <devpulse@aipass>
2026-03-15 22:36:25 -07:00
AIPassandClaude Opus 4.6 4f87b5c044 feat(system): clean hook separation, AIPASS.md as project prompt (#37)
- Move general hooks (sounds, auto-fix) to Anthropic settings only
- Remove duplicated hooks from project settings (don't fire from subdirs)
- Project settings now permissions-only, no hooks
- Identity injector: remove apps/ requirement (fixes devpulse detection)
- Identity injector: support traits[] array from passport
- AIPASS.md: renamed to Project Prompt, silent startup, CWD-relative paths
- /memo: read passport first for identity re-injection
- README: reflects actual working setup with clear Anthropic/project split

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 18:02:57 -07:00
AIPassandClaude Opus 4.6 717acf078a feat(system): hook containment + memory bank operational (FPLAN-0026) (#35)
Hook containment: AIPass hooks moved from global to project-level
.claude/settings.json. Global now only has trinity inject. Non-AIPass
projects no longer receive AIPass context.

Memory bank (FPLAN-0026): @memory completed all 6 phases autonomously —
venv with ML deps, registry fix, rollover E2E, search, plan archival,
help cleanup. ChromaDB operational with local + global .chroma stores.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:29:06 -07:00
AIOSAIandClaude Opus 4.6 2099adda72 feat(spawn): citizen classes, setup script, gitignore, README rewrite
- Spawn: builder/birthright templates replace agent.template, passport command,
  class-aware create/update (FPLAN-0009)
- setup.sh: one-command install (venv, pip, hooks, registry generation)
- .gitignore: comprehensive coverage for all runtime state (.trinity/,
  .ai_mail.local/, DASHBOARD.local.json, *_json/, logs/, etc.)
- README.md: rewritten for accuracy — removed fictional plugin docs,
  fixed architecture pattern, corrected module statuses
- Hooks moved to global ~/.claude/settings.json (absolute paths)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 22:06:28 -08:00
AIOSAIandClaude Opus 4.6 f30443504c chore: add hooks, CI/CD infrastructure, ignore runtime JSON
- Transfer Claude Code hooks from internal: identity injector, email
  notification, auto-fix diagnostics, pre-compact recovery
- Add notification sounds for tool use, stop, and alerts
- Wire all hooks in .claude/settings.json
- Add global system prompt (.aipass/aipass_global_prompt.md)
- Add branch-local prompt placeholders for all modules
- Set up CI pipeline: lint (ruff) → test matrix (3.10-3.13) → coverage
- Add workflows: PyPI publish, security scanning, stale issues
- Add GitHub issue templates, dependabot, editorconfig
- Configure pytest norecursedirs and coverage fail-under=70
- Add *.json to gitignore — runtime JSON files constantly change
- Untrack runtime JSON (registry, plans, seed bypass, module data)
- Keep source JSON tracked via negation rules (json_templates, pack,
  spawn templates, settings, pyrightconfig)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 20:33:40 -08:00
AIOSAI d43ff41978 🔧 chore(.claude): add initial claude config, hooks, and settings
- add .claude/.gitignore to exclude local claude files and caches
- add .claude/commands/memo.md with memory update instructions
- add notification, stop, tool_use, and branch_prompt_loader hooks scripts
- add .claude/settings.json configuring permissions and hooks integration
- add .gitattributes for text normalization and binary file handling

✨ feat(src/aipass): introduce multi-agent orchestration framework structure

- add core aipass package with version 2.0.0 and repo link
- add submodules for api, assistant, devpulse, drone, flow, mail, memory, prax, seedgo, skills, templates, trigger
- provide base module docstrings describing purpose and architecture
- add branch template for cortex branch with scaffolded files and verification tool
- remove legacy cortex module and seedgo standalone package to consolidate into aipass

✨ feat(src/aipass/drone): simplify drone module interface and routing system

- refactor drone module to expose main routing and resolution functionality
- remove CLI, registry, executor, resolver, router, modules, discovery, exceptions, and handlers files
- replace with minimal drone package exposing core routing and resolution API

✨ feat(src/aipass/templates/cortex/branch_template): add default branch template files

- add .backup_ignore.json to exclude large and unnecessary files from backups
- add .migrations.json for template structural migrations
- add .registry_ignore.json to exclude internal template files during updates
- add .template_registry.json tracking template files and directories with placeholders
- add default trinity memory files: local.json, observations.json, passport.json
- add DASHBOARD.local.json with autogenerated branch status
- add README.md describing branch purpose, architecture, commands, and integrations
- add apps/ package and branch.py entry point with auto-discovery routing
- add empty handlers/, modules/, plugins/ packages
- add artifacts/ with a birth certificate JSON
- add docs/, flow.local.md, logs/, pytest.ini, tests/ with conftest.py
- add tools/verify_branch.py for verifying branch consistency against template

🔧 chore(src/aipass/): remove deprecated packages and modules

- delete legacy cortex, paths, seedgo packages and their modules/plugins
- remove seedgo CLI and plugins from repo to focus on aipass core

✨ feat(src/aipass/templates/flow): add placeholder for planning and workflow management

✨ feat(src/aipass/templates/memory): add placeholder for memory scaffolding

✨ feat(src/aipass/templates/system): add placeholder for system files

✨ feat(src/aipass/trigger): add error detection and auto-dispatch module

- scaffold trigger package with handlers, modules, plugins for error matching and escalation

✨ feat(src/aipass/mail): add inter-branch messaging module with handlers, modules, plugins

✨ feat(src/aipass/memory): add unified memory system with trinity, agents, and bank submodules

✨ feat(src/aipass/prax): add monitoring and observability framework with handlers, modules, plugins

✨ feat(src/aipass/seedgo): add code standards framework skeleton

✨ feat(src/aipass/skills): add user-built add-ons infrastructure module

✨ feat(src/aipass/templates): add central template storage for plans, memory, and configs
2026-03-05 02:21:30 -08:00