Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@
"acquisition": "field-test-local",
"contract_semver": "1.7.0",
"source": {
"kind": "tree"
"kind": "archive",
"archive_sha256": "447200088d08405dc14bf48d9f86ea4b9bd965611c1e3624eab5e5e7293c2cc1"
},
"tree_sha256": "7a24383d94a08054fbd75b67cd52a9f57ec7763c1fe48c3c07a7fe9839f682d7",
"tree_sha256": "8c0878422bdb1dad5760877ff520620831f98168f72f95da2c12824e8988078e",
"entries": {
"README.md": "3a655c2f19aee02636da062f0cae7a189b7e5f691c8ba8010f2ed50e5d8e8d70",
"manifest.json": "f7f59ad11ab6e9ede8efb18c0dca925bc849024ac7669f6ad7914ec69f6f52e4",
"manifest.json": "53cc2a6231dafa74c8671fad4caffda2f2b2f2d81b692693e016510bf0d1c405",
"orchestration/pi.md": "e0c978bc67eca6db19b0ecb38352e201f7e9f91900d7c3797896d5cd15a5f415",
"routing/pi.md": "9e38df86c6733672c5b07e3cf6727da254395c8c5d43c1c742d9eae305fc7be4",
"schemas/lens.schema.json": "9b8a2354a570888486015434501b66b51441a3baf5bf858635e4fff56b2e8298",
"schemas/lens.schema.json": "fb4b03ef18925c0ad9e804ecea50c30037fa9cb947a7e45ffa8fe0d6693177ab",
"schemas/refuter.schema.json": "36f8267c6c3f04600b8f1cb77df70d90858611af822cc81922efd6b3502fb646",
"schemas/targeted-validator.schema.json": "40e397195bdfbc6782fc3090f20c5be082e4d14d2855314f99ecb8506133eddc",
"vectors/lens.json": "7ef0b08404645eeb5dba92aba5f8e4780667b6ec775f43ed8547ff9f2a7148c8",
"vectors/lens.json": "82f89f20bcf58d7bf32889cf01397068b88649bf4ddf9ecb322fdc0338d7e701",
"vectors/refuter.json": "f42d71906e49c4191660b2da7e70f01f1778b23d32089005bd2d7ae9cbb73039",
"vectors/targeted-validator.json": "7b5a5165e3a913863fb98d2ba5387811860c21333b5c37e6ed3b4e0d121cf2fa"
},
"generated": {
"generated/provider-capabilities.baseline.json": "c18032946a13a02deb680a71fbc038af6823de1ff89ad4743dc9e056d56900df",
"generated/provider-roles.baseline.json": "ca6edc920323954d3801de459c30cd9ad818670094fddf378eba9291bf54019c"
"generated/provider-roles.baseline.json": "a5008bca26ca1b30444ccbdad1e88589e22f0ab7e1dade531ddf54adbcd72a64"
},
"runtimes": [
"claude-code",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
],
"schema": {
"path": "schemas/lens.schema.json",
"sha256": "9b8a2354a570888486015434501b66b51441a3baf5bf858635e4fff56b2e8298"
"sha256": "fb4b03ef18925c0ad9e804ecea50c30037fa9cb947a7e45ffa8fe0d6693177ab"
},
"vector": {
"path": "vectors/lens.json",
"sha256": "7ef0b08404645eeb5dba92aba5f8e4780667b6ec775f43ed8547ff9f2a7148c8"
"sha256": "82f89f20bcf58d7bf32889cf01397068b88649bf4ddf9ecb322fdc0338d7e701"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"title": "Gentle AI reviewer result",
"type": "object",
"additionalProperties": false,
"required": ["subject_hash", "inspection", "findings", "evidence"],
"required": ["inspection", "findings", "evidence"],
"properties": {
"subject_hash": {"type": "string", "pattern": "^sha256:[0-9a-f]{64}$"},
"subject_hash": {"type": "string", "pattern": "^sha256:[0-9a-f]{64}$", "description": "Optional legacy echo; omit it from new reviewer output."},
"inspection": {"type": "object", "additionalProperties": false, "required": ["status", "paths"], "allOf": [{"if": {"properties": {"status": {"const": "unavailable"}}, "required": ["status"]}, "then": {"required": ["reason"]}}], "properties": {"status": {"type": "string", "enum": ["completed", "unavailable"], "description": "\"completed\" asserts every changed_path_manifest path was actually inspected. \"unavailable\" asserts the candidate could not be inspected at all and requires a non-empty reason; this is the typed admission-completeness signal; evidence prose is not a substitute for it."}, "paths": {"type": "array", "description": "Complete unique unordered set of every changed_path_manifest.path when status is \"completed\"; empty when status is \"unavailable\".", "uniqueItems": true, "items": {"type": "string", "minLength": 1}}, "reason": {"type": "string", "minLength": 1, "description": "Required and non-empty only when status is \"unavailable\": why the candidate could not be inspected."}}},
"lens": {"type": "string", "description": "Optional selected lens binding. Omission canonicalizes to the selected subject lens.", "enum": ["risk", "resilience", "readability", "reliability", "review-risk", "review-resilience", "review-readability", "review-reliability"]},
"findings": {"type": "array", "items": {"type": "object", "additionalProperties": false, "required": ["location", "severity", "claim", "proof_refs"], "allOf": [{"if": {"properties": {"severity": {"enum": ["BLOCKER", "CRITICAL"]}}, "required": ["severity"]}, "then": {"required": ["evidence_class", "causal_disposition"]}}], "properties": {"id": {"type": "string", "pattern": "^R[1-4]-[A-Za-z0-9][A-Za-z0-9._-]*$", "description": "Optional explicit ID; omit it to receive a native-assigned ID. When present it must carry the prefix bound to the selected lens, not the selection order: review-risk=R1-, review-readability=R2-, review-reliability=R3-, review-resilience=R4-."}, "lens": {"type": "string", "enum": ["risk", "resilience", "readability", "reliability", "review-risk", "review-resilience", "review-readability", "review-reliability"]}, "location": {"type": "string", "description": "One canonical repository-relative path:line or inclusive path:start-end span.", "pattern": "^.+:[1-9][0-9]*(?:-[1-9][0-9]*)?$"}, "severity": {"type": "string", "enum": ["BLOCKER", "CRITICAL", "WARNING", "SUGGESTION"]}, "claim": {"type": "string", "minLength": 1}, "proof_refs": {"type": "array", "minItems": 1, "items": {"type": "string", "pattern": "\\S", "not": {"pattern": "^\\s*(?:[nN]/[aA]|[nN][aA]|[nN][oO][nN][eE]|[tT][oO][dD][oO]|[tT][bB][dD]|[pP][aA][sS][sS]|[pP][aA][sS][sS][eE][dD]|[sS][uU][cC][cC][eE][sS][sS]|[pP][lL][aA][cC][eE][hH][oO][lL][dD][eE][rR])\\s*$"}}}, "evidence_class": {"type": "string", "enum": ["deterministic", "inferential", "insufficient"]}, "causal_disposition": {"type": "string", "enum": ["introduced", "behavior-activated", "worsened", "pre-existing", "base-only", "unknown"]}}}},
"evidence": {"type": "array", "minItems": 1, "items": {"type": "string", "pattern": "\\S", "not": {"pattern": "^\\s*(?:[nN]/[aA]|[nN][aA]|[nN][oO][nN][eE]|[tT][oO][dD][oO]|[tT][bB][dD]|[pP][aA][sS][sS]|[pP][aA][sS][sS][eE][dD]|[sS][uU][cC][cC][eE][sS][sS]|[pP][lL][aA][cC][eE][hH][oO][lL][dD][eE][rR])\\s*$"}}}
},
"examples": [{"subject_hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000", "inspection": {"status": "completed", "paths": ["internal/example.go"]}, "findings": [], "evidence": ["reviewed the complete candidate scope"]}, {"subject_hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000", "inspection": {"status": "unavailable", "paths": [], "reason": "the immutable inspection command timed out before any path could be read"}, "findings": [], "evidence": ["inspection was unavailable; see inspection.reason"]}]
"examples": [{"inspection": {"status": "completed", "paths": ["internal/example.go"]}, "findings": [], "evidence": ["reviewed the complete candidate scope"]}, {"inspection": {"status": "unavailable", "paths": [], "reason": "the immutable inspection command timed out before any path could be read"}, "findings": [], "evidence": ["inspection was unavailable; see inspection.reason"]}]
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"subject_hash":"sha256:0000000000000000000000000000000000000000000000000000000000000000","inspection":{"status":"completed","paths":["internal/example.go"]},"findings":[],"evidence":["reviewed the complete candidate scope"]}
{"inspection":{"status":"completed","paths":["internal/example.go"]},"findings":[],"evidence":["reviewed the complete candidate scope"]}
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"gentle-ai.provider-transport/v1"
],
"schema_path": "schemas/lens.schema.json",
"schema_sha256": "9b8a2354a570888486015434501b66b51441a3baf5bf858635e4fff56b2e8298",
"schema_sha256": "fb4b03ef18925c0ad9e804ecea50c30037fa9cb947a7e45ffa8fe0d6693177ab",
"vector_path": "vectors/lens.json",
"vector_sha256": "7ef0b08404645eeb5dba92aba5f8e4780667b6ec775f43ed8547ff9f2a7148c8"
"vector_sha256": "82f89f20bcf58d7bf32889cf01397068b88649bf4ddf9ecb322fdc0338d7e701"
},
{
"id": "refuter",
Expand Down
2 changes: 1 addition & 1 deletion docs/bundled-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ S9. Everything Gentle AI and gentle-pi keep lives in the prefix, except Engram's
- **gentle-engram.** The gentle-engram Pi extension finds Engram only through `ENGRAM_BIN`, read once when it loads, and otherwise runs `engram` from `PATH`. So Pi gets `ENGRAM_BIN` (the guard; memory reaches the shared server through `ENGRAM_URL`), and no `PATH` entry is added. An `ENGRAM_BIN` the user set is kept. The agent's shell inherits `ENGRAM_BIN` too, so an Engram MCP launcher started there through `ENGRAM_BIN` uses the same guard.
- **Personas.** Setup snapshots and restores the persona Gentle AI may rewrite: the prefix's `config/gentle-ai/persona.json`, and also the user's `~/.pi/gentle-ai/persona.json`. A Gentle AI release without the variables still writes the user's file, and restoring an unchanged file does nothing. The managed-asset record is restored only in the user's `~/.gentle-ai/state.json`; the prefix's record belongs to the pinned Gentle AI.
- **pi-pretty and prompt history.** In bundled mode only, the pi-pretty wrapper passes `deps.sdk` with Pi's five tool factories and `getAgentDir`, so its FFF database lands in `<agent home>/pi-pretty/fff`, and prompt history keeps its store under `<agent home>/history` ([Prompt history](prompt-history.md)). Elsewhere both keep their existing locations: Pi's deps reach pi-pretty unchanged (`$HOME/.pi/agent/pi-pretty/fff`, or no store without `HOME`), and history stays under `~/.pi/agent/history`, also in the isolated home of a pnpm or npm install, so existing histories are not left behind.
- **Historical compatibility (Gentle AI 4.0.0).** The current Gentle AI 5.0.0 pin honors the four `GENTLE_AI_*` variables above. Gentle AI 4.0.0 ignored them:
- **Historical compatibility (Gentle AI 4.0.0).** The current Gentle AI 5.1.0 pin honors the four `GENTLE_AI_*` variables above. Gentle AI 4.0.0 ignored them:
- Setup still writes `~/.gentle-ai` and `~/.pi/gentle-ai`, with the restores above, and still acquires Engram its own way.
- The persona goes to the user's `~/.pi/gentle-ai/persona.json` (Gentle AI 4.0.0 resolves it from the OS home) and is restored there. The prefix's `config/gentle-ai/persona.json` is not created by setup.
- The background-subagents policy already lands in `<prefix>/config/gentle-ai/` through `GENTLE_PI_CONFIG_HOME=<prefix>/config` (see above).
Expand Down
2 changes: 1 addition & 1 deletion docs/gentle-shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The [v2.6.0 release](https://github.com/Gentleman-Programming/gentle-pi/releases
- The Agents List and Details views preserve the orchestrator/session hierarchy and completion, abort, and lost-exit history. Parent-child queries and notifications have an explicit handoff path, while model, effort, and usage stay observable per task.
- Named `/gentle:profiles` atomically route the orchestrator separately from packaged and review roles, and carry a per-profile orchestrator workflow mode (`w` on the models screen: organic, where the orchestrator may implement inline, or full delegation, where every implementation goes to a subagent); see the [technical reference](readme-reference.md#agent-model-profiles) for the profile model. Full delegation pays off with an expensive orchestrator and light workers; on small tasks it costs a few times the wall time of organic, so see [Orchestrator workflow mode](readme-reference.md#orchestrator-workflow-mode) for the measured cost and which mode to pick. A profile can also turn on [Controlled Engineering](readme-reference.md#controlled-engineering) (`c` on the models screen, off by default), which adds authoring rules against unrequested machinery to the sessions that write or verify code.

The source checkout declares `gentle-pi` `5.0.0` with a package-local Gentle AI `v5.0.0` pin; the source manifest does not establish whether that version is published. The mirror uses the signed provider bundle published with v5.0.0. Its bundle version stays `1.6.0`, and the native review CLI still advertises `capabilities/v2.6` without legacy authority.
The source checkout declares `gentle-pi` `5.1.0` with a package-local Gentle AI `v5.1.0` pin; the source manifest does not establish whether that version is published. The mirror uses the signed provider bundle `1.7.0` published with v5.1.0. The native review CLI still advertises `capabilities/v2.6` without legacy authority.

## Shell interactions and runtime behavior

Expand Down
4 changes: 2 additions & 2 deletions docs/install-wizard.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ it lets the window close.
Current requirements come from `package.json` and
[`gentle-ai-installer.mjs`](../scripts/gentle-ai-installer.mjs): Node `^22.19.0 || >=23.6.0`
(22.19.0 or a later 22.x release, or 23.6.0 or newer; 23.0–23.5 are not
supported), Pi ≥1.2.0, pnpm acquisition 11.1.1, Gentle Shell package 4.0.0 and package-local
Gentle AI 5.0.0. Windows native source builds require Go ≥1.25.10 when the
supported), Pi ≥1.2.0, pnpm acquisition 11.1.1, Gentle Shell package 5.1.0 and package-local
Gentle AI 5.1.0. Windows native source builds require Go ≥1.25.10 when the
required usable native binary is missing. A reusable binary does not require Go.
When a build needs Go and the user's Go is missing, older or unchecked, the installer uses
its own [pinned Go](#pinned-go) instead of blocking.
Expand Down
Loading
Loading