- Rust 52%
- Clojure 40.7%
- Shell 2.8%
- CSS 2.4%
- Nix 1.7%
- Other 0.4%
The compiled dashboard still showed a smoke counter; the approved Usage page was only available in the offline preview. Run Replicant at `/dashboard` against the same-origin Usage v1 API. Validate each result and use a fresh generation for every request so stale results cannot replace the current selection. Keep exact counts and wire rank, and offer retry on current failures, including HTTP 429. The Docker-free launcher serves the compiled assets and the unchanged Ring endpoint with an injected fake reader. Passed: web and backend format, lint and tests; Usage v1 contract and release isolation check; Chromium loopback smoke with canonical JSON, exact counts, filter changes and error/retry. [Before: compiled smoke shell]( |
||
|---|---|---|
| backend | ||
| db | ||
| docs | ||
| nix | ||
| src | ||
| web | ||
| .gitignore | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Agent Dashboard
Private Rust Pi collector and owner-only ClickHouse migrator. The usage backend serves only synthetic data on loopback; the web shell is developed independently.
The owner reports automatic migration → idempotent state preparation → collection/timer startup is adopted. PER-2 server data acceptance remains open. Mac packaging is separate from dotfiles activation and live Mac acceptance.
- Collector commands and configuration
- Owner rollout and acceptance
- Schema, source mapping
- Owner-only migrations
- Private search/accounting examples
- Session-observations validation
- Historical decisions
Target: existing Atomic agent_analytics, ClickHouse 26.3.10.62 LTS.
Collectors have SELECT/INSERT only, never DDL, and expose no listener or SQL API.
Persisted v2/v3 message.role=user text is archived as recorded at each native
session/entry, even with unknown origin or inherited/rewritten content. This is
not proof of human authorship, original wording or actual provider-request input.
Equal text at different keys stays distinct. Non-user bodies and image content
remain excluded; v1 remains unsupported.
Text search combines local observations with retained legacy canonical archives, with raw latest privacy controls taking precedence, including invisible deletion markers. New canonical prompt writes stop; old pending payloads remain drainable subject to privacy checks. Usage facts are observed locally; only independently eligible, proven-owned events enter direct totals. Copies are attribution, unknown ownership is unresolved, and selected totals remain partial.
The independent archive has no automatic expiry or source-deletion propagation. Missing inputs never delete accepted records. No Pi/producer changes, parent-path traversal, Hermes, or live UI/backend deployment configuration is included.
Build
On x86_64 Linux:
nix develop
cargo fmt --all -- --check
cargo clippy --locked --lib --bins -- -D warnings
cargo build --locked --release --bin pi-collector --bin agent-dashboard-migrate
nix build .#packages.x86_64-linux.pi-collector --no-link
On Apple Silicon macOS:
nix develop
cargo fmt --all -- --check
cargo clippy --locked --lib --bin pi-collector -- -D warnings
cargo build --locked --release --bin pi-collector
nix build .#packages.aarch64-darwin.pi-collector --no-link
Inputs are locked. Builds do not initialize state, apply schema or start anything.
The Linux package contains both executables; the Mac package contains only pi-collector.
The dotfiles repo owns the Mac job; see Mac rollout requirements
and native validation. Exact-version isolated
SQL and live acceptance checks are separate from package checks.
Module/service and schedule defaults remain disabled. The owner retains normal
main-tracking app-lock update, review/merge, deployment and private data acceptance;
there is no manual readiness ceremony, state reset or grant workaround here.