fix: planner formula — MEMORY.md should be committed in PR, not gitignored (#397)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
de26c4d073
commit
522c035f80
3 changed files with 6 additions and 8 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -18,6 +18,3 @@ metrics/supervisor-metrics.jsonl
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dev/ci-fixes-*.json
|
dev/ci-fixes-*.json
|
||||||
gardener/dust.jsonl
|
gardener/dust.jsonl
|
||||||
|
|
||||||
# Planner persistent memory (local only)
|
|
||||||
planner/MEMORY.md
|
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,7 @@ resource+leverage gap analysis — reasons about VISION.md, RESOURCES.md,
|
||||||
formula catalog, and project state to create up to 5 total issues (including
|
formula catalog, and project state to create up to 5 total issues (including
|
||||||
promotions) prioritized by leverage. Phase 3 (journal-and-memory): write
|
promotions) prioritized by leverage. Phase 3 (journal-and-memory): write
|
||||||
daily journal entry (committed to git) and update `planner/MEMORY.md`
|
daily journal entry (committed to git) and update `planner/MEMORY.md`
|
||||||
(gitignored, local only). Phase 4 (commit-and-pr): one commit with all file
|
(committed to git). Phase 4 (commit-and-pr): one commit with all file
|
||||||
changes, push, create PR. AGENTS.md maintenance is handled by the
|
changes, push, create PR. AGENTS.md maintenance is handled by the
|
||||||
[Gardener](#gardener-gardener).
|
[Gardener](#gardener-gardener).
|
||||||
|
|
||||||
|
|
@ -183,7 +183,7 @@ issues — the planner is a nervous system component, not work.
|
||||||
prediction-triage, strategic-planning, journal-and-memory, commit-and-pr)
|
prediction-triage, strategic-planning, journal-and-memory, commit-and-pr)
|
||||||
with `needs` dependencies. Claude executes all steps in a single interactive
|
with `needs` dependencies. Claude executes all steps in a single interactive
|
||||||
session with tool access
|
session with tool access
|
||||||
- `planner/MEMORY.md` — Persistent memory across runs (gitignored, local only)
|
- `planner/MEMORY.md` — Persistent memory across runs (committed to git)
|
||||||
- `planner/journal/*.md` — Daily raw logs from each planner run (committed to git)
|
- `planner/journal/*.md` — Daily raw logs from each planner run (committed to git)
|
||||||
|
|
||||||
**Future direction**: The [Predictor](#predictor-planner) already reads `evidence/` JSON and files prediction issues for the planner to triage. The next step is evidence-gated deployment (see `docs/EVIDENCE-ARCHITECTURE.md`): replacing human "ship it" decisions with automated gates across dimensions (holdout, red-team, user-test, evolution fitness, protocol metrics, funnel). Not yet implemented.
|
**Future direction**: The [Predictor](#predictor-planner) already reads `evidence/` JSON and files prediction issues for the planner to triage. The next step is evidence-gated deployment (see `docs/EVIDENCE-ARCHITECTURE.md`): replacing human "ship it" decisions with automated gates across dimensions (holdout, red-team, user-test, evolution fitness, protocol metrics, funnel). Not yet implemented.
|
||||||
|
|
|
||||||
|
|
@ -259,7 +259,7 @@ Format:
|
||||||
|
|
||||||
Keep each entry concise — 30-50 lines max.
|
Keep each entry concise — 30-50 lines max.
|
||||||
|
|
||||||
### 2. Memory update (gitignored, local only)
|
### 2. Memory update (committed to git)
|
||||||
|
|
||||||
Write to: $FACTORY_ROOT/planner/MEMORY.md (replace the entire file)
|
Write to: $FACTORY_ROOT/planner/MEMORY.md (replace the entire file)
|
||||||
|
|
||||||
|
|
@ -287,7 +287,7 @@ title = "One commit with all file changes, push, create PR"
|
||||||
description = """
|
description = """
|
||||||
Collect all file changes from this run into a single commit.
|
Collect all file changes from this run into a single commit.
|
||||||
API calls (issue creation, prediction triage) already happened during the
|
API calls (issue creation, prediction triage) already happened during the
|
||||||
run — only file changes (journal entries) need the PR.
|
run — only file changes (journal entries, MEMORY.md) need the PR.
|
||||||
|
|
||||||
1. Check for staged or unstaged changes:
|
1. Check for staged or unstaged changes:
|
||||||
cd "$PROJECT_REPO_ROOT"
|
cd "$PROJECT_REPO_ROOT"
|
||||||
|
|
@ -299,8 +299,9 @@ run — only file changes (journal entries) need the PR.
|
||||||
a. Create a branch:
|
a. Create a branch:
|
||||||
BRANCH="chore/planner-$(date -u +%Y%m%d-%H%M)"
|
BRANCH="chore/planner-$(date -u +%Y%m%d-%H%M)"
|
||||||
git checkout -B "$BRANCH"
|
git checkout -B "$BRANCH"
|
||||||
b. Stage journal entries:
|
b. Stage journal entries and planner memory:
|
||||||
git add planner/journal/ 2>/dev/null || true
|
git add planner/journal/ 2>/dev/null || true
|
||||||
|
git add planner/MEMORY.md 2>/dev/null || true
|
||||||
c. Stage any other tracked files modified during the run:
|
c. Stage any other tracked files modified during the run:
|
||||||
git add -u
|
git add -u
|
||||||
d. Check if there is anything to commit:
|
d. Check if there is anything to commit:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue