ace-handbook-integration-pi 0.3.11 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a453f9cbc9dafa9dfbddb6d01fca775da73cab2e64824fbed42db982831c244c
4
- data.tar.gz: 42530bef549e402b40c0981272515c8df3104b20bbd1eb78dbc2d9d59254ca00
3
+ metadata.gz: 0aecac8cdb81dfb6b51efda48199aeaf10e7267bbaed81dcec49acb0fa985553
4
+ data.tar.gz: baeff1aa2723ed7a0333c28d78fc5825d6b32dc5b6cdb7090900f3350358239f
5
5
  SHA512:
6
- metadata.gz: fd82e99584d2825688a21a109d3dce6c0c01817696622223c86e5f396e6bcd7d0314eee12ef5047d6077226d0cb5e9cdd9e09720e9b122070a2eb89394f889cd
7
- data.tar.gz: b81e382c6dd6f8dc54b3b4e8ee2641d7dfcf77d76e74f7d2624404c60740932f7cb2e1d2580398f2637ec822a3d173bef431730804115a7bfa4863622b367d25
6
+ metadata.gz: 761967528dfe314d715ea45cbc25476f27d2d5a2835bd12a3b39b3b2faba352adae6ff81ec7e91b0168fd9af44bb28f71a3a7e98f35fb55edf69cb1bae98edfd
7
+ data.tar.gz: bf06c8004e8b1c865093685cf7d17e3463857d3521fcfc3dfe89d088a4f6fd73d9b2f5d27b539d8e3555a843b4c7ed3e906a47aab92befeee9a4803311dd4c2d
@@ -1,2 +1,3 @@
1
1
  provider: pi
2
2
  output_dir: .pi/skills
3
+ prompts_dir: .pi/prompts
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to ace-handbook-integration-pi will be documented in this fi
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.4.0] - 2026-09-27
8
+
9
+ ### Added
10
+ - Provider manifest now declares `prompts_dir: .pi/prompts`; canonical pi prompt templates from `handbook/prompts/` project there via `ace-handbook sync`.
11
+ - Shipped the canonical `loop` prompt template: the ACE overseer loop running in-process inside a pi session (`/loop`), cycling the task backlog through the `as-task-work` discipline with executed-evidence stop conditions. Projected to `.pi/prompts/loop.md`.
12
+
7
13
 
8
14
  ## [0.3.11] - 2026-09-02
9
15
 
data/README.md CHANGED
@@ -21,6 +21,8 @@
21
21
 
22
22
  **Consume canonical skills from PI tooling** - keep provider-specific behavior while preserving shared semantics, so agents running under pi-agent get the same skill intent as any other provider.
23
23
 
24
+ **Run the in-process overseer loop with `/loop`** - the canonical `handbook/prompts/loop.md` template projects to `.pi/prompts/loop.md` (`ace-handbook sync --provider pi`), giving pi a slash command that cycles the task backlog (select → execute via `as-task-work` → verify → report) inside the pi session itself - no tmux windows or external orchestrator.
25
+
24
26
  **Keep provider updates constrained** - update projection assets inside this package instead of canonical definitions, keeping changes isolated from [ace-handbook](../ace-handbook).
25
27
 
26
28
  **Enable incremental provider onboarding** - add or update PI support independently of core ACE changes, maintaining a focused provider shim layer.
@@ -0,0 +1,38 @@
1
+ ---
2
+ description: Run the ACE overseer loop in-process — pick, execute, and close backlog tasks one after another until a stop condition fires
3
+ argument-hint: "[task-ref]"
4
+ source: ace-handbook-integration-pi
5
+ last_modified: 2026-09-27
6
+ ---
7
+
8
+ Run the ACE overseer loop **in-process**: this pi session is the overseer. Work the task backlog one task at a time from selection to terminal state, then continue with the next task -- no tmux windows, no detached workers, no external orchestrator. The loop lives in this session; every cycle uses the project's ACE CLI tools.
9
+
10
+ ## Arguments
11
+
12
+ `${1:-}` is an optional task ref for the first cycle. When omitted, select from the backlog.
13
+
14
+ ## Loop cycle
15
+
16
+ Repeat until a stop condition fires:
17
+
18
+ 1. **Select.** If `${1:-}` is set and not yet consumed, use it for this cycle and clear it afterwards. Otherwise run `ace-task list` and pick the first `pending` task in priority order that is actionable. Never pick a `done` task; skip tasks whose blocker is confirmed by an executed check (see below).
19
+ 2. **Execute.** Load the canonical `as-task-work` skill (`/skill:as-task-work <ref>`, or read `.pi/skills/as-task-work/SKILL.md`) and follow it end-to-end for the chosen ref: load the task spec and plan, mark the task in-progress, then work the plan step by step -- test after every change, commit each logical step with `ace-git-commit <paths>`, and leave the task in-progress (final delivery owns `done`).
20
+ 3. **Verify.** Before closing the cycle: `git status --short` is clean for everything your work produced, and the task's plan checklist and success criteria are satisfied -- or blockers are recorded with executed evidence.
21
+ 4. **Report.** One progress update per cycle: task ref, outcome (completed / blocked / skipped), and the executed command + observed output that proves it.
22
+
23
+ ## Stop conditions
24
+
25
+ Stop the loop and give a final summary only when one of these holds:
26
+
27
+ - **Backlog drained.** `ace-task list` shows no actionable `pending` work.
28
+ - **Human decision required.** A task's spec is ambiguous or incomplete, or a blocker cannot be verified or cleared without the user. Do not assume and do not silently skip -- report the blocker together with the executed check that surfaced it.
29
+ - **Interrupted.** The user interjects. Yield immediately and summarize the state of every cycle run so far.
30
+
31
+ ## Non-negotiable rules
32
+
33
+ - Do not stop after intermediate progress; do not pause between cycles for confirmation.
34
+ - A cycle that ends blocked on an owner dependency (confirmed by a runnable, non-secret executed check) does not stop the loop: record the blocker on the task with `ace-task update`, close stale blockers in the same pass, and continue with the next task. Only unverifiable or human-only blockers stop the loop.
35
+ - Status truth: recorded blockers are claims, not state. Confirm or refute each blocker you rely on with an executed check in this session.
36
+ - Never modify task frontmatter directly -- use `ace-task update <ref> --set key=value`.
37
+ - Never reset or discard unrelated changes; commit path-scoped with `ace-git-commit <paths>`.
38
+ - Temp files go to `/tmp/` or `.ace-local/<subfolder>/`, never the project root.
@@ -4,7 +4,7 @@ module Ace
4
4
  module Handbook
5
5
  module Integration
6
6
  module Pi
7
- VERSION = "0.3.11"
7
+ VERSION = "0.4.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-handbook-integration-pi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-09-05 00:00:00.000000000 Z
10
+ date: 2026-09-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: ace-handbook
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '0.31'
18
+ version: '0.32'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '0.31'
25
+ version: '0.32'
26
26
  description: PI-specific provider integration package that extends ace-handbook with
27
27
  provider manifests.
28
28
  email:
@@ -34,6 +34,7 @@ files:
34
34
  - ".ace-defaults/handbook/providers/pi.yml"
35
35
  - CHANGELOG.md
36
36
  - README.md
37
+ - handbook/prompts/loop.md
37
38
  - lib/ace/handbook/integration/pi.rb
38
39
  - lib/ace/handbook/integration/pi/version.rb
39
40
  homepage: https://github.com/cs3b/ace