Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/readings-window # readings-window aien-dev/readings-window Brought by drakestapleton Unfinished: not checked yet There is no published receipt of a rebuild from its source yet. What a receipt is Get this repository Git over HTTPS `git clone --no-checkout https://interplane.io/projects/readings-window/repo.git readings-window && git -C readings-window checkout --detach 1f2f34702c2a5d454bbb5c907e42a09fd672afb8` Source archive of `1f2f34702c2a5d454bbb5c907e42a09fd672afb8` Download ZIP · tar.gz Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers README.md # readings-window A read-only, token-protected HTTPS window onto the Spark's GPU and CPU readings, served from the project's Raspberry Pi house server. This repository keeps its own part of Sovereign Intelligence (SI). sovereign-intelligence is the integration, release and install center, and where the signed Spark test runs. This window lets the people and agents working on AIEN see how the development machine is doing without logging in to it. Status (2026-10-18): running. The health endpoint answered with status ok when checked on 2026-10-17. The code was last changed on 2026-10-04 (the chat feed routes); the last change of any kind was a README correction on 2026-10-13. A small Rust service. `collect` fetches one JSON line of readings from the Spark over ssh (a timer on the Pi runs it every 15 seconds, see `NOTES.md`; the timer is not in this repository) and keeps 30 days of history. `serve` hands it out to anyone holding the bearer token. ## Endpoints - `GET /health`: no token needed. Returns `status`, `last_reading_age_s` and an `exposure` field (`ok|changed|unknown`). - `GET /v1/readings/current`, `GET /v1/readings/history?hours=N` (default 24, max 720). - `GET /v1/status`, `GET /v1/results`, `GET /v1/exposure`. - `GET /v1/chat` returns `{"agents":["claude","codex","opencode","gemini","muse"]}` so a client can discover the feeds. - `GET /v1/chat/` (plain text) and `GET /v1/chat/.jsonl` (common JSON records, `application/x-ndjson`) for exactly those five agents; any other name is 404. `?lines=N` gives the last N lines (default 500, max 50000) of the rolling window of the agent archive. `?all=1` gives the whole rolling window (plain) or the complete record history, all dates in order (jsonl). Proxied live from the Spark on every request (nothing is written to the Pi's disk). 502 `{"error":"spark unreachable"}` if the Spark cannot be reached or the remote command fails (for example the archive file is missing). - All `/v1/*` routes need `Authorization: Bearer `. The token and the TLS key live on the Pi only (`/etc/readings-window/`), never in this repository. ## Commands - `readings-window collect`: fetch one reading from the Spark, append it to the history file and drop entries older than 30 days. It also refreshes the cached copies of the Spark's status and results files that `/v1/status` and `/v1/results` serve. - `readings-window serve`: HTTPS server on port 9443. Spark SSH targets are local configuration, not source constants. Prepare `/etc/readings-window/spark.conf` using `spark.conf.example` and the migration procedure in `NOTES.md` before deploying a build that uses it. Keep real targets private. The current services run as root and use a root-owned mode-600 file. `/health` only reads local state and does not prove Spark fetch readiness. The optional `identity=PATH` setting selects the hub-side SSH key for all targets (first nonempty value wins); without it OpenSSH uses the service user's SSH configuration/default identities. Preserve the previously used identity in private config before upgrading. Paths with spaces are literal values, not shell-quoted strings. `scripts/` holds the exposure watch: a 15-minute timer that scans my own public IP from inside the LAN (the router hairpin view, which is not the same as the internet view) and flags any change against an accepted baseline in `/etc/exposure-watch/baseline.json`. It also flags UPnP being on and the `hs` and `readings` DNS records not matching the public IP (set `EXPOSURE_DNS_HOSTS` to check other names). Operational notes, unit names and the deployment layout are in `NOTES.md`. Build: `cargo build --release`. No Python. License: AGPL-3.0-or-later (see LICENSE). ## Human-Directed Agentic Engineering Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria, and stopping points; agents implement, execute checks, diagnose failures, and revise within those boundaries. Human review retains responsibility for claims, acceptance, and release decisions. Deployment remains a separate maintainer action. For the documented method and a systems-software case study, see Gregory M. Kurtzer, [*Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.`23682548` ). ## For developers: proof and records The full record of this project. Words that are used only here are explained once: ID The project's permanent id on Interplane: the SHA-256 of its first signed record. This one is `git:3b265591029324636637e098ac8263fdcfbc198ff389039b5591eb76bbe7405d`. Its old id, kept only so that old links still work: `z2Jhza2V51dFcMFUhNiFcXHpE5Ewy`. Owner The key that signs every record of the project. This forge lists the project under drakestapleton; its key is `SHA256:qg3vxoE9ul3Cgk5heosQvPmO9pqIJNsdcsGJ2cHghTs`. Refs and HEAD Refs are the names that point at versions: branches and tags. HEAD is the version a fresh copy starts from, the newest commit of the default branch. Patch A proposed change, reviewed before it is merged. This forge does not show proposed changes from its own store yet. The list is under Proposed changes . Receipt A public record that someone checked a claim, with the fingerprint of its evidence file. The state at the top of this page is read from the list at interplane.io/receipts . This project has no receipt in that list yet. Clones and fetches over HTTPS: 0 by visitors (git smart-HTTP `info/refs` requests answered 200 in the front-door download log; our own addresses and bots left out; since 2026-11-08) · not measured `git-upload-pack` requests from all clients (the source of this count is retired) Downloads: 2 by visitors (2 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07) commit `1f2f34702c2a5d454bbb5c907e42a09fd672afb8` Branches Tags History `1f2f347` exposure-watch baseline test runs with cargo test and mutates the real script Drake Stapleton committed 2026-11-15 ``` .github/ scripts/ src/ .crumb 1879 .gitignore 32 AGENTS.md 6522 AUDIT_SCOPE.md 6494 Cargo.lock 15670 Cargo.toml 470 LICENSE 34523 NOTES.md 11964 README.md 4446 SECURITY.md 3103 spark.conf.example 502 ``` Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON