pi-curiosity 0.1.2 → 0.1.3
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 +2 -2
- package/extensions/curiosity-steering.ts +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# pi-curiosity
|
|
2
2
|
|
|
3
|
-
A small Pi extension that periodically nudges coding agents to investigate evidence, reuse existing code, search for an existing implementation before building a new one, and keep new code easy for humans to find and understand.
|
|
3
|
+
A small Pi extension that periodically nudges coding agents to investigate evidence, back every claim with evidence, reuse existing code, search for an existing implementation before building a new one, and keep new code easy for humans to find and understand.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -30,4 +30,4 @@ A project `.pi/settings.json` value overrides the global value. `toolInterval` m
|
|
|
30
30
|
|
|
31
31
|
The cue is injected into the next model context after the configured number of tool calls and is hidden from the visible transcript.
|
|
32
32
|
|
|
33
|
-
The cue asks the agent to
|
|
33
|
+
The cue asks the agent to search the repository and its dependencies first, then search online for an existing implementation or library, before writing new code. It applies to any task, however small, and asks the agent to report either `Reused: <source>` or `New implementation because: <reason>`. It also asks the agent to back every claim with evidence, stating what is unverified instead of asserting it.
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from "@earendil-works/pi-coding-agent";
|
|
7
7
|
|
|
8
8
|
const CURIOSITY_CUE =
|
|
9
|
-
"I'm curious—like a baby discovering the world: investigate the latest result, verify the next detail, reuse existing code, and keep new code easy for humans to find and understand as the project grows." +
|
|
10
|
-
" Search before building—every task, however small: the repo and its dependencies first, then
|
|
9
|
+
"I'm curious—like a baby discovering the world: investigate the latest result, verify the next detail, back every claim with evidence, reuse existing code, and keep new code easy for humans to find and understand as the project grows." +
|
|
10
|
+
" Search before building—every task, however small: search the repo and its dependencies first, then search online for an existing implementation or library—because finding working code beats writing new code." +
|
|
11
11
|
" Then say which it was: 'Reused: <source>' or 'New implementation because: <reason>'.";
|
|
12
12
|
const DEFAULT_TOOL_INTERVAL = 10;
|
|
13
13
|
const SETTINGS_KEY = "pi-curiosity";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-curiosity",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "A Pi coding-agent extension that nudges evidence-based investigation, searching for an existing implementation before building one, and human-readable project structure.",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "A Pi coding-agent extension that nudges evidence-based investigation, evidence-backed claims, searching for an existing implementation before building one, and human-readable project structure.",
|
|
5
5
|
"keywords": ["pi-package", "pi", "extension", "curiosity"],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|