Repository navigation
Field test: app matrix templates, Connect command log, and findings output - #515
Conversation
…utput Adds static HTML, CDN script, Eleventy and Flask templates with per-template profiles (shell file, checks that cannot apply, whether Connect should be installed). Not-applicable checks are left out of the score, and an unsupported app is scored on being left unchanged. Each attempt now records the Connect commands the agent ran, with output and exit code, and writes findings.jsonl from failed checks and the agent's reported friction. The agent's environment no longer carries host identity, and each attempt has its own TMPDIR. Adds a one-line prompt variant. Amp-Thread-ID: https://ampcode.com/threads/T-01a2094e-3865-75b0-b55f-a3773c5b9988 Co-authored-by: Elliot Taylor <elliot.t@patchstack.com>
|
🎯 Excellent quality (85%) — Adds a template matrix, command log, and findings output with focused tests and clear documentation. 📦 Large, but within your team's limit — 395 lines changed, under your team's 400-line limit. 🤖 Written by Amp — going by its own attribution. Unknown whether a person read it; agents can report that with the 🟠 Elevated risk — 274 lines of code, more than an AI review is trusted with (200). ✅ Reviewed — approved by @daniloradovic. 🩺 Coderbuds triage found nothing that should stop this merge, but worth a look: filters host identity env vars without any test coverage in |
The log ID used date +%s%N, which has no nanoseconds on macOS, so two commands in the same second overwrote each other's records. The ID is now the time in milliseconds from node plus the wrapper's process ID. Adds a test of the wrapper's pass-through and recording. Amp-Thread-ID: https://ampcode.com/threads/T-01a2094e-3865-75b0-b55f-a3773c5b9988 Co-authored-by: Elliot Taylor <elliot.t@patchstack.com>
|
/review |
Extends the field-test harness so it can run an agent through the install on a wider range of apps, and report what went wrong in a form that can be compared across runs.
What changes
static-html(nopackage.json),cdn-script(browser JavaScript from a CDN, no package manager),eleventy-npm(JavaScript only at build time; the layout is_includes/base.njk) andflask(Python, not JavaScript).TEMPLATE_INFOnames:–and left out of the total;installAvoidedcheck: only for apps Connect does not support. It passes when the agent leaves the app unchanged and provisions no site.npxwrapper first on the agent's PATH records each Connect command the agent runs, with its output and exit code, undercli/and incli-commands.json. Commands that don't mention Connect go straight to the realnpx.findings.jsonlper attempt: one entry per failed applicable check, plus one per non-empty HESITATIONS or UX FRICTION section of the agent's report, keyed bysignatureso runs can be merged.field-test/prompts/one-liner.txt.prompt.txtis unchanged.AMP_*, variables containingEMAIL, Git author and committer). Agents read their environment while deciding whether to trust an install, and an email there tells them they are being tested.TMPDIR, so cells can run side by side.Verification
npm test: all tests pass, including new cases for:installAvoided;findings.jsonloutput.stub-compliant.mjs) on every template. Onlovable-bunit scores the same before and after this change.cli-commands.jsonandfindings.jsonl.