@alan-ai-hq/agent-manager-linux-x64 0.1.204 → 0.1.205
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/alan-agent.cjs +106147 -112160
- package/alan-holder.cjs +71496 -70975
- package/alan-lease.cjs +75 -52
- package/builtin-skills/alan-docs/references/cloud-and-local/local-execution.md +2 -3
- package/builtin-skills/alan-test-feature/SKILL.md +17 -13
- package/builtin-skills/alan-test-web/SKILL.md +34 -5
- package/builtin-skills/alan-test-web/scripts/record-walkthrough.mjs +474 -0
- package/builtin-skills/alan-walkthrough/SKILL.md +13 -4
- package/builtin-skills/manifest.json +4 -4
- package/package.json +2 -2
package/alan-lease.cjs
CHANGED
|
@@ -22502,7 +22502,7 @@ var init_query_result = __esm({
|
|
|
22502
22502
|
});
|
|
22503
22503
|
|
|
22504
22504
|
// ../shared/src/runtime-v2/link.ts
|
|
22505
|
-
var LINK_PROTOCOL, linkHandshakeSchema, linkAuthSchema, linkEnrollmentAuthSchema, heldRunStateSchema, heldRunSchema, PROJECT_PATH_FALLBACK_FEATURE, helloSchema, helloAckSchema, handshakeHelloAckSchema, pokeReasonSchema, prewarmPokeSchema, desiredPokeSchema, pokeSchema, runAcceptedSchema, runInputsRequestSchema, runStartInputsSchema, runInputsResultSchema, RUN_ANSWER_MAX_LENGTH, toolCallIdSchema, runAnswerSchema, runRespondRequestSchema, runRespondStatusSchema, runRespondResultSchema, runSteerRequestSchema, runSteerStatusSchema, runSteerResultSchema, backgroundTaskIdSchema, runStopTaskRequestSchema, backgroundTaskStopResultSchema, runStopTaskResultSchema, LINK_CONNECT_ERROR_CODES, linkConnectErrorSchema, LINK_FAILURE_REASONS;
|
|
22505
|
+
var LINK_PROTOCOL, linkHandshakeSchema, linkAuthSchema, linkEnrollmentAuthSchema, heldRunStateSchema, heldRunSchema, PROJECT_PATH_FALLBACK_FEATURE, bootMarkMsSchema, runtimeBootMarksSchema, helloSchema, helloAckSchema, handshakeHelloAckSchema, pokeReasonSchema, prewarmPokeSchema, desiredPokeSchema, pokeSchema, runAcceptedSchema, runInputsRequestSchema, runStartInputsSchema, runInputsResultSchema, RUN_ANSWER_MAX_LENGTH, toolCallIdSchema, runAnswerSchema, runRespondRequestSchema, runRespondStatusSchema, runRespondResultSchema, runSteerRequestSchema, runSteerStatusSchema, runSteerResultSchema, backgroundTaskIdSchema, runStopTaskRequestSchema, backgroundTaskStopResultSchema, runStopTaskResultSchema, LINK_CONNECT_ERROR_CODES, linkConnectErrorSchema, LINK_FAILURE_REASONS;
|
|
22506
22506
|
var init_link = __esm({
|
|
22507
22507
|
"../shared/src/runtime-v2/link.ts"() {
|
|
22508
22508
|
"use strict";
|
|
@@ -22534,10 +22534,19 @@ var init_link = __esm({
|
|
|
22534
22534
|
loggedBytes: byteOffsetSchema
|
|
22535
22535
|
});
|
|
22536
22536
|
PROJECT_PATH_FALLBACK_FEATURE = "project_path_fallback_v1";
|
|
22537
|
+
bootMarkMsSchema = external_exports.number().int().nonnegative();
|
|
22538
|
+
runtimeBootMarksSchema = external_exports.object({
|
|
22539
|
+
nodeReadyMs: bootMarkMsSchema,
|
|
22540
|
+
identityLoadedMs: bootMarkMsSchema.optional(),
|
|
22541
|
+
dnsResolvedMs: bootMarkMsSchema.optional(),
|
|
22542
|
+
socketConnectedMs: bootMarkMsSchema.optional(),
|
|
22543
|
+
connectSentMs: bootMarkMsSchema.optional()
|
|
22544
|
+
});
|
|
22537
22545
|
helloSchema = external_exports.object({
|
|
22538
22546
|
epoch: external_exports.number().int().positive(),
|
|
22539
22547
|
runs: external_exports.array(heldRunSchema),
|
|
22540
|
-
features: runtimeFeaturesSchema.optional()
|
|
22548
|
+
features: runtimeFeaturesSchema.optional(),
|
|
22549
|
+
bootMarks: runtimeBootMarksSchema.optional()
|
|
22541
22550
|
});
|
|
22542
22551
|
helloAckSchema = external_exports.object({
|
|
22543
22552
|
desired: desiredStateSchema,
|
|
@@ -22961,7 +22970,7 @@ var init_problem = __esm({
|
|
|
22961
22970
|
});
|
|
22962
22971
|
|
|
22963
22972
|
// ../shared/src/cli-usage.ts
|
|
22964
|
-
var usagePercentSchema, usageTimestampSchema, usageAmountSchema,
|
|
22973
|
+
var usagePercentSchema, usageTimestampSchema, usageAmountSchema, cliUsageWindowPatchSchema, cliUsageSpendPatchSchema, cliUsageCreditsPatchSchema;
|
|
22965
22974
|
var init_cli_usage = __esm({
|
|
22966
22975
|
"../shared/src/cli-usage.ts"() {
|
|
22967
22976
|
"use strict";
|
|
@@ -22969,23 +22978,11 @@ var init_cli_usage = __esm({
|
|
|
22969
22978
|
usagePercentSchema = external_exports.number().min(0).max(100);
|
|
22970
22979
|
usageTimestampSchema = external_exports.iso.datetime();
|
|
22971
22980
|
usageAmountSchema = external_exports.string().min(1);
|
|
22972
|
-
usageObservationShape = {
|
|
22973
|
-
observedAt: usageTimestampSchema,
|
|
22974
|
-
receivedAt: usageTimestampSchema,
|
|
22975
|
-
sourceId: external_exports.string().min(1),
|
|
22976
|
-
sequence: external_exports.number().int().nonnegative()
|
|
22977
|
-
};
|
|
22978
22981
|
cliUsageWindowPatchSchema = external_exports.object({
|
|
22979
22982
|
usedPercent: usagePercentSchema.nullable().optional(),
|
|
22980
22983
|
windowMinutes: external_exports.number().positive().nullable().optional(),
|
|
22981
22984
|
resetsAt: usageTimestampSchema.nullable().optional()
|
|
22982
22985
|
});
|
|
22983
|
-
cliUsageWindowSchema = external_exports.object({
|
|
22984
|
-
usedPercent: usagePercentSchema.optional(),
|
|
22985
|
-
windowMinutes: external_exports.number().positive().optional(),
|
|
22986
|
-
resetsAt: usageTimestampSchema.optional(),
|
|
22987
|
-
...usageObservationShape
|
|
22988
|
-
});
|
|
22989
22986
|
cliUsageSpendPatchSchema = external_exports.object({
|
|
22990
22987
|
reached: external_exports.boolean(),
|
|
22991
22988
|
limit: usageAmountSchema.nullable().optional(),
|
|
@@ -22994,36 +22991,11 @@ var init_cli_usage = __esm({
|
|
|
22994
22991
|
usedPercent: usagePercentSchema.nullable().optional(),
|
|
22995
22992
|
resetsAt: usageTimestampSchema.nullable().optional()
|
|
22996
22993
|
});
|
|
22997
|
-
cliUsageSpendSchema = external_exports.object({
|
|
22998
|
-
reached: external_exports.boolean(),
|
|
22999
|
-
limit: usageAmountSchema.optional(),
|
|
23000
|
-
used: usageAmountSchema.optional(),
|
|
23001
|
-
remaining: usageAmountSchema.optional(),
|
|
23002
|
-
usedPercent: usagePercentSchema.optional(),
|
|
23003
|
-
resetsAt: usageTimestampSchema.optional(),
|
|
23004
|
-
...usageObservationShape
|
|
23005
|
-
});
|
|
23006
22994
|
cliUsageCreditsPatchSchema = external_exports.object({
|
|
23007
22995
|
hasCredits: external_exports.boolean(),
|
|
23008
22996
|
unlimited: external_exports.boolean(),
|
|
23009
22997
|
balance: usageAmountSchema.nullable().optional()
|
|
23010
22998
|
});
|
|
23011
|
-
cliUsageCreditsSchema = external_exports.object({
|
|
23012
|
-
hasCredits: external_exports.boolean(),
|
|
23013
|
-
unlimited: external_exports.boolean(),
|
|
23014
|
-
balance: usageAmountSchema.optional(),
|
|
23015
|
-
...usageObservationShape
|
|
23016
|
-
});
|
|
23017
|
-
cliUsageBucketSchema = external_exports.object({
|
|
23018
|
-
primary: cliUsageWindowSchema.optional(),
|
|
23019
|
-
secondary: cliUsageWindowSchema.optional(),
|
|
23020
|
-
spend: cliUsageSpendSchema.optional(),
|
|
23021
|
-
credits: cliUsageCreditsSchema.optional(),
|
|
23022
|
-
planType: external_exports.string().min(1).nullable().optional()
|
|
23023
|
-
});
|
|
23024
|
-
cliUsageSnapshotSchema = external_exports.object({
|
|
23025
|
-
buckets: external_exports.record(external_exports.string().min(1), cliUsageBucketSchema)
|
|
23026
|
-
});
|
|
23027
22999
|
}
|
|
23028
23000
|
});
|
|
23029
23001
|
|
|
@@ -23043,7 +23015,7 @@ var init_agent_runs_contracts = __esm({
|
|
|
23043
23015
|
});
|
|
23044
23016
|
|
|
23045
23017
|
// ../shared/src/runtime-v2/run-log.ts
|
|
23046
|
-
var RUN_LOG_PROTOCOL, RUN_LOG_PROTOCOL_HEADER, RUN_STEERS_MAX, runAcceptedUpdateSchema, runStartedUpdateSchema,
|
|
23018
|
+
var RUN_LOG_PROTOCOL, RUN_LOG_PROTOCOL_HEADER, RUN_STEERS_MAX, runAcceptedUpdateSchema, runStartedUpdateSchema, runRateLimitsShape, runCliRateLimitsUpdateSchema, runWorkspaceRelocatedUpdateSchema, gitShaSchema2, gitRefNameSchema, runGitRepositoryStateSchema, RUN_GIT_STATE_MAX_REPOSITORIES, runGitStateUpdateSchema, epochMsSchema, durationMsSchema, runSessionStartSchema, runMachineStartSchema, runTimingUpdateSchema, tokenCountSchema, runFirstCallUsageSchema, runModelTimingUpdateSchema, runOutcomeSchema, runRejectionCodeSchema, runEndedUpdateSchema, runLifecycleUpdateSchema, runLogRecordSchema;
|
|
23047
23019
|
var init_run_log = __esm({
|
|
23048
23020
|
"../shared/src/runtime-v2/run-log.ts"() {
|
|
23049
23021
|
"use strict";
|
|
@@ -23073,8 +23045,7 @@ var init_run_log = __esm({
|
|
|
23073
23045
|
providerSessionId: external_exports.string().min(1).optional(),
|
|
23074
23046
|
pid: external_exports.number().int().positive().optional()
|
|
23075
23047
|
});
|
|
23076
|
-
|
|
23077
|
-
sessionUpdate: external_exports.literal("_alan/codex.rate_limits"),
|
|
23048
|
+
runRateLimitsShape = {
|
|
23078
23049
|
limitId: external_exports.string().min(1),
|
|
23079
23050
|
primary: cliUsageWindowPatchSchema.nullable().optional(),
|
|
23080
23051
|
secondary: cliUsageWindowPatchSchema.nullable().optional(),
|
|
@@ -23084,7 +23055,11 @@ var init_run_log = __esm({
|
|
|
23084
23055
|
observedAt: external_exports.iso.datetime(),
|
|
23085
23056
|
sourceId: external_exports.string().min(1),
|
|
23086
23057
|
sequence: external_exports.number().int().nonnegative()
|
|
23087
|
-
}
|
|
23058
|
+
};
|
|
23059
|
+
runCliRateLimitsUpdateSchema = external_exports.discriminatedUnion("sessionUpdate", [
|
|
23060
|
+
external_exports.object({ sessionUpdate: external_exports.literal("_alan/cli.rate_limits"), ...runRateLimitsShape }),
|
|
23061
|
+
external_exports.object({ sessionUpdate: external_exports.literal("_alan/codex.rate_limits"), ...runRateLimitsShape })
|
|
23062
|
+
]);
|
|
23088
23063
|
runWorkspaceRelocatedUpdateSchema = external_exports.object({
|
|
23089
23064
|
sessionUpdate: external_exports.literal("_alan/run.workspace_relocated"),
|
|
23090
23065
|
previousPath: external_exports.string().min(1).max(4096),
|
|
@@ -23110,7 +23085,20 @@ var init_run_log = __esm({
|
|
|
23110
23085
|
epochMsSchema = external_exports.number().int().nonnegative();
|
|
23111
23086
|
durationMsSchema = external_exports.number().int().nonnegative();
|
|
23112
23087
|
runSessionStartSchema = external_exports.enum(["reused", "opened", "respawned"]);
|
|
23088
|
+
runMachineStartSchema = external_exports.object({
|
|
23089
|
+
queueMs: durationMsSchema,
|
|
23090
|
+
suspendWaitMs: durationMsSchema,
|
|
23091
|
+
retireWaitMs: durationMsSchema,
|
|
23092
|
+
legacySettleMs: durationMsSchema,
|
|
23093
|
+
claimMs: durationMsSchema,
|
|
23094
|
+
openMs: durationMsSchema,
|
|
23095
|
+
handOverMs: durationMsSchema,
|
|
23096
|
+
turnReadyMs: durationMsSchema,
|
|
23097
|
+
skillsMs: durationMsSchema,
|
|
23098
|
+
localSetupMs: durationMsSchema
|
|
23099
|
+
});
|
|
23113
23100
|
runTimingUpdateSchema = external_exports.object({
|
|
23101
|
+
machineStart: runMachineStartSchema.optional(),
|
|
23114
23102
|
sessionUpdate: external_exports.literal("_alan/run.timing"),
|
|
23115
23103
|
session: runSessionStartSchema,
|
|
23116
23104
|
acceptedAt: epochMsSchema,
|
|
@@ -23122,10 +23110,19 @@ var init_run_log = __esm({
|
|
|
23122
23110
|
engineOpenMs: external_exports.record(external_exports.string().min(1).max(40), durationMsSchema).optional(),
|
|
23123
23111
|
turnSentAt: epochMsSchema
|
|
23124
23112
|
});
|
|
23113
|
+
tokenCountSchema = external_exports.number().int().nonnegative();
|
|
23114
|
+
runFirstCallUsageSchema = external_exports.object({
|
|
23115
|
+
inputTokens: tokenCountSchema,
|
|
23116
|
+
cacheReadTokens: tokenCountSchema,
|
|
23117
|
+
cacheWriteTokens: tokenCountSchema
|
|
23118
|
+
});
|
|
23125
23119
|
runModelTimingUpdateSchema = external_exports.object({
|
|
23126
23120
|
sessionUpdate: external_exports.literal("_alan/run.model_timing"),
|
|
23127
|
-
promptToRequestMs: durationMsSchema,
|
|
23128
|
-
requestToResponseMs: durationMsSchema
|
|
23121
|
+
promptToRequestMs: durationMsSchema.optional(),
|
|
23122
|
+
requestToResponseMs: durationMsSchema.optional(),
|
|
23123
|
+
promptToResponseMs: durationMsSchema.optional(),
|
|
23124
|
+
mcpRefreshMs: durationMsSchema.optional(),
|
|
23125
|
+
firstCallUsage: runFirstCallUsageSchema.optional()
|
|
23129
23126
|
});
|
|
23130
23127
|
runOutcomeSchema = external_exports.enum(agentRunOutcomeEnum);
|
|
23131
23128
|
runRejectionCodeSchema = external_exports.enum([
|
|
@@ -24030,7 +24027,7 @@ var init_session_reads = __esm({
|
|
|
24030
24027
|
});
|
|
24031
24028
|
|
|
24032
24029
|
// ../shared/src/runtime-v2/holder-protocol.ts
|
|
24033
|
-
var HOLDER_PROTOCOL, sessionPreparationFailureSchema, observation, sessionPreparationStatusSchema, sessionReadResponseSchema, prepareSessionRequestSchema, holderAbortOutcomeSchema, holderRequestSchema, holderStateSchema, holderSessionFactsSchema, holderMessageSchema, holderLaunchSchema, holderStatusSchema;
|
|
24030
|
+
var HOLDER_PROTOCOL, turnReleaseSchema, sessionPreparationFailureSchema, observation, sessionPreparationStatusSchema, sessionReadResponseSchema, prepareSessionRequestSchema, holderAbortOutcomeSchema, holderRequestSchema, holderStateSchema, holderSessionFactsSchema, holderMessageSchema, holderLaunchSchema, holderStatusSchema;
|
|
24034
24031
|
var init_holder_protocol = __esm({
|
|
24035
24032
|
"../shared/src/runtime-v2/holder-protocol.ts"() {
|
|
24036
24033
|
"use strict";
|
|
@@ -24043,7 +24040,15 @@ var init_holder_protocol = __esm({
|
|
|
24043
24040
|
init_run_log();
|
|
24044
24041
|
init_session_preparation();
|
|
24045
24042
|
init_session_reads();
|
|
24046
|
-
HOLDER_PROTOCOL =
|
|
24043
|
+
HOLDER_PROTOCOL = 6;
|
|
24044
|
+
turnReleaseSchema = external_exports.discriminatedUnion("kind", [
|
|
24045
|
+
external_exports.object({
|
|
24046
|
+
kind: external_exports.literal("ready"),
|
|
24047
|
+
inputs: runStartInputsSchema.optional(),
|
|
24048
|
+
machineStart: runMachineStartSchema.optional()
|
|
24049
|
+
}),
|
|
24050
|
+
external_exports.object({ kind: external_exports.literal("failed"), message: external_exports.string().min(1) })
|
|
24051
|
+
]);
|
|
24047
24052
|
sessionPreparationFailureSchema = external_exports.enum([
|
|
24048
24053
|
"unsupported",
|
|
24049
24054
|
"upgrade_required",
|
|
@@ -24115,8 +24120,13 @@ var init_holder_protocol = __esm({
|
|
|
24115
24120
|
external_exports.object({
|
|
24116
24121
|
type: external_exports.literal("start_turn"),
|
|
24117
24122
|
id: external_exports.string().min(1),
|
|
24118
|
-
spec: runSpecSchema
|
|
24119
|
-
|
|
24123
|
+
spec: runSpecSchema
|
|
24124
|
+
}),
|
|
24125
|
+
external_exports.object({
|
|
24126
|
+
type: external_exports.literal("release_turn"),
|
|
24127
|
+
id: external_exports.string().min(1),
|
|
24128
|
+
runId: runIdSchema,
|
|
24129
|
+
release: turnReleaseSchema
|
|
24120
24130
|
}),
|
|
24121
24131
|
external_exports.object({
|
|
24122
24132
|
type: external_exports.literal("abort"),
|
|
@@ -24291,6 +24301,16 @@ var init_mcp = __esm({
|
|
|
24291
24301
|
}
|
|
24292
24302
|
});
|
|
24293
24303
|
|
|
24304
|
+
// ../shared/src/runtime-v2/model-gateway.ts
|
|
24305
|
+
var MODEL_GATEWAY_TOKEN_FILE_ENV, MODEL_GATEWAY_TOKEN_COMMAND;
|
|
24306
|
+
var init_model_gateway = __esm({
|
|
24307
|
+
"../shared/src/runtime-v2/model-gateway.ts"() {
|
|
24308
|
+
"use strict";
|
|
24309
|
+
MODEL_GATEWAY_TOKEN_FILE_ENV = "ALAN_MODEL_GATEWAY_TOKEN_FILE";
|
|
24310
|
+
MODEL_GATEWAY_TOKEN_COMMAND = `cat "$${MODEL_GATEWAY_TOKEN_FILE_ENV}"`;
|
|
24311
|
+
}
|
|
24312
|
+
});
|
|
24313
|
+
|
|
24294
24314
|
// ../shared/src/runtime-v2/run-log-upload.ts
|
|
24295
24315
|
function runLogUploadPath(conversationId) {
|
|
24296
24316
|
return `/public/conversations/${encodeURIComponent(conversationId)}/transcript`;
|
|
@@ -24306,7 +24326,8 @@ var init_run_log_upload = __esm({
|
|
|
24306
24326
|
offset: "x-alan-offset",
|
|
24307
24327
|
revision: "x-alan-revision",
|
|
24308
24328
|
sha256: "x-alan-sha256",
|
|
24309
|
-
final: "x-alan-final"
|
|
24329
|
+
final: "x-alan-final",
|
|
24330
|
+
sentAt: "x-alan-sent-at"
|
|
24310
24331
|
};
|
|
24311
24332
|
offsetSchema = external_exports.number().int().nonnegative();
|
|
24312
24333
|
runLogUploadReceiptSchema = external_exports.object({
|
|
@@ -24594,6 +24615,7 @@ var init_runtime_v2 = __esm({
|
|
|
24594
24615
|
init_machine_identity();
|
|
24595
24616
|
init_machine_local_sessions();
|
|
24596
24617
|
init_mcp();
|
|
24618
|
+
init_model_gateway();
|
|
24597
24619
|
init_pending_run();
|
|
24598
24620
|
init_run_context();
|
|
24599
24621
|
init_run_log();
|
|
@@ -25255,7 +25277,8 @@ async function chunkUpload(headers, bytes) {
|
|
|
25255
25277
|
...headers,
|
|
25256
25278
|
...encoded.headers,
|
|
25257
25279
|
"content-type": "application/octet-stream",
|
|
25258
|
-
[RUN_LOG_UPLOAD_HEADERS.sha256]: (0, import_node_crypto.createHash)("sha256").update(bytes).digest("hex")
|
|
25280
|
+
[RUN_LOG_UPLOAD_HEADERS.sha256]: (0, import_node_crypto.createHash)("sha256").update(bytes).digest("hex"),
|
|
25281
|
+
[RUN_LOG_UPLOAD_HEADERS.sentAt]: String(Date.now())
|
|
25259
25282
|
},
|
|
25260
25283
|
body: encoded.body
|
|
25261
25284
|
};
|
|
@@ -199,13 +199,12 @@ A team VM is a computer that everyone in the team can run sessions on. VM means
|
|
|
199
199
|
|
|
200
200
|
> **Warning:** Anyone in the team can run agent commands on a team VM. Do not use your personal laptop. Use a computer that exists only for this work.
|
|
201
201
|
|
|
202
|
-
**Use Alan's tools from CLIs you start yourself (
|
|
202
|
+
**Use Alan's tools from CLIs you start yourself (Alan MCP)**
|
|
203
203
|
|
|
204
204
|
This is only for coding agents that you start yourself in a terminal. Sessions that you start in Alan do not need it.
|
|
205
205
|
|
|
206
|
-
1. In your computer's details, choose the **
|
|
206
|
+
1. In your computer's details, choose the **Alan MCP** tab.
|
|
207
207
|
2. Under **Alan MCP**, choose **Enable**. Alan adds its tools to the coding agents on this computer, such as Claude Code, Codex and Cursor.
|
|
208
|
-
3. Optional: under **Session ingestion**, turn on the switch for Claude Code or Codex. Alan then copies those terminal sessions into Alan after each reply.
|
|
209
208
|
|
|
210
209
|
## Next
|
|
211
210
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: alan-test-feature
|
|
3
|
-
version: 3.
|
|
4
|
-
description:
|
|
3
|
+
version: 3.4.0
|
|
4
|
+
description: 'This skill should be used when the user asks to "test this change", "test this PR", "QA this feature", "verify this works in the browser", or "test this desktop app" on any repository in an Alan cloud sandbox. It works out the surfaces from the diff, writes exploratory charters, runs them through the web, desktop, or mobile driver with sub-agents when available, judges the result, and always creates a free-flow test report with published evidence inline. Do not use for authoring Playwright specs or for pure unit-test work.'
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Test a change the way a first-day QA engineer would
|
|
@@ -16,14 +16,14 @@ would explain the run to a teammate.
|
|
|
16
16
|
|
|
17
17
|
This skill is the orchestrator. It decides; other skills operate:
|
|
18
18
|
|
|
19
|
-
| Job
|
|
20
|
-
|
|
|
21
|
-
| Recon, risk ranking, charters, routing, final status, the report | this skill
|
|
22
|
-
| Browser pages, responsive layouts, PWAs
|
|
23
|
-
| Desktop apps, including native ones with no CDP endpoint
|
|
24
|
-
| Phone and tablet targets, including native-app gaps
|
|
25
|
-
| Choosing, captioning, and publishing evidence
|
|
26
|
-
| Persisting the report
|
|
19
|
+
| Job | Owner |
|
|
20
|
+
| ---------------------------------------------------------------- | -------------------- |
|
|
21
|
+
| Recon, risk ranking, charters, routing, final status, the report | this skill |
|
|
22
|
+
| Browser pages, responsive layouts, PWAs | `/alan-test-web` |
|
|
23
|
+
| Desktop apps, including native ones with no CDP endpoint | `/alan-test-desktop` |
|
|
24
|
+
| Phone and tablet targets, including native-app gaps | `/alan-test-mobile` |
|
|
25
|
+
| Choosing, captioning, and publishing evidence | `/alan-walkthrough` |
|
|
26
|
+
| Persisting the report | `create_test_report` |
|
|
27
27
|
|
|
28
28
|
Drivers return notes and sandbox capture paths; they never publish evidence or
|
|
29
29
|
create reports. Only this skill assigns the overall status and calls
|
|
@@ -107,8 +107,8 @@ parent session through the web driver and save state for the charters.
|
|
|
107
107
|
|
|
108
108
|
## Step 3 · Write charters, not checklists
|
|
109
109
|
|
|
110
|
-
A charter is one mission with a time box ("Explore
|
|
111
|
-
|
|
110
|
+
A charter is one mission with a time box ("Explore _X_ with _Y_ to discover
|
|
111
|
+
_Z_") plus the relevant risks with a one-line oracle each. Choose enough charters
|
|
112
112
|
to meet the requested coverage, ordered by risk; a smoke run may need only one.
|
|
113
113
|
Keep each mission bounded. The agent running it may follow whatever looks
|
|
114
114
|
wrong, and should.
|
|
@@ -179,7 +179,11 @@ share media. Leave the other captures in the report.
|
|
|
179
179
|
|
|
180
180
|
Call `create_test_report` with `teamId`, `title`, a one- or two-sentence
|
|
181
181
|
`summary`, `status`, `branch`, `baseBranch`, `appUrl`, `commits`,
|
|
182
|
-
`changedFiles` when known, and the report in `content`.
|
|
182
|
+
`changedFiles` when known, and the report in `content`. Include the
|
|
183
|
+
walkthrough's `smartPlayback` entries when explicit idle-range sidecars are
|
|
184
|
+
present. These reference published `capture:` refs and enable opt-in 4×
|
|
185
|
+
playback only during intentional inactivity; never infer or add ranges for
|
|
186
|
+
application loading, timeouts, actions, or assertions. The owning task,
|
|
183
187
|
workflow, and conversation come from the session.
|
|
184
188
|
|
|
185
189
|
The body is free-flow Markdown for the person who decides what happens next,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: alan-test-web
|
|
3
|
-
version: 1.
|
|
3
|
+
version: 1.6.0
|
|
4
4
|
description: "This skill should be used when a test charter must be run in a real browser: a web page or route, a responsive or mobile-width layout, or a PWA. It drives agent-browser on the streamed Alan cloud desktop, returns observations, findings, gaps, and sandbox capture paths. Do not use it to choose coverage, publish evidence, or write the test report; alan-test-feature does that."
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -66,9 +66,38 @@ every observation. It is not native-device validation.
|
|
|
66
66
|
- Set and verify the viewport before recording; keep it stable for the flow.
|
|
67
67
|
- Save driver captures with `.local-only` before the extension. Alan skips
|
|
68
68
|
automatic chat attachment for those files; the caller selects what to publish.
|
|
69
|
-
- Start `record start <evidence-dir>/<charter-slug>.local-only.webm` before
|
|
70
|
-
action and stop it at the end, including on failure.
|
|
71
|
-
|
|
69
|
+
- Start `record start <evidence-dir>/<charter-slug>.local-only.webm --cursor` before
|
|
70
|
+
the first action and stop it at the end, including on failure. The pointer must
|
|
71
|
+
be visible in the finished recording. Keep one recording under two minutes;
|
|
72
|
+
split long charters.
|
|
73
|
+
- When a flow needs explanation, use `scripts/record-walkthrough.mjs` from this
|
|
74
|
+
skill's directory instead of bare `record start`. It keeps the raw take, adds
|
|
75
|
+
the cursor, and renders an annotated MP4 plus a manifest and WebVTT chapters:
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
node <this-skill-dir>/scripts/record-walkthrough.mjs start <evidence-dir>/<charter-slug>.local-only.raw.webm --session <charter-slug>
|
|
79
|
+
node <this-skill-dir>/scripts/record-walkthrough.mjs section <evidence-dir>/<charter-slug>.local-only.raw.webm "Open an existing task"
|
|
80
|
+
node <this-skill-dir>/scripts/record-walkthrough.mjs note <evidence-dir>/<charter-slug>.local-only.raw.webm "Priority remains High after reload" --selector "[data-testid=task-priority]"
|
|
81
|
+
node <this-skill-dir>/scripts/record-walkthrough.mjs idle <evidence-dir>/<charter-slug>.local-only.raw.webm start "Between independent checks"
|
|
82
|
+
node <this-skill-dir>/scripts/record-walkthrough.mjs idle <evidence-dir>/<charter-slug>.local-only.raw.webm stop
|
|
83
|
+
node <this-skill-dir>/scripts/record-walkthrough.mjs stop <evidence-dir>/<charter-slug>.local-only.raw.webm
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Use two to five intent-level sections, not one per click. Add a note only when
|
|
87
|
+
the viewer could miss the point; keep it short and never hide the decisive
|
|
88
|
+
action or outcome. `stop` prints the chapter list for the caller's notes and
|
|
89
|
+
report. If annotation rendering fails, keep the raw recording, make one bounded
|
|
90
|
+
`stop` retry (it does not stop the browser twice), and return the raw take plus
|
|
91
|
+
the rendering gap if it still fails. The annotated MP4 is derived evidence;
|
|
92
|
+
the raw take remains available for inspection.
|
|
93
|
+
|
|
94
|
+
Bracket only intentional inactivity with `idle start <label>` and `idle stop`.
|
|
95
|
+
Never mark application loading, network waits, timeouts, actions, or assertions
|
|
96
|
+
as idle: their duration is evidence. `stop` writes `<annotated>.playback.json`
|
|
97
|
+
with the explicit ranges; both video files stay real-time. The report player
|
|
98
|
+
offers opt-in 4× playback inside those ranges without altering the source.
|
|
99
|
+
Return this sidecar path with the recording when it contains idle ranges.
|
|
100
|
+
|
|
72
101
|
- Re-observe with `snapshot --delta`: the first observation returns the full
|
|
73
102
|
tree and later ones return only what changed. Use `--full` to reset the
|
|
74
103
|
baseline after a navigation, a viewport change, or a ref you no longer trust.
|
|
@@ -105,7 +134,7 @@ Return only this, as a short note:
|
|
|
105
134
|
exact reproduction from a known state, times reproduced out of attempts,
|
|
106
135
|
confidence, and the sandbox capture paths that support it;
|
|
107
136
|
- **unverified**: what you could not reach and why;
|
|
108
|
-
- **capture paths**: the recording and screenshots you took, with before/after pairs and their numbered change list.
|
|
137
|
+
- **capture paths**: the recording and screenshots you took, with before/after pairs and their numbered change list. For an annotated walkthrough, include the annotated MP4, raw take, printed chapter list, and any smart-playback sidecar with explicit idle ranges.
|
|
109
138
|
|
|
110
139
|
## Cleanup
|
|
111
140
|
|