@protolabsai/proto 0.39.0 → 0.41.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.
package/README.md CHANGED
@@ -15,7 +15,7 @@ At-a-glance overview vs. upstream Qwen Code. For the full architectural breakdow
15
15
  | --------------------- | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
16
16
  | Default model | Qwen3-Coder | Any (LiteLLM / OpenAI-compat / Anthropic / Gemini) |
17
17
  | Agent harness | — | Sprint contracts + scope lock, behavior-verify gate, multi-sample selector, doom-loop reminders, session memory + evolve, checkpoint/rewind, speculation |
18
- | Bundled skills | 0 (use external) | 22 (sprint-contract, verification-before-completion, systematic-debugging, …) |
18
+ | Bundled skills | 0 (use external) | 4 utility skills (browser-automation, review, proto-helper, harness-reference); workflow skills are user-pluggable, not baked in |
19
19
  | Subagent execution | Sequential | Concurrent batched — Agent calls run in parallel; tool ordering preserved |
20
20
  | Tool-call streaming | Per-converter parser | Per-stream parser context (no cross-stream corruption); malformed JSON → UI-hidden recovery note |
21
21
  | Reasoning models | Basic `reasoning_content` | Inline `<think>`-tag extraction (Minimax/QwQ); reasoning-only `content: ""` fix; preserved on session resume |
@@ -327,24 +327,14 @@ proto includes a harness system that enforces quality gates, limits scope, and r
327
327
 
328
328
  ### Sprint Contract (Scope Lock)
329
329
 
330
- Prevents agents from modifying files outside an agreed scope. Before coding begins, negotiate a contract that defines exactly which files will be created or modified. The scope lock is armed — any write outside scope is rejected with a recovery message.
331
-
332
- **Workflow:**
333
-
334
- ```bash
335
- proto
336
- /sprint-contract
337
- > Task: Refactor auth module
338
- > Files: src/auth.ts, src/utils.ts
339
- > Confirm
340
- ```
330
+ Prevents agents from modifying files outside an agreed scope. The agent (or a user-supplied skill) constructs a contract that defines exactly which files will be created or modified, and the scope lock arms automatically — any write outside scope is rejected with a recovery message.
341
331
 
342
332
  **Behavior:**
343
333
 
344
- - Write to `src/auth.ts` → ALLOWED
345
- - Write to `tests/foo.test.ts` → BLOCKED with scope violation message
334
+ - Write to `src/auth.ts` (in scope) → ALLOWED
335
+ - Write to `tests/foo.test.ts` (out of scope) → BLOCKED with scope violation message
346
336
 
347
- Contracts persist at `.proto/sprint-contract.json` and auto-restore on session resume.
337
+ Contracts persist at `.proto/sprint-contract.json` and auto-restore on session resume. The opinionated `sprint-contract` _skill_ that used to walk agents through negotiating one has been removed; the underlying scope-lock primitive remains and can be driven by your own skill or directly via `SprintContractService`.
348
338
 
349
339
  ### Behavior Verification Gate
350
340
 
@@ -388,32 +378,14 @@ Results are cached at `.proto/repo-map-cache.json` and auto-invalidate on file c
388
378
 
389
379
  ## Skills
390
380
 
391
- proto ships with 22 bundled skills for agentic workflows:
392
-
393
- - **adversarial-verification** — Adversarial review and stress-testing of agent output
394
- - **brainstorming** — Structured ideation
395
- - **browser-automation** — Web browser automation
396
- - **coding-agent-standards** — Enforced coding conventions for agent-written code
397
- - **dispatching-parallel-agents** — Fan-out/fan-in subagent patterns
398
- - **executing-plans** — Step-by-step plan execution
399
- - **finishing-a-development-branch** — Pre-merge cleanup
400
- - **harness-reference** — Sprint contracts, verification gates, and retry logic reference
401
- - **loop** — Iterative refinement loops
381
+ proto ships with a small set of bundled utility skills. Workflow skills (TDD, plan authoring, sprint contracts, code-review choreography, etc.) are intentionally **not** baked in — drop them into `~/.proto/skills/` or a project's `.proto/skills/` when you want them, so build-outs aren't forced into one opinionated process.
382
+
383
+ - **browser-automation** — Web browser automation (navigate, click, fill forms, screenshot, extract content)
384
+ - **review** — Generic code-review workflow
402
385
  - **proto-helper** — protoCLI usage, features, configuration, and troubleshooting
403
- - **receiving-code-review** — Process review feedback
404
- - **requesting-code-review** — Generate review requests
405
- - **review** Code review workflow
406
- - **sprint-contract** — Scope lock and contract negotiation
407
- - **subagent-driven-development** — Delegate to specialized subagents
408
- - **systematic-debugging** — Structured debug methodology
409
- - **test-driven-development** — TDD workflow
410
- - **using-git-worktrees** — Isolated branch work
411
- - **using-superpowers** — Advanced agent capabilities
412
- - **verification-before-completion** — Pre-commit verification
413
- - **writing-plans** — Plan authoring
414
- - **writing-skills** — Skill authoring
415
-
416
- Use `/skills` to list available skills in a session.
386
+ - **harness-reference** — Reference for proto's agent-harness internals (sprint contracts, verification gates, retry logic, etc.)
387
+
388
+ Use `/skills` to list every skill available in a session (bundled + user + project).
417
389
 
418
390
  ### Browser Automation
419
391