Overview
| Comment: | Adopt Pi's default tools: read, write, edit and bash
Tools take Pi's inputs and return Pi's truncation notices and messages. Edit computes the new file first and journals it with started, so a replay after a crash writes the same bytes and edit joins read and write as replay-safe. Bash keeps the tail of its output, saves the full output when it has to cut, and reports Pi's status lines. Results carry a journaled error flag, cancelled calls are skipped with a result, and the schema moves to version 3. |
|---|---|
| Timelines: | family | ancestors | descendants | both | stage-3 |
| Files: | files | file ages | folders |
| SHA3-256: |
c5ab59d7d746d9c4553657c4c2d1e2aa |
| User & Date: | dmestas on 2026-11-18 19:37:32.307 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-18
| ||
| 19:42 |
Add context assembly, pic ask and cancel, and tool contract tests
The system prompt follows Pi: preamble, tools, rules, project instructions from the workspace and every ancestor, outermost first, then the working directory. pic ask runs a request in the current directory with the journal under .pic and prints each tool call and the answer; pic cancel skips calls that have not run. Each tool gets exact contract tests, and an edit interrupted after writing is replayed from its journaled plan. check-in: ba0addd3d7 user: dmestas tags: stage-3 | |
| 19:37 |
Adopt Pi's default tools: read, write, edit and bash
Tools take Pi's inputs and return Pi's truncation notices and messages. Edit computes the new file first and journals it with started, so a replay after a crash writes the same bytes and edit joins read and write as replay-safe. Bash keeps the tail of its output, saves the full output when it has to cut, and reports Pi's status lines. Results carry a journaled error flag, cancelled calls are skipped with a result, and the schema moves to version 3. check-in: c5ab59d7d7 user: dmestas tags: stage-3 | |
| 19:30 | Detail stage 3: Pi default tools, context assembly and benchmarks check-in: aab53b7dbf user: dmestas tags: stage-3 | |