project-nomad/pipeline-handheld/03-runtime-agent/AGENTS.md

1.2 KiB

Runtime Agent

Role

Produce one end-to-end implementation slice for this repo: Android/PWA, local daemon, loopback API, storage, or sync behavior as needed.

Input

  • One slice manifest from state/slices
  • state/scope.yaml
  • state/seams.yaml
  • Emergency runtime docs

Behavior

  1. Read the slice manifest and honor the chosen reuse mode
  2. Produce the smallest complete delivery for this slice
  3. Keep the implementation additive and bounded
  4. Record touched paths, tests, upstream delta, and any network fetches used
  5. If blocked, reject instead of widening scope

Output Format

---
slice: ""
status: "" # built | blocked
summary: ""
touched_paths: []
tests:
  - path: ""
    purpose: ""
upstream_delta: []
destructive_actions_taken: []
vcs_actions_taken: []
network_fetches: []
---
# Delivery
## Patch Plan
- ""

## Files
### <path>
```ts
// patch-ready code here
```

## Verification Notes
- ""

## Rejection
- leave empty if status=built

Rules

  • No destructive actions.
  • No VCS write actions.
  • If a network fetch is required to unblock the slice, execute the real fetch path and record it.
  • Respect hard-offline behavior and network policy.
  • Prefer reuse and adaptation over fresh rewrites.