atris 3.68.3 → 3.68.4
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/commands/member.js +6 -1
- package/commands/mission.js +7 -0
- package/package.json +1 -1
package/commands/member.js
CHANGED
|
@@ -9925,6 +9925,11 @@ function memberDispatch(...args) {
|
|
|
9925
9925
|
if (!asJson) {
|
|
9926
9926
|
console.log(`${picked.member} (${picked.role}) is taking this because it ${picked.reason.replace(/^[A-Z]/, (c) => c.toLowerCase())}.`);
|
|
9927
9927
|
}
|
|
9928
|
+
// --ignite means do the work now, the same as the previewed member run;
|
|
9929
|
+
// without it dispatch only opens the mission.
|
|
9930
|
+
if (hasFlag(args, '--ignite') || hasFlag(args, '--wait') || hasFlag(args, '--sync')) {
|
|
9931
|
+
return memberRun(picked.member, ...forwardedArgs);
|
|
9932
|
+
}
|
|
9928
9933
|
return startMemberRunMission(picked.member, ideaText, forwardedArgs);
|
|
9929
9934
|
}
|
|
9930
9935
|
|
|
@@ -10846,7 +10851,7 @@ async function memberRoom(...args) {
|
|
|
10846
10851
|
: [' No work recorded yet. Run: atris member go'];
|
|
10847
10852
|
|
|
10848
10853
|
const lines = [
|
|
10849
|
-
'
|
|
10854
|
+
'Your team · workday briefing',
|
|
10850
10855
|
`Engines ready: ${engineSummary}`,
|
|
10851
10856
|
`Loop: ${room.utopia.loop}`,
|
|
10852
10857
|
'',
|
package/commands/mission.js
CHANGED
|
@@ -2208,6 +2208,10 @@ function missionVerifierCheckedText(verifierResult, mission, guard = null) {
|
|
|
2208
2208
|
? 'Engine verify passed after running the changed surface on this computer.'
|
|
2209
2209
|
: 'VERIFY FAILED: the engine verify pass did not end with VERDICT: PASS.';
|
|
2210
2210
|
}
|
|
2211
|
+
// A passing command plus a failing referee must name the referee, not the command.
|
|
2212
|
+
if (verifierResult.referee?.passed === false && verifierResult.status === 0) {
|
|
2213
|
+
return missionVerifierCheckedText(verifierResult.referee, mission, guard);
|
|
2214
|
+
}
|
|
2211
2215
|
const command = verifierResult.command || mission.verifier || 'configured verifier';
|
|
2212
2216
|
if (!verifierResult.passed && verifierResult.timed_out) {
|
|
2213
2217
|
return `VERIFY TIMED OUT: the check ran past its ${verifierTimeoutSeconds(verifierResult)}s window (took ${verifierElapsedSeconds(verifierResult)}s); the code is not failing, the suite is slow. Rerun with more room.`;
|
|
@@ -2242,6 +2246,9 @@ function missionVerifierHighLevelTestText(verifierResult, mission, guard = null)
|
|
|
2242
2246
|
? 'The verify engine inspected the tick diff and reported real changed-surface command output.'
|
|
2243
2247
|
: 'The verify engine did not provide a passing changed-surface verdict.';
|
|
2244
2248
|
}
|
|
2249
|
+
if (verifierResult.referee?.passed === false && verifierResult.status === 0) {
|
|
2250
|
+
return missionVerifierHighLevelTestText(verifierResult.referee, mission, guard);
|
|
2251
|
+
}
|
|
2245
2252
|
const command = verifierResult.command || mission.verifier || 'configured verifier';
|
|
2246
2253
|
if (!verifierResult.passed && verifierResult.timed_out) {
|
|
2247
2254
|
return `Verifier command timed out after ${verifierElapsedSeconds(verifierResult)}s against a ${verifierTimeoutSeconds(verifierResult)}s window: ${command}. No pass/fail verdict was reached; the suite outran the window rather than the code failing.`;
|