humanish 0.64.0 → 0.66.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/README.md +5 -1
- package/dist/actor-contract.d.ts +2 -1
- package/dist/actor-contract.js.map +1 -1
- package/dist/cua-actor-lab.d.ts +23 -0
- package/dist/cua-actor-lab.js +59 -13
- package/dist/cua-actor-lab.js.map +1 -1
- package/dist/e2b-desktop-launch.d.ts +11 -0
- package/dist/e2b-desktop-launch.js.map +1 -1
- package/dist/e2b-terminal-lab.js +15 -0
- package/dist/e2b-terminal-lab.js.map +1 -1
- package/dist/lab-config.d.ts +17 -0
- package/dist/lab-config.js +14 -0
- package/dist/lab-config.js.map +1 -1
- package/dist/program.d.ts +3 -0
- package/dist/program.js +44 -6
- package/dist/program.js.map +1 -1
- package/dist/run.d.ts +4 -0
- package/dist/run.js +21 -5
- package/dist/run.js.map +1 -1
- package/dist/tasks.d.ts +14 -1
- package/dist/tasks.js +47 -4
- package/dist/tasks.js.map +1 -1
- package/dist/telemetry.d.ts +14 -0
- package/dist/telemetry.js +104 -1
- package/dist/telemetry.js.map +1 -1
- package/docs/contracts/schemas.md +1 -1
- package/docs/goals/current.md +1 -1
- package/docs/ramp/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,7 +56,11 @@ npx humanish run try-live # a REAL study on a hosted desktop, capped at $2
|
|
|
56
56
|
`try-live` studies a real public app so that your first live run works without
|
|
57
57
|
configuring anything; point its `subject` at your own app once you have seen it
|
|
58
58
|
run. It needs `E2B_API_KEY`, and a model: either a provider key or a coding
|
|
59
|
-
agent you are already signed in to (see below).
|
|
59
|
+
agent you are already signed in to (see below). Measured on 2026-09-01 from
|
|
60
|
+
three fresh directories against the published 0.65.0: 3 of 3 reached the goal,
|
|
61
|
+
108 to 111 s each, about $0.16 each, and all three reported the same two
|
|
62
|
+
frictions in the demo app
|
|
63
|
+
([receipt](docs/goals/computer-use-actor/receipts/cold-install-try-live-2026-09-01.md)).
|
|
60
64
|
|
|
61
65
|
**Install it, do not one-shot it.** A live run needs the optional peer
|
|
62
66
|
`@e2b/desktop`, and Node resolves that relative to humanish itself, so a
|
package/dist/actor-contract.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ export declare const ACTOR_TRACE_SCHEMA = "humanish.actor-trace.v1";
|
|
|
14
14
|
* - `passed` the participant reached the goal
|
|
15
15
|
* - `abandoned` the participant stopped trying. A FINDING, not a malfunction
|
|
16
16
|
* - `incomplete` the session ended (time or budget) before the goal was reached
|
|
17
|
-
* - `blocked` the participant
|
|
17
|
+
* - `blocked` the participant could not proceed: an approval the run could not give, or a
|
|
18
|
+
* blocker they described in their own final words (#476)
|
|
18
19
|
* - `timed_out` the session hit its deadline with no productive activity at all
|
|
19
20
|
* - `failed` the HARNESS failed: a dead sandbox, a provider error, a broken artifact
|
|
20
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actor-contract.js","sourceRoot":"","sources":["../src/actor-contract.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,oEAAoE;AACpE,0EAA0E;AAC1E,oFAAoF;AACpF,EAAE;AACF,iFAAiF;AACjF,8EAA8E;AAC9E,gFAAgF;AAChF,uBAAuB;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"actor-contract.js","sourceRoot":"","sources":["../src/actor-contract.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,oEAAoE;AACpE,0EAA0E;AAC1E,oFAAoF;AACpF,EAAE;AACF,iFAAiF;AACjF,8EAA8E;AAC9E,gFAAgF;AAChF,uBAAuB;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AAoB5D;;iCAEiC;AACjC,MAAM,CAAC,MAAM,4BAA4B,GAA2B,CAAC,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EAAE,CAAC;QACnD,YAAY,EAAE,6BAA6B;KAC5C,CAAC;AACJ,CAAC"}
|
package/dist/cua-actor-lab.d.ts
CHANGED
|
@@ -918,6 +918,18 @@ export declare function buildCuaBundle(args: {
|
|
|
918
918
|
captureRedaction?: "raw" | "blurred";
|
|
919
919
|
session?: CuaLoopResult;
|
|
920
920
|
sessionError?: string;
|
|
921
|
+
/**
|
|
922
|
+
* The lane's own credibility read of a goal_satisfied session (#476). The actor's status is
|
|
923
|
+
* evidence of what it CLAIMED; whether the harness counts the claim is decided by the lane
|
|
924
|
+
* (zero engagement, a final message that describes a blocker). The review has to say the same
|
|
925
|
+
* thing the lane's exit code says, or the durable bundle reports a participant reaching the
|
|
926
|
+
* goal on a run the harness refused to count.
|
|
927
|
+
*/
|
|
928
|
+
credibility?: {
|
|
929
|
+
noEngagement: boolean;
|
|
930
|
+
selfReportedBlocker: boolean;
|
|
931
|
+
reportedFriction: boolean;
|
|
932
|
+
};
|
|
921
933
|
source: RunBundle["source"];
|
|
922
934
|
/** Provisioned-route provenance (clone or local-tree): what the actor actually drove (names
|
|
923
935
|
* + digests only, never values or command text), including the subject's state story. */
|
|
@@ -972,3 +984,14 @@ export declare function buildCuaFanoutBundle(args: {
|
|
|
972
984
|
subjectEnvNames: string[];
|
|
973
985
|
inProgress?: boolean;
|
|
974
986
|
}): RunBundle;
|
|
987
|
+
/**
|
|
988
|
+
* The status a participant is TALLIED under, given what the lane made of the session. A
|
|
989
|
+
* goal_satisfied claim with zero engagement is a session that ran out before anything happened;
|
|
990
|
+
* one whose final message describes a blocker is a participant who could not proceed and said so.
|
|
991
|
+
* Both keep their trace status (the claim is evidence); neither is a participant who reached the
|
|
992
|
+
* goal. One rule for the single lane and the fan-out roll-up (#476).
|
|
993
|
+
*/
|
|
994
|
+
export declare function participantStatusForCredibility(status: ActorStatus, credibility: {
|
|
995
|
+
noEngagement: boolean;
|
|
996
|
+
selfReportedBlocker: boolean;
|
|
997
|
+
} | undefined): ActorStatus;
|
package/dist/cua-actor-lab.js
CHANGED
|
@@ -2963,13 +2963,17 @@ async function runCuaActorLabInScope(options) {
|
|
|
2963
2963
|
message: outcome?.sessionError
|
|
2964
2964
|
?? (outcome?.noEngagement
|
|
2965
2965
|
? "Actor took no actions and produced no message (likely a blank/still-loading screen); not a credible goal_satisfied."
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2966
|
+
// The lane result (toLaneResult) named this refusal; the N=1 envelope fell through to
|
|
2967
|
+
// "did not produce a terminal session", which is false — it produced one and refused it.
|
|
2968
|
+
: outcome?.selfReportedBlocker
|
|
2969
|
+
? "Actor reported goal_satisfied while its final message described a blocker or asked for missing instructions; not a credible pass."
|
|
2970
|
+
: observer.ok
|
|
2971
|
+
? outcome?.session?.completionReason === "harness_error"
|
|
2972
|
+
? `Computer-use session ended with a harness error: ${outcome.session.reason}`
|
|
2973
|
+
: outcome?.session?.status !== "passed"
|
|
2974
|
+
? `Computer-use session ended with ${outcome?.session?.status ?? "unknown"}: ${outcome?.session?.reason ?? "no terminal reason"}`
|
|
2975
|
+
: "Computer-use lab did not produce a terminal session."
|
|
2976
|
+
: observer.error?.message ?? "Observer failed for the computer-use lab run.")
|
|
2973
2977
|
};
|
|
2974
2978
|
}
|
|
2975
2979
|
const failingLane = (outcomes ?? []).find((outcome) => !laneOk(outcome));
|
|
@@ -3117,6 +3121,15 @@ function buildSingleLaneBundle(args) {
|
|
|
3117
3121
|
captureRedaction: args.redactScreenshots ? "blurred" : "raw",
|
|
3118
3122
|
...(outcome?.session ? { session: outcome.session } : {}),
|
|
3119
3123
|
...(outcome?.sessionError ? { sessionError: outcome.sessionError } : {}),
|
|
3124
|
+
...(outcome === undefined
|
|
3125
|
+
? {}
|
|
3126
|
+
: {
|
|
3127
|
+
credibility: {
|
|
3128
|
+
noEngagement: outcome.noEngagement === true,
|
|
3129
|
+
selfReportedBlocker: outcome.selfReportedBlocker === true,
|
|
3130
|
+
reportedFriction: outcome.reportedFriction === true
|
|
3131
|
+
}
|
|
3132
|
+
}),
|
|
3120
3133
|
source: args.source,
|
|
3121
3134
|
...(args.inProgress === undefined ? {} : { inProgress: args.inProgress }),
|
|
3122
3135
|
...(args.subjectProvenance === undefined ? {} : { subjectProvenance: args.subjectProvenance }),
|
|
@@ -3871,22 +3884,36 @@ export function buildCuaBundle(args) {
|
|
|
3871
3884
|
const singleStudyTasks = args.inProgress !== true && args.session?.trace.taskFunnel !== undefined
|
|
3872
3885
|
? aggregateTaskFunnels([args.session.trace.taskFunnel])
|
|
3873
3886
|
: undefined;
|
|
3887
|
+
// What happened to the participant, as the LANE judged it — the same rule the fan-out roll-up
|
|
3888
|
+
// applies (participantStatusForOutcome). Before #476 this read the actor's own status, so a
|
|
3889
|
+
// run the lane refused as "not a credible pass" was written up as verdict pass, 1/1 reached
|
|
3890
|
+
// the goal, and every projection of the bundle (Observer tally, `runs`, the status index)
|
|
3891
|
+
// repeated it. Found on a real drawDB run whose participant wrote "Blocked after partial
|
|
3892
|
+
// completion".
|
|
3893
|
+
const participantStatus = args.session === undefined
|
|
3894
|
+
? undefined
|
|
3895
|
+
: participantStatusForCredibility(args.session.status, args.credibility);
|
|
3896
|
+
const credibilityNote = args.session === undefined || participantStatus === args.session.status
|
|
3897
|
+
? undefined
|
|
3898
|
+
: args.credibility?.noEngagement === true
|
|
3899
|
+
? "Not counted as a pass: the participant took no actions and said nothing."
|
|
3900
|
+
: "Not counted as a pass: the participant's final message described a blocker.";
|
|
3874
3901
|
const review = {
|
|
3875
3902
|
schema: REVIEW_SCHEMA,
|
|
3876
3903
|
verdict: args.inProgress === true
|
|
3877
3904
|
? "contract_proof_only"
|
|
3878
|
-
:
|
|
3879
|
-
? verdictForStatus(
|
|
3905
|
+
: participantStatus !== undefined
|
|
3906
|
+
? verdictForStatus(participantStatus)
|
|
3880
3907
|
: args.sessionError
|
|
3881
3908
|
? "fail"
|
|
3882
3909
|
: "contract_proof_only",
|
|
3883
3910
|
// One lane is still a study with a denominator of one, and saying so keeps a single-lane
|
|
3884
3911
|
// result from being read as though it generalized.
|
|
3885
|
-
...(
|
|
3886
|
-
? { participants: tallyParticipantOutcomes([args.
|
|
3912
|
+
...(participantStatus !== undefined && args.inProgress !== true
|
|
3913
|
+
? { participants: tallyParticipantOutcomes([participantStatus], [args.credibility?.reportedFriction === true]) }
|
|
3887
3914
|
: {}),
|
|
3888
3915
|
...(singleStudyTasks === undefined ? {} : { tasks: singleStudyTasks }),
|
|
3889
|
-
summary: reason
|
|
3916
|
+
summary: credibilityNote === undefined ? reason : `${credibilityNote} ${reason}`,
|
|
3890
3917
|
gaps: args.session || args.sessionError
|
|
3891
3918
|
? []
|
|
3892
3919
|
: args.inProgress === true
|
|
@@ -4309,7 +4336,10 @@ export function buildCuaFanoutBundle(args) {
|
|
|
4309
4336
|
// it — but `reachedGoal` was reading the trace status directly, so one run could be both
|
|
4310
4337
|
// "not a passed lane" AND "1/1 reached the goal". The headline number a researcher reads
|
|
4311
4338
|
// first was the dishonest one. Found by a provider bug that ended a study on turn one.
|
|
4312
|
-
terminalOutcomes.map((outcome) => (outcome.
|
|
4339
|
+
terminalOutcomes.map((outcome) => participantStatusForCredibility(outcome.session.status, {
|
|
4340
|
+
noEngagement: outcome.noEngagement === true,
|
|
4341
|
+
selfReportedBlocker: outcome.selfReportedBlocker === true
|
|
4342
|
+
})),
|
|
4313
4343
|
// A participant who reached the goal AND told you the road there was broken is the most
|
|
4314
4344
|
// useful result a study produces; reporting only the outcome would bury it.
|
|
4315
4345
|
terminalOutcomes.map((outcome) => outcome.reportedFriction === true))
|
|
@@ -4486,6 +4516,22 @@ function providerResourcesForOutcome(args) {
|
|
|
4486
4516
|
}
|
|
4487
4517
|
}];
|
|
4488
4518
|
}
|
|
4519
|
+
/**
|
|
4520
|
+
* The status a participant is TALLIED under, given what the lane made of the session. A
|
|
4521
|
+
* goal_satisfied claim with zero engagement is a session that ran out before anything happened;
|
|
4522
|
+
* one whose final message describes a blocker is a participant who could not proceed and said so.
|
|
4523
|
+
* Both keep their trace status (the claim is evidence); neither is a participant who reached the
|
|
4524
|
+
* goal. One rule for the single lane and the fan-out roll-up (#476).
|
|
4525
|
+
*/
|
|
4526
|
+
export function participantStatusForCredibility(status, credibility) {
|
|
4527
|
+
if (status !== "passed" || credibility === undefined)
|
|
4528
|
+
return status;
|
|
4529
|
+
if (credibility.noEngagement)
|
|
4530
|
+
return "incomplete";
|
|
4531
|
+
if (credibility.selfReportedBlocker)
|
|
4532
|
+
return "blocked";
|
|
4533
|
+
return status;
|
|
4534
|
+
}
|
|
4489
4535
|
function verdictForStatus(status) {
|
|
4490
4536
|
switch (status) {
|
|
4491
4537
|
case "passed":
|