Commit Graph
50 Commits
Author SHA1 Message Date
AIPassand@devpulse 8471c4c732 feat(system): feat(system): S82: core 10 split — remove daemon/commons/skills, README 10 agents, Herald updated, spawn CWD-aware sync (#207)
Co-authored-by: @devpulse <devpulse@aipass>
2026-04-09 18:34:13 -07:00
AIOSAIand@devpulse 9b5b7f1cc8 feat(system): S80: 14-branch state audit + README Round 7 (flow/memory lifecycle, transparency) + dist/ gitignore
Co-Authored-By: @devpulse <devpulse@aipass>
2026-04-08 01:32:40 -07:00
AIOSAIand@devpulse 325163afdf feat(system): S78: README overhaul — Problem section, What AIPass Does rewrite, global prompt aipass init docs, CLAUDE.md culture file, logo asset
Co-Authored-By: @devpulse <devpulse@aipass>
2026-04-06 14:39:06 -07:00
AIPassand@devpulse 3b4126b0bb feat(system): Issue templates: simplified bug report + new feedback form (#196)
Co-authored-by: @devpulse <devpulse@aipass>
2026-04-06 11:37:39 -07:00
4c76040371 feat(system): S69: stale reference cleanup, scanner ignores, direct fixes (memory shebang, purge.py paths, commons function, backup bypasses) (#171)
* 📝 docs(STATUS): update last sync timestamp

- update last sync timestamp to reflect recent status synchronization

* feat(trigger): audit cleanup — fix timestamp parsing, CLI formatting, bypass entries

- Fix log_watcher timestamp parsing: log warning once after all formats fail,
  not on each format attempt (was generating hundreds of warnings per scan)
- Standardize rich formatting in branch_log_events and log_events print_help()
  to match medic.py/errors.py Panel+rule style
- Add bypass entries for intentional silent catches (timestamp loop, error display)
- Remove unused Path imports

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

* feat(memory): audit cleanup — handler tests + rollover timeout handling

- Add 32 handler-layer tests (extractor, line_counter, normalize) in test_handlers.py
- Add rollover run timeout message + try/except for graceful error handling
- Fix commons welcome_ops.py missing _get_unwelcomed_branches function

264 tests pass, 100% seedgo compliance.

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

* feat(system): audit cleanup: spawn

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

* feat(system): audit cleanup: drone — fix ANSI escape corruption, add --rebase to git sync

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

* feat(api): audit cleanup — critical path tests + cleanup constants

- Add 19 critical path tests (test_critical_paths.py): get_api_key, validate_key, get_response, extract_response
- Tests: 207/207 passing, seedgo 100%

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

* feat(system): S69: stale reference cleanup, scanner ignores, direct fixes (memory shebang, purge.py paths, commons function, backup bypasses)

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

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: @devpulse <devpulse@aipass>
2026-04-01 01:00:21 -07:00
AIPassandClaude Opus 4.6 47e3088a1b chore: remove tracked cache/config files, update gitignore (#156)
- Remove __pycache__/pr_plugin.cpython-312.pyc from tracking
- Remove memory/config/.plans_processed.json from tracking
- Both now properly gitignored

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 23:38:19 -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
4b6b3cf665 feat(system): test: devpulse_ops plugin + DPLAN-0087 master key design (#148)
* docs: update HERALD.md — S63-S64, standards 32, fresh-eyes CLI results

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

* feat(system): test: devpulse_ops plugin + DPLAN-0087 master key design

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

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: @devpulse <devpulse@aipass>
2026-03-30 14:37:00 -07:00
AIPass 5e73eb2d44 🔧 chore(gitignore): update gitignore for trigger data (#145)
- add `trigger_data.json` to `.gitignore` to prevent tracking of deleted file

🔥 chore(trigger): remove unused trigger data file

- delete `trigger_data.json` as it is no longer needed
2026-03-29 22:14:49 -07:00
AIPassandClaude Opus 4.6 ede75add73 feat(system): S63 full system audit — 13 branches dispatched, ~500 new tests, adapter pattern eliminated (#144)
Largest single-session dispatch: 13 branches worked autonomously with zero failures.

Key changes:
- Drone: generic_adapter.py + routing_config.json replace 3 drone_adapter.py files (module registry v2.0.0)
- Seedgo: 225→314 tests, 31/32 checkers now tested, bug fixes, README updated
- AI Mail: paths.py consolidates 8x duplicated _find_repo_root(), 3 new test files
- Flow + Prax: JSON atomic writes (tempfile→fsync→os.replace), corruption root cause fixed
- CLI: __main__.py standalone entry, stubs deleted, README updated
- Trigger: medic wired with systemd service (log_watcher_service.py), E2E tested
- Daemon: 3 demo schedules, pipeline bug fixed, plugins verified
- Skills: list bug fixed (sys.path shadow), 2 demo skills created (inbox_check, branch_health)
- Commons: 12 social features E2E tested, coverage 67%→92%
- Backup: backup_core + test updates

System: 3,330 tests pass, 42 skip, 0 fail. 100% seedgo compliance (32 standards).

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 22:09:53 -07:00
AIPassandClaude Opus 4.6 6772cacce2 fix(system): S61-S62 — API cleanup, drone path routing, naming checker, .backup→.recovery rename (#142)
- API: 18-item P0/P1/P2 cleanup (debug prints→logger, help gate fix, URL injection fix, key masking, unused imports)
- Drone: passport walk-up replaces hardcoded src/aipass/<branch> pattern, 13 naming bypasses removed
- Seedgo: naming checker fixed (__dunder__ skip + column-0 scope detection) — eliminates 71 false positives system-wide
- Spawn: .backup→.recovery rename (pre-change snapshots no longer conflict with backup branch namespace)
- .gitignore: .recovery/ added
- HERALD.md: Updated through S62 (backup audit, .recovery rename, night shift launch)
- README.md: Stats updated (141 PRs, 2900+ tests)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 01:55:21 -07:00
AIPassandClaude Opus 4.6 ae459853f0 fix(system): S59-S60 cross-branch fixes — stale refs, queue spam, close bug, template (#141)
- Daemon: 14 stale @dev_central→@devpulse and @seed→@seedgo refs fixed across 12 files
- Prax: event_queue spam eliminated (144k logs/4hrs), cortex→spawn refs, bypass added
- Flow: close_ops hardened with shutil.move + auto-healing for orphaned plans
- Spawn: builder template handler guard populated, conftest registry protection added
- Seedgo: handler guard pytest exception, test_json_handler fix
- Commons: extract_mentions dedup bug (SELECT DISTINCT LOWER)
- 7 branches: @seed→@seedgo in handlers/__init__.py
- Memory: @seed→@seedgo handler ref

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 21:58:29 -07:00
88bd97a687 S57: spawn fix + bypass updates + Dockerfile auth (#134)
* fix(security): enable auth on code-server container

Unauthenticated code-server exposed to all network interfaces.
Changed --auth none to --auth password. Auto-generates random
password on first run.

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

* feat(seedgo): checker consolidation: testing→error_handling, test_coverage merged into test_quality v4.0

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

* S57: spawn .spawn/README.md fix, bypass updates, Dockerfile auth, README stats

- Spawn: fixed .spawn/ skip in regenerate_registry_ops + meta_ops (was blocking .spawn/README.md push)
- Bypass updates: cli, flow, trigger — testing→error_handling, test_coverage→test_quality refs
- Dockerfile: auth enabled on code-server container
- README: updated stats (130+ PRs, 56 sessions, 1600+ tests, 96% compliance)

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

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: @seedgo <seedgo@aipass>
2026-03-27 23:05:00 -07:00
AIPassandClaude Opus 4.6 e5f0d4f1c4 S56: spawn template overhaul + system-wide README push + .gitkeep cleanup (#129)
- Spawn template system rebuilt: regenerate-registry command (3-pass ID matching),
  registry 26→41 files, generate_branch_meta fixed, Phase 0 snapshot added
- System-wide push: 12/12 branches updated (227 additions, 0 errors)
- READMEs added to all standard directories across 15 branches
- .claude/settings.local.json tracked system-wide (deny rules)
- 35 .gitkeep files removed (replaced by READMEs)
- Bypass files updated across 13 branches
- Bugs fixed: manager citizen_class crash, backup rglob performance

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 01:10:22 -07:00
f49f9e2a06 S55: test quality expansion, spawn template READMEs, gitignore exceptions (#127)
* feat(devpulse): S55: test quality expansion, spawn template READMEs, gitignore exceptions

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

* feat: S55 — test quality 10-category expansion, spawn template READMEs, gitignore exceptions

Seedgo: test_quality checker expanded from 8 to 48 items across 10 categories
(CLI routing, conftest, error resilience, contracts, init, mocking).
Custom function scanner (test_map) built per DPLAN-0060. Audit display
truncation fixed. 5 new reference templates in seedgo/templates/.

Spawn: 23 READMEs added to builder template — every directory documented.
New dirs: docs.local/, logs/, templates/, sub_agent_drops/, custom_config/.
Dead .spawn files (.backup_ignore.json, .migrations.json) archived.
verify_branch.py archived (redundant with seedgo architecture checker).

Repo: .gitignore exceptions added so spawn template files bypass system-wide
ignores. Template is now fully trackable by git.

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

---------

Co-authored-by: @devpulse <devpulse@aipass>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 00:16:39 -07:00
AIOSAIandClaude Opus 4.6 8d9374252b feat: track .seedgo/bypass.json, add TTS Listen sections to flow templates
Unignored .seedgo/ in .gitignore — bypass config is system-level and
needs to travel with PRs. All 16 branch bypass.json files now tracked.

Added "Listen (TTS-friendly summary)" section to all 3 flow templates
(DPLAN default, FPLAN default, FPLAN master) for text-to-speech
accessibility.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 00:07:16 -07:00
AIPassandClaude Opus 4.6 dc42241fe1 fix: remove memory_bank.config.json from tracking — runtime state, causes merge conflicts (#99)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 00:47:04 -07:00
AIOSAIandClaude Opus 4.6 4b1e76ba71 feat(system): PII cleanup, docs.local pattern, local prompt template research
Remove user name from all tracked files in public repo (global prompt, local
prompts, READMEs, seedgo standards, prep command). Add docs.local/ to gitignore
for local working documents. Move devpulse docs/ to docs.local/ (working files
shouldn't be in repo). Clean up old dplan-003/ directory. DPLAN-0032 created
for local prompt template standardization with research from 3 Opus agents.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 00:41:32 -07:00
AIPassandClaude Opus 4.6 4a6098b7a2 feat(system): module renames, plan cleanup, template updates (#88)
- Prax: module rename (drop _module suffix), introspection fix, inotify watch fix
- Commons: module rename (drop _module suffix), schema + handler updates
- Flow: plan system updates, FPLAN templates add "close immediately" rule,
  new template registry ops, plan_types cleanup
- Drone: router handler + module updates
- Seedgo: introspection standard updates
- System: remove stale dev.local.md files (replaced by STATUS.local.md),
  remove stale .gitkeep files, .gitignore update
- Backup: processed_plans directory added

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 17:05:58 -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
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
AIOSAIand@devpulse f91c8d2f32 fix(system): session 29 cleanup — governance, ruff config, branch work
- Global prompt: dispatch reply breadcrumb (branches must reply to dispatchers)
- /prep command: broadened to end-of-session, not just pre-compact
- .gitignore: added .ruff_cache/ and .pytest_cache/
- pyproject.toml: ruff ignore E402 (metadata headers) + __init__.py F401 (re-exports)
- ai_mail: dashboard_sync.py import fix (devpulse → prax)
- backup: config_handler, ignore_patterns, file_scanner, backup_core updates + test
- devpulse: archived init_project.py (migrated to CLI in PR #48)

Co-Authored-By: @devpulse <devpulse@aipass>
2026-03-14 23:40:10 -07:00
AIPassandClaude Opus 4.6 8fedc053ec feat(system): credential model, stderr migration, DPLAN/FPLAN docs (#41)
* feat(system): stderr routing migration Phase 3 — 10 branches migrated (FPLAN-0033)

Autonomous 3-wave migration: 15+ agents across 10 branches converted
error/warning prints to CLI stderr functions. Seedgo stderr_routing
checker refined (false positive fix for section headers). System avg
49%→94%. Skills self-fixed (100%). Credential model DPLAN updated.
AIPASS.md moved to ~/.claude/CLAUDE.md (global culture layer).

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

* fix(system): stderr routing cleanup — remaining violations fixed

Final wave: ai_mail, backup, seedgo, commons, daemon migrated to
CLI stderr functions. System stderr_routing avg now 97% (11 branches
at 100%). Seedgo checker refinement confirmed (false positives
eliminated). Only backup/google_drive_sync has remaining prints.

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

* feat(system): /prep command + cleanup memo and pre-compact hook

New /prep slash command for pre-compact preparation: saves memories,
updates plans, checks git/inbox, flags loose ends. Workflow: /prep
then /compact. Cleaned up /memo (stale field refs, flow.local.md →
STATUS.local.md). Pre-compact hook: removed misleading Notepad
reference, points to local.json and STATUS.local.md instead.

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

* docs(flow): DPLAN/FPLAN distinction in global prompt + DPLAN template self-documentation

Global prompt now explains DPLAN vs FPLAN with brief breadcrumbs and adds
the missing `master` command. DPLAN template now opens with a "What is a
DPLAN?" section so agents understand the plan type on first read.

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

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 18:57:23 -07:00
AIPassandClaude Opus 4.6 08988ecead chore: remove CLAUDE.md, add AIPASS.md, gitignore .chroma/, DPLAN-003 (#36)
CLAUDE.md and .claude/CLAUDE.md removed — replacing with aipass.md architecture (DPLAN-003).
Added .chroma/ to gitignore. DPLAN counter bumped for DPLAN-003.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 15:51:14 -07:00
AIOSAIandClaude Opus 4.6 d3cabba738 feat(system): skills validation, prompt architecture v2, pre-compact v3, context guardrail
Skills branch: 74→123 tests after 3-round validation, all commands operational, 99% seedgo.
Prompt architecture: breadcrumbs pattern refined, devpulse git hygiene rewritten as natural habit.
Pre-compact v3: injects STATUS.local.md + last session + git info before compaction.
Global prompt: context guardrail added (flags off-topic conversations across terminals).
Branch updates: daemon, backup, flow, memory, trigger, commons — code fixes from dispatch waves.
Memory updates: .trinity/ and dev.local.md across all active branches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 00:04:16 -07:00
AIPassandClaude Opus 4.6 fc0de2a76f feat(system): STATUS board, flow DPLAN fixes, prompt architecture, dev.local.md (#32)
STATUS board: per-branch STATUS.local.md with central aggregation via
drone @prax status sync. Prax handler scans AIPASS_REGISTRY.json and
builds collapsible STATUS.md at repo root (14 operational, 1 in-progress).

Flow: migrated all 10 DPLAN handler files from Dev-Pass paths to
Path(__file__)-based resolution. Fixed FPLAN template detection
(is_template_content was deleting plans with real content).

Prompts: breadcrumbs philosophy in global prompt, dev.local.md awareness,
devpulse branch prompt revised (expertise table, working habits, git hygiene).

ai_mail: sender identity fix propagated, email.py handler refactoring.

Prax: status sync handler, dashboard command collision fix, central/reader.py.

dev.local.md seeded across all 15 branches + spawn template. Gitignore
updated (dev.local.md, STATUS.local.md, CLOSED_PLANS.local.json, backup_data).

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 13:36:05 -07:00
AIOSAIandClaude Opus 4.6 babedd9c64 feat(system): seedgo v2 operational, full system audit, 14/15 branches at 99%
Three days of intensive work bringing seedgo to full operational status
and driving all branches through comprehensive standards compliance.

Seedgo v2.0.0:
- 22 checkers active (up from 20), standards pack fully operational
- New introspection standard researched from Dev-Pass, FPLAN-0017 open
- Bypass system for false positives (.seedgo config)
- Standards query and audit commands fully functional

System-wide audit (FPLAN-0016):
- All 14 auditable branches at 99%+ compliance
- CLI imports standardized across all branches (console from cli.apps.modules)
- handle_command(command, args) → bool contract added to all modules
- print_help() function naming fixed for checker pattern matching
- Handler extraction: large modules split, file I/O moved to handler layer
- New handlers created across ai_mail, backup, daemon, flow, skills, spawn, seedgo

Branch-specific highlights:
- ai_mail: email.py split 840→420 lines, 4 new handlers
- flow: dplan_flow.py 688→591 lines, 4 new handlers
- seedgo: massive restructure — standards moved to handlers/aipass_standards/,
  old standards/ tree removed, bypass system added, diagnostics module
- commons: database module added, CLI imports fixed
- skills: 5 handle_commands added, help function renamed
- trigger: error reporter handler, handle_command routing
- All branches: consistent architecture, clean drone routing

Culture doc (CLAUDE.md) added — documents AIPass philosophy, identity,
memory system, and collaboration principles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 01:26:42 -07:00
AIPassandClaude Opus 4.6 ca8b3a2912 chore: gitignore FPLAN and DPLAN files — plans are local, not tracked (#28)
Plans are runtime artifacts managed by flow. They stay on disk but don't belong in the repo.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 13:05:51 -07:00
AIPassandClaude Opus 4.6 defd1d3c94 feat(setup): full bootstrap — setup.sh delivers all 15 branches ready to go (#21)
- setup.sh now creates .trinity/, .seedgo/, .ai_mail.local/ for all 15 branches
- Registry includes commons + skills (was 13, now 15)
- spawn: fix registry format mismatch (dict vs list) that crashed every command on fresh install
- spawn: skip existing files during create (never overwrite)
- README: quick start guide rewritten for new users
- commons/skills README: rebuilt from birthright scaffold to real docs
- .env.example added for OpenAI/OpenRouter API keys

Tested end-to-end in Docker: clone → setup.sh → 15 branches → all identity files valid.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:47:13 -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
AIOSAI 6bd7395763 ✨ chore(logs): add system-wide logging alongside module-local logs
- introduce central system_logs directory for aggregated branch logs
- update logger setup to include dual handlers for system and local logs
- modify discovery and watcher to track system log file paths
- enhance status reporting to show system logs directory
- update .gitignore to exclude *.json files alongside backups
2026-03-07 16:27:57 -08:00
AIOSAIandClaude Opus 4.6 fe187be8cd ✨ feat(commons): port The Commons social network to AIPass framework
Complete port of The Commons (FPLAN-0411) — a social network for AI branches
with posts, comments, votes, rooms, feeds, artifacts, trading, and more.

- 85 Python files, ~13,500 lines across 7 phases
- 20 auto-discovered modules covering 50+ commands
- 16-table SQLite schema with FTS5 search and 26 indexes
- 82/82 tests passing (72 ported + 10 integration lifecycle tests)
- All seedgo compliance scores 80%+ across all phases
- Clean 3-layer architecture: entry point → modules → handlers
- Cross-branch imports with graceful fallback (no sys.path manipulation)
- .gitignore updated for commons artifacts handler and json_templates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:13:49 -08:00
Input-X f8b48a6bb6 updates 2026-03-07 22:13:52 +00:00
Input-X fe3bca1790 updates 2026-03-07 21:02:14 +00:00
Input-X f64c01916a update 2026-03-07 09:51:38 +00:00
Input-X 6413062fb5 update 2026-03-07 06:07:23 +00:00
Input-XandClaude Opus 4.6 df6649400e Merge upstream/main — pull latest from AIOSAI/AIPass
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 05:11:18 +00:00
Input-X 548abf9b67 update 2026-03-07 04:51:37 +00: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
AIOSAIandClaude Opus 4.6 7a1dc3ea2c fix(docker): track setup-workspace.sh for clean remote builds
setup-workspace.sh was gitignored but required by Dockerfile COPY.
Building from a fresh clone would fail. Now tracked.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 16:33:31 -08:00
AIOSAIandClaude Opus 4.6 3b45824dc6 FPLAN-0410 repo cleanup + integration test bug fixes
VERA cleanup (FPLAN-0410):
- Remove all /home/aipass hardcoded paths (portability)
- Remove internal Telegram bot code from public repo (6k+ lines)
- Remove runtime logs, .claude/settings.local.json, stale files
- Clean READMEs across all branches
- Restructure spawn handlers into proper 3-layer architecture
- Add __init__.py files for proper package imports
- Update seedgo standards for public repo context
- Add log_structure standard to seedgo

Integration test bug fixes:
- Fix double @@ display in drone introspection output
- Fix spawn registry resolving to wrong file (walk up from package root)
- Fix email sender identity always showing as @ai_mail (pass AIPASS_CALLER_CWD)
- Fix branch_detection.py relative path resolution against CWD instead of registry dir
- Add .trinity/passport.json detection for spawned agents
- Archive duplicate json_ops.py, update imports to canonical json_handler
- Update .gitignore for runtime logs and .claude/ dirs

Tested end-to-end in Docker container (aipass-test:latest):
- Spawn → register → send email → receive → reply all verified working

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 15:29:16 -08:00
AIOSAI 23448dc066 🔧 chore(spawn): update .gitignore to track spawn templates correctly
- allow tracking of specific hidden directories and files under spawn templates
- ensure agents can build properly with required template files

✨ feat(branch): add comprehensive branch template verification tool

- implemented verify_branch.py to compare branch vs template files
- supports ignoring files based on .registry_ignore.json patterns
- outputs missing, additional, and matched files for branch validation
- included usage instructions and error handling for robust operation

♻️ refactor(prax): fix logger branch logs path to use Path.home()

- replaced hardcoded "/home/aipass" with portable Path.home()
- allows logging directory creation to adapt to user environment

✨ feat(spawn): add default template files and ignore configs for agent branches

- added .backup_ignore.json, .migrations.json, .registry_ignore.json for agent templates
- introduced .template_registry.json to track template files and directories
- created local context and metadata files for branch identity and session tracking
- included dashboard and flow local markdown templates for branch status and management
- added artifacts birth_certificate template for branch registration metadata

✨ feat(spawn): add mock agent branch templates and backups for testing

- created mock branch with backup ignore and registry ignore files for efficient backups
- added template registry and migration definitions matching main agent template
- included local prompt, passport, observations, and dashboard templates for mock branch
- provided flow local markdown and artifact registration files for mock branch use
- duplicated verify_branch.py tool for mock branch environment consistency

♻️ refactor(spawn): unify verify_branch.py tool in agent and mock branches

- standardized branch verification script in both template sets
- ensures consistent branch-template comparison and ignores handling
2026-03-06 03:06:13 -08:00
AIOSAI 3cb1d98ed8 ♻️ refactor(aipass): unify branch registry discovery and path resolution
- implement _find_registry() to locate AIPASS_REGISTRY.json dynamically
- update discover_branches() to resolve absolute branch paths consistently
- fix _is_branch_private() to use _find_registry() and private registry path correctly
- update readme_ops, verify checks, and cli_standard to resolve paths relative to current file
- adjust standards_audit to use discover_branches() for private branch path lookup
- improve robustness and flexibility by removing hardcoded home directory paths

📝 docs(gitignore): add local cheat sheets and Docker.md to gitignore

- ignore local cheat sheets and Docker.md files as they are not source code

♻️ refactor(architecture_check): fix branch root detection loop condition

- change loop condition to stop at filesystem root instead of home directory
- prevent infinite loop by checking if current directory equals its parent

♻️ refactor(readme_generator): default target to current working directory

- change default path from fixed user home subdirectory to current working dir
- improves usability and flexibility when running script without arguments
2026-03-06 02:45:54 -08:00
AIOSAI ab29763a98 update 2 files, rename 1 file and delete 1 file 2026-03-06 02:00:04 -08:00
AIOSAI ca993630d4 update 2026-03-06 03:47:17 +00:00
AIOSAIandClaude Opus 4.6 edc43ace3e Fix seedgo standard checkers for pip environment
- Replace hardcoded Path(__file__).parents[8] with walk-up registry finder
- Update prax import detection from Dev-Pass pattern to aipass.* namespace
- Fix BRANCH_REGISTRY_PATH undefined error in encapsulation_check
- Add .seed/ and tools/ to gitignore (runtime artifacts)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 19:46:05 -08:00
AIOSAIandClaude Opus 4.6 63627c1e81 Fix spawn/seedgo for pip environment: registry + discovery
- spawn: BRANCH_REGISTRY → AIPASS_REGISTRY, place at project root
  (finds pyproject.toml/.git instead of hardcoded paths)
- discovery: replace fragile parents[8] with walk-up search,
  resolve relative paths, support branch.py entry points,
  remove Dev-Pass fallback paths
- Ship pre-populated AIPASS_REGISTRY.json with 9 core modules
- Un-ignore registry from .gitignore (framework config, not state)

Tested: full spawn→registry→seedgo audit pipeline works in clean
Docker container with no Dev-Pass environment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 19:16:27 -08:00
AIOSAIandClaude Opus 4.6 d46f1a5006 🧹 chore: remove operational artifacts from tracking
Strip 230 spawn/runtime files from git tracking. These are generated
post-install (memories, dashboards, birth certs, agent metadata,
runtime JSON) — not source code. Updated .gitignore to prevent
re-tracking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 18:39:45 -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
AIOSAIandClaude Opus 4.6 b564248de2 feat: initial repository scaffold
- README with project overview
- pyproject.toml with trinity-pattern dependency
- src/aipass/ package with version
- Basic CI workflow (Python 3.10-3.13, ruff, pytest)
- MIT license

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 08:04:44 -08:00