Skip to content

Let Pi Agent iterate installed Apps - #17

Open
siwei-yuan wants to merge 2 commits into
pocket-stack:mainfrom
siwei-yuan:codex/agent-app-iteration
Open

Let Pi Agent iterate installed Apps#17
siwei-yuan wants to merge 2 commits into
pocket-stack:mainfrom
siwei-yuan:codex/agent-app-iteration

Conversation

@siwei-yuan

@siwei-yuan siwei-yuan commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add the two Agent-facing lifecycle tools app.checkout and app.submit
  • keep editable source at apps/<id>/checkout without copying App data, temp files, or credentials
  • validate and rename submitted source into the existing Installer staging so HTTP, UART, and Agent updates share the same review UI and AppSupervisor::apply_app path
  • teach the firmware and simulator prompts the version/schema migration workflow and document the directory lifecycle
  • leave the physical Agent checkout/edit/submit/confirm E2E pending until the test board is available again

The implementation adds no installation record, release history, rollback state, or second updater. A successful submit consumes the checkout with a same-filesystem rename; physical dismissal discards the staged candidate.

Validation

  • cargo test --workspace
  • bun test apps/pi-agent/text.test.js
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo fmt --all -- --check
  • cargo xtask build esp32-p4 with the pinned PocketJS checkout

Note

Do not merge yet. Wait for the physical Agent checkout/edit/submit/confirm E2E.

@siwei-yuan
siwei-yuan force-pushed the codex/agent-app-iteration branch from e27ded1 to 103a128 Compare August 18, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant