pi-harness-runtime 0.3.0 → 0.3.2-beta.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.
Files changed (2) hide show
  1. package/README.md +25 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,18 +1,23 @@
1
1
  # Pi Harness Runtime
2
2
 
3
- **Autonomous AI coding harness for pi: local token tracking + provider mirror + task orchestration.**
4
-
5
- [![npm version](https://img.shields.io/npm/v/pi-harness-runtime?style=for-the-badge)](https://www.npmjs.com/package/pi-harness-runtime)
3
+ [![Beta](https://img.shields.io/badge/version-beta-orange?style=for-the-badge)](https://github.com/ManotLuijiu/pi-harness-runtime)
4
+ [![npm downloads](https://img.shields.io/npm/dm/pi-harness-runtime?style=for-the-badge)](https://www.npmjs.com/package/pi-harness-runtime)
6
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
7
6
  [![Platform](https://img.shields.io/badge/Platform-macOS%20|Linux-blue?style=for-the-badge)]()
8
7
 
8
+ > ⚠️ **⚠️ Beta Notice — Not Production Ready ⚠️**
9
+ > This project is in active development. Core features work but E2E testing is not yet implemented.
10
+ > **148+ downloads** and counting — we appreciate the interest! Help us test by filing issues.
11
+
12
+ **Autonomous AI coding harness for pi: local token tracking + provider mirror + task orchestration.**
13
+
9
14
  ## Two Flavors
10
15
 
11
- ### 1. `/usage` — Token Tracking (v0.1+)
16
+ ### 1. `/usage` — Token Tracking (stable ✅)
12
17
 
13
18
  Codex-style usage tracking with local tokens + provider mirror.
14
19
 
15
- ### 2. `/harness` — Autonomous Coding Loop (v0.3+)
20
+ ### 2. `/harness` — Autonomous Coding Loop (beta 🔨)
16
21
 
17
22
  Give the runtime a requirement. It keeps working, survives interruption, and returns with code ready for review.
18
23
 
@@ -37,7 +42,7 @@ Requires Pi v0.37.3+.
37
42
  ## Harness Commands
38
43
 
39
44
  ```bash
40
- /harness start <requirement> # Start a new harness job
45
+ /harness start <requirement> # Start a new harness job (beta)
41
46
  /harness status # Show current job status
42
47
  /harness tasks # List all tasks
43
48
  /harness pause # Pause when quota low
@@ -84,12 +89,12 @@ pi-harness-runtime/
84
89
  │ ├── task-graph.ts # DAG-based task management
85
90
  │ ├── master-planner.ts # Requirement → task graph
86
91
  │ ├── loop-runtime.ts # Core execution loop
87
- │ ├── repair-engine.ts # Auto-fix failures
92
+ │ ├── repair-engine.ts # Auto-fix failures
88
93
  │ ├── blackboard.ts # Agent coordination
89
94
  │ ├── context-window-manager.ts # Context tracking
90
95
  │ ├── agent-handoff.ts # Clean agent transitions
91
96
  │ ├── e2e/
92
- │ │ ├── test-engine.ts # E2E test runner
97
+ │ │ ├── test-engine.ts # E2E test runner (coming soon)
93
98
  │ │ └── playwright-runner.ts # Browser automation
94
99
  │ └── project-detector/
95
100
  │ └── detector.ts # Auto-detect project type
@@ -119,7 +124,7 @@ cancelled blocked waiting_human repairing ready_for_client
119
124
  - **Provider-agnostic**: MiniMax, OpenAI, Claude adapters
120
125
  - **Task DAG**: Dependencies tracked, topological execution
121
126
  - **Auto-repair**: Failure classification + retry with exponential backoff
122
- - **E2E testing**: Scenario-based Playwright integration
127
+ - **E2E testing**: Scenario-based Playwright integration (coming soon)
123
128
  - **Project detection**: Auto-detects Frappe, Next.js, React, Django, Laravel
124
129
 
125
130
  ## Data Directory
@@ -155,6 +160,17 @@ All data stored locally in `~/.pi/`:
155
160
  bun test # 131+ tests passing
156
161
  ```
157
162
 
163
+ ## Roadmap
164
+
165
+ - [x] Core harness infrastructure (job state machine, task graph)
166
+ - [x] Master planner
167
+ - [x] Repair engine
168
+ - [x] Shared blackboard
169
+ - [ ] E2E test engine integration
170
+ - [ ] MiniMax Web automatic quota detection
171
+ - [ ] Claude adapter
172
+ - [ ] Production stress testing
173
+
158
174
  ## License
159
175
 
160
176
  MIT © 2026 MooCoding
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-harness-runtime",
3
- "version": "0.3.0",
4
- "description": "Codex-style /usage status for pi: local token tracking + provider mirror",
3
+ "version": "0.3.2-beta.0",
4
+ "description": "[BETA] Codex-style /usage status + autonomous coding harness for pi. Not production ready expect breaking changes.",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "test": "node --test",