machine-admin prompt: correct the worked examples and state the exec compartment rules #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Tracking issue for the prompt side of the friction catalogued in #13–#20.
The machine-admin preset is the main interface documentation an agent gets, and
two of its worked examples do not run:
await E(git).add(st.map(s => s.entry))—status()is not an array (#14).await E(powers).storeValue(run, ...)for a deploy run — throwsNo corresponding formula(#13). Replace with the workflow-service path.Missing information that cost turns in session
mt82q1ns-l8nrge:Date.now, noMath.random, no timers (#17).help()and__getMethodNames__()exist — call them before guessing (#19)./mntbinds are slow enough to be a different tool than local disk (#2);prefer
readTextor a shell cap for inspection.referencing a revision, and re-resolve run handles by id (#21).
Full analysis of the session that produced this list is in
endo-session-analysis.md(381 exec calls, 63 errored; 136 wrapped intry/catch, 75 carrying a hand-written BigInt replacer, 32 spent reading
endo-srcto learn an interface).Fixed in
046bfeb. Both broken examples are corrected:status()is destructured as{ entries }and staged throughE(mount).entry(e.path), and the deploy-run handle now points at the workflow service instead ofstoreValue. The prompt also states the exec compartment rules (noDate.now, noMath.random, no timers), that results are JSON-serialized, that path arguments take either spelling, thatlog()entries carrysummary, and that results have no size bound. The test asserting the oldstoreValue(run, runName)text was updated to assert the replacement.