Runs take only curated memories, a step's prompt carries its task's note, comments, plan and the flow's earlier reports, and a run's environment names its gate cache #195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/3981-runs-receive-hundreds-of-unreviewed-agen"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracker: #3981
What it delivers
memory_reviewdefaults toafter_review. Migration 55 rebuildsprojectwith that column default, moves every existing project toafter_review, and holds every agent memory stillnew. On the live database that holds the 726newmemories, so a run's instructions carry only the memories Agra took into use. A project can still be set toat_once. A global memory whose author's project is gone is no longer used.flow_promptgives a step's run, after its task's title and description: the task's note; its comments, oldest first; its parent task's title, description and note; each subtask's status, PR, latest flow run and that flow run's latest step report; and the report of each earlier step run of its flow run (node, run, role and out over its summary). Then come the Orchestrator's brief and what a re-run is told, as before.SAK_GATE_CACHEis in a run's environment: the project's gate cache directory, the same one its gates and gate jobs run with.Regressions, failing before and passing after
Before: a
git archivearm of masterce44f520holding this branch's test files, withdist/built there by the gate cache's sx (af8455c3). After: this branch's head.tests/memories.sxMEMORIES FAIL (8 checks): the default switch, the three instruction texts, the gone author's global memory, and the three checks of the upgrade from 54MEMORIES OKtests/flow_prompt.sx(new)FLOW PROMPT FAIL (3 checks): a step's first prompt (note, comments, parent), the next step's (earlier step report, then brief), and a plan's (subtasks)FLOW PROMPT OKtests/runner_core.sxRUNNER CORE FAIL (6 checks): the four exact-environment checks, one per harness; the harness'sSAK_GATE_CACHE; a saved memory held by defaultok 130stests/blockers.sxBLOCKERS OKtests/deployed_upgrade.sxnewmemory are moved as migration 55 says, every other value keptDEPLOYED UPGRADE OKThe run that delivered this showed the third symptom in its own shell:
SAK_GATE_CACHEwas empty, whileSAK_GATE_SOCKETandSAK_REPORTwere set.Goldens
The golden set this PR changes:
web/e2e/surfaces.spec.ts-snapshots/memories-{light,dark,phone-light,phone-dark}-chromium-darwin.png. They were re-recorded in one full run of the main Playwright config with--update-snapshots=changed: 777 passed, 1 skipped, and no other snapshot moved. The scene's project now takes the new default, so the changed pixels are the banner ("waiting for review"), the group's switch ("after review") and the memory's mark ("held for review"). These are looks the Memories page already has for a project that reviews.Gates
full, gate run 979 (this run's #2), passed at39cca194, the head. Every step passed: 70tests/*.sxfiles built and each ok, release.sh and step9, the deploy contract, the main Playwright config (777 passed, 1 skipped) and the runner config (10 passed).fast, gate run 976 (#1), passed while iterating, on the uncommitted tree overce44f520.Deploying
Migration 55 rebuilds the small
projecttable and updatesmemory, all in one transaction. Runs getSAK_GATE_CACHEonce their runner is updated to a release that carries this change.Runs take only curated memories, and a step's prompt carries its task's note, comments, plan and the flow's earlier reportsto Runs take only curated memories, a step's prompt carries its task's note, comments, plan and the flow's earlier reports, and a run's environment names its gate cache