Loading...
Loading...
Compare original and translation side by side
agent-readinessverifyreviewagent-readinessverifyreviewreviewverifydocsreviewverifydocspnpm devcargo rundocker compose upcurl http://127.0.0.1:3000/healthpnpm exec playwright testpnpm devcargo rundocker compose upcurl http://127.0.0.1:3000/healthpnpm exec playwright testpasspartialfailbootable: partial — `pnpm dev` starts the app after manual env setup
testable: fail — only mocked tests under test/
observable: partial — health endpoint exists, structured logs missing
verifiable: fail — no stable smoke or interaction script
overall grade: Dpasspartialfailbootable: partial — `pnpm dev` starts the app after manual env setup
testable: fail — only mocked tests under test/
observable: partial — health endpoint exists, structured logs missing
verifiable: fail — no stable smoke or interaction script
overall grade: DAGENTS.mdCLAUDE.mdAGENTS.md#!/usr/bin/env bash
set -euo pipefail
<your-boot-command> &
APP_PID=$!
for i in $(seq 1 30); do
curl -sf http://localhost:${PORT:-3000}/health > /dev/null 2>&1 && break
sleep 1
done
curl -sf http://localhost:${PORT:-3000}/health > /dev/null 2>&1 || {
echo "ERROR: App failed to start"; kill $APP_PID 2>/dev/null; exit 1
}
echo "App is ready"curl -sf http://localhost:3000/health | jq . # HTTP service
./dist/my-cli --version # CLI tool
npx playwright test smoke.spec.ts # UI app#!/usr/bin/env bashAGENTS.mdAGENTS.mdCLAUDE.md#!/usr/bin/env bash
set -euo pipefail
<your-boot-command> &
APP_PID=$!
for i in $(seq 1 30); do
curl -sf http://localhost:${PORT:-3000}/health > /dev/null 2>&1 && break
sleep 1
done
curl -sf http://localhost:${PORT:-3000}/health > /dev/null 2>&1 || {
echo "ERROR: App failed to start"; kill $APP_PID 2>/dev/null; exit 1
}
echo "App is ready"curl -sf http://localhost:3000/health | jq . # HTTP service
./dist/my-cli --version # CLI tool
npx playwright test smoke.spec.ts # UI app#!/usr/bin/env bash
See [references/setup-patterns.md](references/setup-patterns.md) for e2e, observability, isolation, and containerized stack patterns.
关于e2e测试、可观测性、隔离机制和容器化架构模式,请参考[references/setup-patterns.md](references/setup-patterns.md)。verifyreviewdocsverifyreviewdocsreviewreviewverifyreviewdocsverifyreviewdocs