refactor(agentos): build Pocket Pi as a device-native, agent-native runtime - #11
Merged
Merged
Conversation
Expose the checked-in Robinhood catalog through deferred lookup, keep Exa and Robinhood projections bounded, and return completed App Tool results without duplicate payloads. Reuse the embedded model worker and HTTPS client, refresh generated bundles, and align the AgentOS architecture documentation with the implemented runtime.
# Conflicts: # README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project scope
Pocket Pi is a complete Agent-native runtime for embedded and dedicated devices. The Agent is a resident system actor with a persistent workspace, native tools, schedules, Agent-native Apps, local state and a PocketJS UI—not a user-launched desktop application or a generic
pi-agent-coreSDK.ESP32-P4 is the first fully supported hardware target and current reference implementation.
hosts/esp32-p4-simis its macOS development and product-contract testing tool; it is not a desktop Pocket Pi product or a second hardware target.Summary
/workspace, with ordinary Apps defined by public Tools, private Data Actions and schedules, App-local SQLite state, and fixed PocketJS ViewsAudit cleanup and invariants
storage_statusdebug Tools together with their App UI, runtime branches, tests, and obsolete completion registryvTaskDelayfor native wait loops, and retain task-watchdog coverage for both idle tasksLatest validation
cargo test --workspace: 30 passedbun test apps/_shared/text.test.ts: 3 passedcargo clippy --workspace --all-targets -- -D warningscargo fmt --checkgit diff --checkCommit
64f951echanges documentation only; it does not modify runtime, firmware, App logic, configuration or generated bundles.Physical ESP32-P4 evidence
Earlier commits in this PR were flashed without erasing NVS or workspace. DeepSeek, Exa, and read-only Robinhood paths completed successfully on hardware, including Exa search/fetch/SQLite state and Robinhood MCP calls. No trading or account-changing operation was called.
The final storage cleanup, absolute-deadline propagation, and scheduler/WDT tightening passed the simulator tests and optimized ESP32-P4 cross-build, but were not reflashed in the final audit. This PR therefore does not claim fresh physical-board acceptance for commit
bceb641.