@fiale-plus/pi-rogue-bundle 0.1.9 → 0.1.11

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.
Files changed (39) hide show
  1. package/README.md +24 -13
  2. package/node_modules/@fiale-plus/pi-rogue-advisor/README.md +59 -0
  3. package/node_modules/@fiale-plus/pi-rogue-advisor/advisor/index.ts +1 -0
  4. package/node_modules/@fiale-plus/pi-rogue-advisor/assets/binary-gate-model.json +24026 -0
  5. package/node_modules/@fiale-plus/pi-rogue-advisor/package.json +50 -0
  6. package/node_modules/@fiale-plus/pi-rogue-advisor/skills/advisor/SKILL.md +51 -0
  7. package/node_modules/@fiale-plus/pi-rogue-advisor/src/completions.test.ts +28 -0
  8. package/node_modules/@fiale-plus/pi-rogue-advisor/src/completions.ts +79 -0
  9. package/node_modules/@fiale-plus/pi-rogue-advisor/src/extension.test.ts +257 -0
  10. package/node_modules/@fiale-plus/pi-rogue-advisor/src/extension.ts +1380 -0
  11. package/node_modules/@fiale-plus/pi-rogue-advisor/src/index.ts +3 -0
  12. package/node_modules/@fiale-plus/pi-rogue-advisor/src/internal.ts +48 -0
  13. package/node_modules/@fiale-plus/pi-rogue-advisor/src/loop-convergence.test.ts +393 -0
  14. package/node_modules/@fiale-plus/pi-rogue-advisor/src/preflight-signals.test.ts +22 -0
  15. package/node_modules/@fiale-plus/pi-rogue-advisor/src/preflight-signals.ts +21 -0
  16. package/node_modules/@fiale-plus/pi-rogue-advisor/src/router.test.ts +78 -0
  17. package/node_modules/@fiale-plus/pi-rogue-advisor/src/router.ts +516 -0
  18. package/node_modules/@fiale-plus/pi-rogue-orchestration/README.md +56 -0
  19. package/node_modules/@fiale-plus/pi-rogue-orchestration/orchestration/index.ts +1 -0
  20. package/node_modules/@fiale-plus/pi-rogue-orchestration/package.json +44 -0
  21. package/node_modules/@fiale-plus/pi-rogue-orchestration/skills/orchestration/SKILL.md +44 -0
  22. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/advisor-checkins.test.ts +142 -0
  23. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/advisor-checkins.ts +96 -0
  24. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/autoresearch-state.ts +70 -0
  25. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/autoresearch.test.ts +143 -0
  26. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/autoresearch.ts +139 -0
  27. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/completions.test.ts +23 -0
  28. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/completions.ts +53 -0
  29. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/extension.ts +23 -0
  30. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/goal-resolution.ts +36 -0
  31. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/goal.test.ts +182 -0
  32. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/goal.ts +232 -0
  33. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/index.ts +1 -0
  34. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/internal.ts +98 -0
  35. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/loop.ts +274 -0
  36. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/novelty-guard.test.ts +35 -0
  37. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/novelty-guard.ts +145 -0
  38. package/node_modules/@fiale-plus/pi-rogue-orchestration/src/state.ts +24 -0
  39. package/package.json +10 -2
package/README.md CHANGED
@@ -1,32 +1,43 @@
1
1
  # Pi-Rogue Bundle
2
2
 
3
- `@fiale-plus/pi-rogue-bundle` is the prepared umbrella package that stitches together:
3
+ `@fiale-plus/pi-rogue-bundle` is the **single consolidated public artefact** for Pi-Rogue.
4
4
 
5
- - `@fiale-plus/pi-rogue-advisor`
6
- - `@fiale-plus/pi-rogue-orchestration`
5
+ It stitches together (and bundles for a true single-package install):
7
6
 
8
- It is a thin, official surface for local usage when you want one install and both command families together.
7
+ - `@fiale-plus/pi-rogue-advisor` (logic; direct releases paused)
8
+ - `@fiale-plus/pi-rogue-orchestration` (logic; direct releases paused)
9
9
 
10
- ## Install
10
+ Direct installs of the advisor/orchestration packages are paused (marked private). All users and future releases go through the bundle. See `docs/release.md` and root `AGENTS.md` / `README.md` for the release policy.
11
+
12
+ ## Install (recommended)
11
13
 
12
14
  ```bash
13
- # from repo root (workspace install)
15
+ pi install npm:@fiale-plus/pi-rogue-bundle
16
+ ```
17
+
18
+ For local monorepo dev:
19
+
20
+ ```bash
21
+ # from repo root
14
22
  npm install
15
- # and then use workspace packages as needed
23
+ # then use workspace packages as needed (e.g. for testing changes to advisor/orch before a bundle release)
16
24
  ```
17
25
 
18
26
  ## Scope boundaries
19
27
 
20
28
  - **Lab / internal helpers are excluded from this bundle.**
21
- - `@fiale-plus/pi-rogue-bundle` currently includes only the published logic surfaces.
22
- - Internal helper packages (`@fiale-plus/pi-rogue-guardrails`, `@fiale-plus/pi-rogue-brain`, `@fiale-plus/pi-rogue-repo-arch`) are maintained separately in the lab section.
29
+ - `@fiale-plus/pi-rogue-bundle` is the only published surface for the logic.
30
+ - Internal helper packages (`@fiale-plus/pi-rogue-guardrails`, `@fiale-plus/pi-rogue-brain`, `@fiale-plus/pi-rogue-repo-arch`) are maintained separately in the lab section and not published.
23
31
 
24
32
  ## Command surface
25
33
 
26
- - `/advisor`, `/goal`, `/loop`, `/autoresearch`, `/autoresearch-lab` plus status/config/command paths inherited from the two included packages.
34
+ - `/advisor`, `/goal`, `/loop`, `/autoresearch`, `/autoresearch-lab` plus status/config/command paths (all provided via the bundle).
27
35
 
28
36
  ## Status
29
37
 
30
- - **Published?** In progress (prepared package)
31
- - **NPM version/downloads:** not yet published (no registry entry yet)
32
- - **Stability:** public surface; no extra internal helper behavior
38
+ - **Published:** yes (single artefact)
39
+ - The advisor and orchestration packages continue to receive code changes in this repo; they ship inside bundle releases via `bundledDependencies`.
40
+
41
+ ## Release notes
42
+
43
+ Only `pi-rogue-bundle-<semver>` tags/releases are produced. See `docs/release.md` for the full clean policy and checklist.
@@ -0,0 +1,59 @@
1
+ # @fiale-plus/pi-rogue-advisor
2
+
3
+ > **Releases paused.** This package is now internal. All usage and updates are via the single consolidated `@fiale-plus/pi-rogue-bundle` artefact (see root README, `docs/release.md`, and AGENTS.md). Direct installs and independent releases are on pause; the package is marked private. Code here continues to evolve and ships inside bundle releases.
4
+
5
+ ## What this package is
6
+
7
+ Strategic advisor for Pi sessions with low-overhead preflight/post-review routing, model auto-detection, session memory, and orchestration-managed mid-session check-ins.
8
+
9
+ - SOTA-first model fallback: `gpt-5.5`/`claude-opus-4-6`/`claude-sonnet-4-6` where available.
10
+ - Keeps command-level behavior simple and explicit.
11
+
12
+ ## Install
13
+
14
+ **For users:** Use the bundle (releases for this package are paused):
15
+
16
+ ```bash
17
+ pi install npm:@fiale-plus/pi-rogue-bundle
18
+ ```
19
+
20
+ **For local development (monorepo only):**
21
+
22
+ ```bash
23
+ npm install --workspace packages/advisor
24
+ ```
25
+
26
+ (See root README and docs/release.md for the consolidated policy.)
27
+
28
+ ## Commands
29
+
30
+ | Command | What it does |
31
+ |---|---|
32
+ | `/pi-rogue` | Show the Pi-Rogue cockpit + command pointers |
33
+ | `/advisor` | Show status (`/advisor status`) and quick hint |
34
+ | `/advisor status` | Show mode, review policy, check-in status, model selection, counters |
35
+ | `/advisor on` | Enable advisor (auto mode) |
36
+ | `/advisor off` | Disable advisor |
37
+ | `/advisor mode auto\|manual\|off` | Change routing behavior |
38
+ | `/advisor review light\|strict\|off` | Change review strictness |
39
+ | `/advisor pause <N>` | Pause advisor auto-runs for the next N turns |
40
+ | `/advisor unpause` | Resume advisor auto-runs immediately |
41
+ | `/advisor config` | Show current config |
42
+ | `/advisor model <provider>/<model>` | Set explicit model override |
43
+ | `/advisor <question>` | Get one-shot advisory response |
44
+
45
+ ## Notes on defaults
46
+
47
+ - `mode`: `auto`
48
+ - `review`: `light`
49
+ - `checkins`: `off` (orchestration turns them on when a goal or loop is active)
50
+ - `checkinIntervalMinutes`: `30`
51
+ - `model`: not set (auto-detected)
52
+ - Successful `on_track` review verdicts are recorded silently instead of displayed as follow-up messages.
53
+
54
+ Check-ins gate on session activity and `checkinIntervalMinutes`, avoid overlapping calls, and use higher/advanced advisor models first with regular model fallback enabled by default. They are lifecycle-managed by orchestration: activating a goal or `/loop` enables them, and clearing either disables them.
55
+
56
+ ## Stability guarantees
57
+
58
+ - No flattening: the advisor remains its own surface and does not hide orchestration commands.
59
+ - Cockpit is simple and explicit: `/pi-rogue` is the top-level status view.
@@ -0,0 +1 @@
1
+ export { default, registerAdvisor } from "../src/extension.js";