Commit Graph
10 Commits
Author SHA1 Message Date
SikongJueluo f8c02aff78 build(packages): add npm publish script
- add publish:packages script running pnpm -r publish with --no-git-checks
- skip git checks because jj colocated repos keep HEAD detached, failing pnpm branch validation
2026-09-17 17:33:52 +08:00
SikongJueluo 889663e29d fix(pi): mount ai-judge through the root pi.extensions manifest
The project-local .pi/settings.json that mounted
../packages/pi-permission-ai-judge was removed in kyxsszlx, leaving
ai-bash-judge with no loader and the global authorizer chain with a
dangling link: inner-cmd loaded but no "Enforce active" notice appeared.

- add the ai-judge entry point next to inner-cmd in pi.extensions so
  the git package ships both authorizers
- rely on the loader's bundled aliases for @earendil-works/pi-ai
  (value-imported only for the Type schema helper) so no runtime
  dependency is needed
2026-09-16 21:20:57 +08:00
SikongJueluo c0585a1740 fix(deps): adapt to pi-permission-system 32 session-keyed services
- resolve the permissions service by the live session id in both
  tryRegister paths, so a mid-session republish re-keys via the re-emitted
  permissions:ready channel
- read the session probe instead of the start-time snapshot for inner-cmd
- pass the session key to publish/unpublishPermissionsService in tests and
  drop the removed PromptPermissionDetails.message field
- raise the ai-judge peer floor to @gotgenes/pi-permission-system >=32.0.0
- bump dev deps: pi-coding-agent 0.85.1, vitest 5, typescript 7
2026-09-16 20:57:55 +08:00
SikongJueluo 0737e01fca chore(fallow): adopt fallow and fix dead-code findings
- add fallow 3.17 as workspace devDependency with fallow/fallow:fix scripts
- generate .fallowrc.json modeling pi.extensions entries, diagnostic CLI, and tools as entry points
- remove export from 4 internal-only symbols
- drop unused pi-ai dependency from pi-permission-inner-cmd
2026-08-22 01:24:42 +08:00
SikongJueluo 0a1b9f259d build: align permission-system to 25.4 2026-08-17 19:20:49 +08:00
SikongJueluo 1afcbd3118 refactor(permission): consume structured bash payload
- require @gotgenes/pi-permission-system >=25.3.0 and read the complete local bash command from PromptPermissionDetails.payload instead of session-walking recovery
- remove the @sikongjueluo/pi-permission-shared package
- pass the triggering command unit to handlers via HandlerContext.unit in place of details.command
- add shadow-only AI judge modules for evidence projection, structured verdict requests, and prompt building, with vitest coverage
- record ADR 0004 and mark the ADR 0001 recovery mechanism superseded
- exclude pi-permission-system 25.3.0 from the pnpm minimumReleaseAge guard
2026-08-16 23:08:45 +08:00
SikongJueluo c00ae33031 build(deps): narrow pi-permission-system version range
- switch @gotgenes/pi-permission-system from >=24.0.0 to ^24.0.0
2026-08-11 22:03:01 +08:00
SikongJueluo f21cf54ff1 fix(pi): install inner-cmd runtime dependency 2026-08-11 19:50:34 +08:00
SikongJueluo df1c9536e3 build(pi): register permission-inner-cmd extension
- add pi.extensions entry pointing to packages/pi-permission-inner-cmd/src/index.ts
- mark package private
2026-08-11 18:39:30 +08:00
SikongJueluo f62a073de7 feat(pi-permission-ai-judge): add deferring authorizer extension
- add pnpm workspace scaffold with shared TypeScript config
- register an ai-bash-judge authorizer with pi-permission-system
- log permission request details and deterministic policy verdicts
- record review entries and defer to the next authorizer
2026-08-08 19:43:21 +08:00