Commit Graph
992 Commits
Author SHA1 Message Date
AIOSAI 87d131218e feat(hooks): log agent_type/agent_id per hook fire for visibility (#606) 2026-06-02 22:02:22 -07:00
AIOSAI e63a4e9945 feat(#630): retire blanket rm deny + aipass doctor migration
Phase 2 of #630. The rm_gate hook + drone rm now own destructive-delete
protection (cross-provider, path-aware, teaching), so the Claude-only blanket
deny is redundant AND harmful (it short-circuits before the hook, suppressing
the teaching message).

- setup.sh: removed Bash(rm -rf*) + Bash(rm -r *) from git_deny (new installs)
- bootstrap.py: removed Bash(rm -rf *) shipped via aipass init (project settings)
- doctor_wire.reconcile_stale_deny(): aipass doctor WARNs on stale rules;
  --fix removes them (idempotent, preserves all else) — migration for existing
  installs (the 'aipass update should be trusted' goal)
- .aipass/project_hooks.json template: added rm_gate (new projects get it)

Tests: 8 reconcile + 432 aipass total, seedgo 99%. CHANGELOG W23.
2026-06-02 20:24:21 -07:00
AIOSAI 2f5ce5ac87 feat(#630): drone rm safe-delete + rm_gate block-and-teach hook
Provider-agnostic temp/scratch cleanup that doesn't trip the rm -rf block.

- drone rm <path>: contained recursive delete (project root + /tmp + $TMPDIR),
  refuses outside roots and hard-carves .git/.trinity/.aipass/.codex/.agents +
  sibling-branch worktrees. Mirrors Codex's OS-sandbox boundary in software so
  behavior is consistent across CLIs. Pure-python, red-team tested.
- rm_gate (PreToolUse hook): blocks raw recursive rm, teaches 'drone rm',
  cross-provider, conservative-block on unparseable targets. Mirrors git_gate.
- Wired rm_gate into .aipass/hooks.json; CHANGELOG W23.

Tests: 56 drone rm + 56 rm_gate, seedgo 99% both. Phase 2 (remove the now-
redundant rm deny from setup.sh + aipass doctor migration) tracked separately.
2026-06-02 20:05:16 -07:00
AIOSAIandClaude Opus 4.8 895b8f04fd fix(drone): protect dev on merge + live-remote branches + scope footer (#625, #623)
#625 (HIGH): drone @git merge passed --delete-branch to gh pr merge
unconditionally, so merging a dev->main PR DELETED the persistent dev branch
on the remote and left the tree on main (next commit silently on main). Now:
- merge looks up the PR head ref and only appends --delete-branch for
  non-protected branches; dev/main are never deleted. Unknown head ref fails
  SAFE (no delete) — devpulse hardening on top of @drone's protected-branch set.
- after merge, return the working tree to dev (loud warning if it can't).
- branches_handler runs git fetch --prune before git branch -r (no more
  'cached lies' reporting deleted branches as live).
- new drone @git prune-temp cleans merged temp PR branches (citizen/*).

#623: status/diff append a '(showing <branch> scope — use --all for full repo)'
footer when scoped, so an empty scoped view isn't mistaken for a clean repo.
Blank-output sub-item not reproducible — documented.

@drone built fixes 1-5 (FPLAN-0236); devpulse added the unknown-head-ref
fail-safe + test and verified independently. drone suite 716 pass, seedgo 99%.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 17:39:01 -07:00
AIOSAIandClaude Opus 4.8 bedf58e7b5 fix(drone): external projects can resolve AIPass branches (#618)
resolve_branch() validated branch path containment against the primary
registry root even when the branch was found via the AIPASS_HOME fallback,
so external projects (Vera, Daemon) were blocked from calling @api and any
other AIPass branch with 'path escapes project root'.

Add get_branch_with_registry() (non-breaking sibling to get_branch_by_name)
that returns the branch plus the registry it was found in. resolve_branch()
now validates containment against that registry's root. Security preserved:
each branch stays contained within its own declaring registry; genuine
escapes still blocked. 4 new cross-project resolver tests, 58 resolver
tests pass, drone suite 702 pass, seedgo @drone 99%.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 16:25:46 -07:00
AIOSAIandClaude Opus 4.8 cc449c4a18 docs(readme): trim badge cluster — remove OSS Health metric badge
Cluster was getting busy; dropped the OSS Health monitor badge to keep the
top row focused (Status/Python/License/PyPI/Feedback/codecov/Scorecard).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 15:48:07 -07:00
AIOSAIandClaude Opus 4.8 da46dde7ce chore(aipass): purge stale placeholder bypass entries + refresh metadata
Removed 5 stale Phase-0/Phase-4 bypasses (verified seedgo passes without them
now that aipass is fully built). Restored 3 aipass.py entries (cli/debug_print/
introspection) with accurate current reasons — thin command router, not a
module. Metadata description updated to current operational state. 58→53 entries.
424 tests pass, seedgo 99%.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 15:46:26 -07:00
AIOSAIandClaude Opus 4.8 a880139a1e docs(readme): move OpenSSF Scorecard badge into the top badge cluster
Was orphaned in its own centered block between the logo and demo gif, and the
only badge in raw HTML. Moved up with the other 7 badges and converted to
markdown for consistency. Grouped with codecov/OSS-Health (security-health).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 15:33:07 -07:00
AIOSAIandClaude Opus 4.8 f7d7f78c63 fix(aipass): bare 'aipass <command>' runs the command, not an introspection banner
aipass is a user-facing binary — 'aipass doctor' must run the health check,
not describe itself. All 7 modules (doctor, doctor_fix, doctor_wire, handoff,
help_chat, init_flow, profile) hit a no-args→introspection gate (a standard
meant for 'drone @branch <module>' discovery). Bare invocation now runs the
command or shows usage; introspection moved to --info. seedgo introspection
standard bypassed for these binary-invoked modules (documented). 424 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 15:22:22 -07:00
AIOSAIandClaude Opus 4.8 ed58eb7aa6 fix(flow): dashboard refresh no longer zeroes non-flow branch plan counts
PLANS.central.json only held Flow's own plans (location==FLOW_ROOT filter),
so every dashboard refresh overwrote each branch's real active_plans with 0.
Central is now comprehensive — all plans grouped per-branch. Devpulse shows
its 12 open plans again. +1 regression test (734 pass).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 15:22:12 -07:00
AIPass 95894e4ca7 Merge pull request #624 from AIOSAI/harden-ci-workflows-for-openssf-scorecar
Harden CI workflows for OpenSSF Scorecard: least-privilege token permissions + SHA-pinned actions
2026-05-29 23:58:39 -07:00
AIOSAI efa5aced74 ci: harden workflows — least-privilege permissions + SHA-pinned actions 2026-05-29 23:47:27 -07:00
AIPass 4c33cc1f69 Merge pull request #619 from AIOSAI/dev
fix: deny EnterPlanMode in aipass init scaffold + Bluesky/dev.to drivers built
v2.5.0
2026-05-29 22:56:58 -07:00
AIOSAI aa962bdc12 release: bump to 2.5.0 + finalize W22 CHANGELOG 2026-05-29 22:51:57 -07:00
AIOSAI fbd90d74b3 fix(hooks): Windows-safe subagent_gate tests via tmp_path 2026-05-29 22:43:52 -07:00
AIOSAI 5fe96307a4 ci: cut GitHub Release on tag from CHANGELOG
- publish.yml: new github-release job runs after PyPI publish, extracts the
  top CHANGELOG section as release notes, attaches dist, creates the Release
  via gh. Same v* tag now drives PyPI + GitHub Release.
- CHANGELOG W22 entry
2026-05-29 15:54:07 -07:00
AIOSAI e27a50c78d ci: add OpenSSF Scorecard workflow + README badge
- .github/workflows/scorecard.yml — official OSSF Scorecard action, runs on
  push to main + weekly, publishes public score, actions pinned by SHA
- README OpenSSF Scorecard badge
- CHANGELOG W22 entry
- CLAUDE.md startup-protocol guard (sequential steps, no batch/duplicate calls)
2026-05-29 15:41:14 -07:00
AIOSAIandClaude Opus 4.8 f8f102e16f fix(hooks): subagent_gate package-aware — closes #605
subagent_gate.py derived package name dynamically from CWD (mirrors edit_gate),
replacing 3 hardcoded src/aipass/ paths. Branch detection + cross-branch
protection now work for external projects (src/<package>/<branch>); previously
silently no-opped. 5 new external-project tests (258 pass), seedgo 100%.

Closes #605

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 00:33:50 -07:00
AIOSAIandClaude Opus 4.8 97a3276b81 hooks: full branch ownership — 100% seedgo + drone @hooks status
@hooks took full ownership of its branch (DPLAN-0191):
- 100% seedgo (all 36 standards; dead_code 25%->100%, unused_function 80%->100%)
- 15 handlers verified wired + firing; dynamic-dispatch flags documented as
  architectural bypasses (importlib dispatch from hooks.json, never statically imported)
- README rewritten: two-tier provider/project model, dynamic-dispatch design, event table
- 2 stale tests resolved (253 pass, 0 fail)
- New drone @hooks status read-only config viewer (DPLAN-0190 Phase B)

api/.gitignore: exclude integration tests (no code on user machines -> would fail)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 00:12:08 -07:00
AIOSAI 35a63b9540 fix: bootstrap @hooks as 13th branch + correct stale 12-counts
setup.sh never bootstrapped @hooks (hardcoded 12-branch list, stale comment from before hooks existed). Fresh clones got no @hooks passport + an absolute registry path -> drone @hooks commands failed ('path escapes project root'). Engine still fired (runs from AIPASS_HOME) but the citizen was non-functional.

- setup.sh: + bootstrap_branch hooks, 12->13 count + comment
- .aipass/aipass_global_prompt.md: 12->13 core branches, + hooks (injected every turn)
- devpulse local prompt: 13 Core Branches, + @hooks experts row
- dashboard dispatch_section docstring: 12->13

Found via Docker clone-from-dev test (DPLAN-0190 Phase D).
2026-05-28 19:51:27 -07:00
AIOSAI 574ae79b1a feat(hooks): ship .aipass/hooks.json on aipass init (DPLAN-0190 Phase A)
- bootstrap.py: write hooks.json from template at init, union-merge on update (preserves user on/off), remove dead _ship_hooks/HOOKS_TO_SHIP
- doctor.py: check .aipass/hooks.json presence
- .aipass/project_hooks.json: base template (all 14 handlers)
- .aipass/.gitignore: whitelist template so it ships in clones
- +13 tests, 421 pass, seedgo 99%
2026-05-28 19:41:10 -07:00
AIOSAI a752923ae2 fix: deny EnterPlanMode in aipass init scaffold 2026-05-27 13:48:34 -07:00
AIPass 0c5d26284c Merge pull request #617 from AIOSAI/dev
docs: CHANGELOG — logo + v2.4.0 release
2026-05-26 13:17:29 -07:00
AIOSAI b925714589 docs: CHANGELOG — logo + v2.4.0 release 2026-05-26 13:16:52 -07:00
AIPass 91a9eeb233 Merge pull request #616 from AIOSAI/bump-version-230-240
bump: version 2.3.0 → 2.4.0
2026-05-26 13:15:12 -07:00
AIOSAI 1d33d2e432 bump: version 2.3.0 → 2.4.0 v2.4.0 2026-05-26 12:57:58 -07:00
AIPass b5d9ab684f Merge pull request #615 from AIOSAI/dev
DPLAN-0188: Full Gemini CLI removal — .gemini/ dir, GEMINI.md, setup.sh install block, README refs, init scaffold, prax monitoring (~300 lines), hooks identity, bug template. 21 files, -927 lines. All tests green (142 prax + 413 aipass + 237 hooks).
2026-05-26 12:56:37 -07:00
AIOSAI 02c96692f4 docs: add centered logo to README 2026-05-26 12:51:27 -07:00
AIOSAI b0c63f5e39 fix: remove accidental .diagnostics_state.json + gitignore it 2026-05-24 17:06:08 -07:00
AIOSAI b906b10021 fix: Windows CI — path separator in dashboard plugin test assertion 2026-05-24 17:04:46 -07:00
AIOSAI 63c81c218c fix: edit gate project-aware + registry descriptions + changelog workflow (closes #607, #608, #610, addresses #605) 2026-05-24 16:26:19 -07:00
AIOSAI 00b1ecff6d remove: Gemini CLI support — delete .gemini/, GEMINI.md, strip all refs from setup.sh, README, init, prax monitoring, hooks, tests (DPLAN-0188) 2026-05-24 15:37:48 -07:00
AIPass 64a5b2378a Merge pull request #614 from AIOSAI/dev
CHANGELOG — demo GIF
2026-05-24 13:19:57 -07:00
AIOSAI 9307cb0ee5 docs: CHANGELOG — demo GIF 2026-05-24 13:19:06 -07:00
AIPass ced81483a8 Merge pull request #613 from AIOSAI/dev
Demo assets + project templates
2026-05-24 13:03:25 -07:00
AIOSAI 2b31df3e02 feat: demo assets + project templates — demo.gif, project CLAUDE.md template, simplified startup protocol, prompt arg restored for handoff 2026-05-24 12:57:58 -07:00
AIOSAI 53fdd94b9d fix: inline handoff drops prompt arg — enables /resume after session close 2026-05-24 09:17:10 -07:00
AIPass 7518a857bb Merge pull request #611 from AIOSAI/dev
Inline handoff + project-aware prompts + Gemini removal
2026-05-24 00:37:23 -07:00
AIOSAI 97d7240829 docs: CHANGELOG — inline handoff, project-aware prompts, Gemini removal 2026-05-24 00:25:18 -07:00
AIOSAI 61c9eabb15 feat: inline handoff + project-aware prompts — stay in terminal option (#610), global loader serves project prompt outside AIPass, Gemini CLI removed from init, project CLAUDE.md template 2026-05-23 23:45:22 -07:00
AIPass 8ec92bd07c Merge pull request #609 from AIOSAI/dependabot/github_actions/actions/upload-artifact-7
ci(deps): bump actions/upload-artifact from 4 to 7
2026-05-23 22:58:32 -07:00
AIPass c73d2439bd Merge pull request #604 from AIOSAI/dev
settings merge on update, gitignore cleanup, dead code removal, setup.sh rollover hooks
2026-05-23 22:58:09 -07:00
AIOSAI 6502a20953 feat: provider manifest bridge migration + README v3 — manifest uses bridge commands, doctor/wire updated, tests passing, README rewritten for external users 2026-05-23 12:36:59 -07:00
dependabot[bot] 6c9dbdb368 ci(deps): bump actions/upload-artifact from 4 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-23 08:02:48 +00:00
AIOSAI 4113cf6aaf docs: CHANGELOG — add drone hook-sounds plugin removal 2026-05-22 19:55:35 -07:00
AIOSAI 7d02c3d753 feat: shared hook sound module — mute all 14 handlers via drone @hooks hooksound on/off 2026-05-22 19:52:42 -07:00
AIOSAI 2215fcb260 feat: engine audio mute support — hooks.json audio tag + engine skips muted hooks 2026-05-22 18:10:03 -07:00
AIOSAI 40eb295e41 feat: Sunday release prep — hooks.json tracked, CHANGELOG.md, prax fix, gitignore cleanup 2026-05-22 16:52:03 -07:00
AIOSAI abf929fc1c fix: update tests for post-hooks migration — git_gate imports new handler, bootstrap drops hook shipping assertions 2026-05-22 15:10:57 -07:00
AIOSAI adb85b03a8 feat: DPLAN-0184 Phase 2 complete + DPLAN-0186 post-migration sweep — 14 native handlers, bridge routing, docs/setup alignment 2026-05-22 14:53:14 -07:00