@@ -13,13 +13,13 @@ import {
1313} from "../../src/tools" ;
1414import { pathExists , readJsonl } from "../../src/utils/fs" ;
1515import {
16- getCompatAttemptsPath ,
17- getCompatBestPath ,
1816 getCompatGoalPath ,
19- getCompatProposalCardsPath ,
20- getCompatSessionPath ,
17+ getBestPath ,
2118 getOrchestrationSummaryPath ,
2219 getOrchestrationTracePath ,
20+ getProposalCardsPath ,
21+ getRunsPath ,
22+ getSessionPath ,
2323} from "../../src/utils/paths" ;
2424
2525async function writeToyResearchWorkspace ( workspaceRoot : string ) : Promise < void > {
@@ -97,13 +97,13 @@ async function main() {
9797 const acceptance = JSON . parse ( await experiment_acceptance_review . execute ( { workspace_root : workspaceRoot } ) ) ;
9898
9999 const trace = await readJsonl < { actor : string } > ( getOrchestrationTracePath ( workspaceRoot ) ) ;
100- const attempts = await readJsonl < { run_id : string ; current_metric : number ; status : string } > ( getCompatAttemptsPath ( workspaceRoot ) ) ;
101- const proposalCards = await readJsonl ( getCompatProposalCardsPath ( workspaceRoot ) ) ;
100+ const attempts = await readJsonl < { run_id : string ; current_metric : number ; status : string } > ( getRunsPath ( workspaceRoot ) ) ;
101+ const proposalCards = await readJsonl ( getProposalCardsPath ( workspaceRoot ) ) ;
102102
103103 const artifactPresence = {
104104 compat_goal : await pathExists ( getCompatGoalPath ( workspaceRoot ) ) ,
105- compat_session : await pathExists ( getCompatSessionPath ( workspaceRoot ) ) ,
106- compat_best : await pathExists ( getCompatBestPath ( workspaceRoot ) ) ,
105+ session : await pathExists ( getSessionPath ( workspaceRoot ) ) ,
106+ best : await pathExists ( getBestPath ( workspaceRoot ) ) ,
107107 orchestration_summary : await pathExists ( getOrchestrationSummaryPath ( workspaceRoot ) ) ,
108108 } ;
109109
@@ -125,7 +125,7 @@ async function main() {
125125 throw new Error ( `missing orchestration actor: ${ expectedActor } ` ) ;
126126 }
127127 }
128- if ( ! artifactPresence . compat_goal || ! artifactPresence . compat_session || ! artifactPresence . compat_best || ! artifactPresence . orchestration_summary ) {
128+ if ( ! artifactPresence . compat_goal || ! artifactPresence . session || ! artifactPresence . best || ! artifactPresence . orchestration_summary ) {
129129 throw new Error ( `artifact presence check failed: ${ JSON . stringify ( artifactPresence ) } ` ) ;
130130 }
131131
0 commit comments