@phi-code-admin/phi-code 0.80.0 → 0.81.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/CHANGELOG.md +16 -0
- package/extensions/phi/memory.ts +9 -3
- package/extensions/phi/orchestrator.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.81.0] - 2026-06-14
|
|
4
|
+
|
|
5
|
+
Marathon increment 4 (prompt-only, low risk).
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **Memory discipline.** The per-turn reminder now tells the model to (1) save only
|
|
10
|
+
non-obvious, cross-session facts (not what git already records) and (2)
|
|
11
|
+
verify-before-trust: a recalled note describes a PAST state, so confirm it against
|
|
12
|
+
the live code before acting, and the current observation wins on conflict.
|
|
13
|
+
- **REVIEW final sweep.** On large diffs, the reviewer re-reads the diff once more
|
|
14
|
+
as if fresh and adds only genuinely new bugs (no padding).
|
|
15
|
+
- **Run Recipe.** EXPLORE records a `## Run Recipe` (build/run command, port, ready
|
|
16
|
+
signal) in the brief; TEST uses it to actually run the code and to tell a real
|
|
17
|
+
failure (FAIL) from a stale launch recipe (BLOCKED).
|
|
18
|
+
|
|
3
19
|
## [0.80.0] - 2026-06-14
|
|
4
20
|
|
|
5
21
|
Marathon increment 3: context protection, productivity commands, and the
|
package/extensions/phi/memory.ts
CHANGED
|
@@ -665,9 +665,15 @@ REMINDER (project rule, applies every turn):
|
|
|
665
665
|
project context, prior decisions, and saved learnings are accessible
|
|
666
666
|
ONLY via this tool.
|
|
667
667
|
2. AFTER completing significant work, call \`memory_write\` to save what
|
|
668
|
-
you did and learned.
|
|
669
|
-
|
|
670
|
-
|
|
668
|
+
you did and learned. Save only NON-OBVIOUS, cross-session facts and user
|
|
669
|
+
preferences; do NOT save what the repo or git history already records.
|
|
670
|
+
3. Saved notes describe a PAST state. Before you act on a recalled fact,
|
|
671
|
+
verify it against the CURRENT code (read/grep that the path or symbol still
|
|
672
|
+
exists). If it conflicts, the live observation wins. Do not delete a stale
|
|
673
|
+
note; note the divergence.
|
|
674
|
+
|
|
675
|
+
The memory_search and memory_write calls are not optional. Skipping them
|
|
676
|
+
violates project rules.
|
|
671
677
|
</system-reminder>
|
|
672
678
|
|
|
673
679
|
`;
|
|
@@ -414,6 +414,7 @@ export default function orchestratorExtension(pi: ExtensionAPI) {
|
|
|
414
414
|
- Requirements: specific features needed
|
|
415
415
|
- Tech decisions: frameworks, patterns to use
|
|
416
416
|
- Constraints: what to NOT break
|
|
417
|
+
- Run Recipe: from package.json scripts / Makefile / Dockerfile / README, a \`## Run Recipe\` with the build command, run command, port/URL, and ready signal (the TEST phase uses this to actually run the code)
|
|
417
418
|
5. **MANDATORY:** Write your findings to \`.phi/plans/explore-${ts}.md\` using the \`write\` tool. This file is READ by Phase 2 PLAN — if you skip it, the plan agent has no context. Do NOT skip this step.
|
|
418
419
|
|
|
419
420
|
**LAST ACTION (MANDATORY):** Call \`memory_write\` to save your exploration findings for downstream agents.
|
|
@@ -580,6 +581,8 @@ $ <command actually executed>
|
|
|
580
581
|
- Error: ... -> Fix: ...
|
|
581
582
|
\`\`\`
|
|
582
583
|
|
|
584
|
+
**Launch:** if the brief contains a "## Run Recipe" (build command, run command, port/URL, ready signal), use it. Distinguish a real failure (FAIL) from a stale launch recipe (BLOCKED) and report the recipe that actually works.
|
|
585
|
+
|
|
583
586
|
**Verdict rules:** PASS only if you OBSERVED every feature working at runtime. When in doubt, FAIL. No partial pass (3/4 working = FAIL). Use BLOCKED only when you could not run anything (broken launch recipe, missing env, provider down) and say what is needed.
|
|
584
587
|
|
|
585
588
|
**CRITICAL RULES:**
|
|
@@ -640,6 +643,8 @@ After testing, use \`memory_write\` to save test results, bugs found, and lesson
|
|
|
640
643
|
- path/file.ts:123 - <what must change and why>
|
|
641
644
|
\`\`\`
|
|
642
645
|
|
|
646
|
+
**Final sweep (large diffs only):** before writing the verdict, re-read the diff once more as if you had never seen it; add ONLY bugs not already in your list. If there are none, do not pad.
|
|
647
|
+
|
|
643
648
|
**Verdict rules:** VERDICT: FAIL if there is ANY CONFIRMED correctness/security finding (it goes under BLOCKING). VERDICT: PASS only if BLOCKING is empty. Do NOT pad: if the code is clean, return PASS with no findings.
|
|
644
649
|
|
|
645
650
|
After your review, use \`memory_write\` ONCE to save:
|