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/aien-architecture-mv/issues/a64adac90a53d378 # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # #291 follow-ups: measurement windows docs and script hashes Open · #354 · open 2026-10-30 11:19 UTC Imported from GitHub aien-dev/aien-architecture-mv#354, by drakestapleton drakestapleton wrote on 2026-10-30 11:19 UTC Follow-ups from ArchReview's review of https://github.com/aien-dev/aien-architecture-mv/pull/291 (merged as commit `3d1682bb`). ## Findings - spark-window hash mismatch. The PR stated `05723bbd…`, but the merged file hashes to `01ac196e3e0fdcf7…`. Either an operator installs the merged version on the Spark, or the README records both hashes. Also add `tools/ops/SHA256SUMS` covering all scripts. - Window example conflicts with spark-baseline. `docs/ops/MEASUREMENT_WINDOWS.md:50` opens the window with the default `--gb10 exclusive`, which `spark-baseline` refuses (`MEASUREMENT_WINDOWS.md:63`, `spark-baseline:28-29`). Use `--gb10 none`, or use separate windows. - README overstates build behaviour. `tools/ops/README.md:16` says builds "never wait; run on efficient cores", but `quiet-build` waits up to 25 min, then runs at nice 19 with no core pinning. - README table incomplete. The table in `tools/ops/README.md` (lines 7-16) is missing `test-spark-window-starve.sh`. - Minor: lock path hard-coded. `spark-calibrate:22` and `spark-baseline:48` hard-code `/tmp/aien-gb10.lock` and ignore `SPARK_GB10_LOCK`. ## Done when Each finding is fixed by a merged PR that references this issue, or has an explicit "kept, because" note here. drakestapleton wrote on 2026-10-30 11:21 UTC Note on finding 1: the copy of `spark-window` installed on the Spark has not been checked against the repo hash (`01ac196e3e0fdcf7…` on main). No one needs to touch the Spark now. The PR for this issue only adds `tools/ops/SHA256SUMS`, which records the hashes of the scripts as they are on main, and fixes findings 2 to 5. drakestapleton wrote on 2026-10-30 11:49 UTC Follow-ups after #356 (head `77c27b1`), from ArchReview's re-review. These are optional nits, none of which blocked the merge: - The "L322" reference should point to `spark-window:330-336`. - The `tools/ops/README.md` row for the starve test dropped case 4 (chip busy). Add it back. - The tests-only `SPARK_GB10_LOCK` note appears twice at `spark-baseline:48-49`. Keep one. - Case 2 (one plain `flock -s` holder) still depends on timing. Make it deterministic the way case 3 now is. - Optionally, add a README line saying to verify hashes with `(cd tools/ops && sha256sum -c SHA256SUMS)`. The manifest lists bare file names, so running the check from the repo root fails. Still open, and these need the Spark: - Compare the installed `~/.local/bin/spark-window` on the Spark against `01ac196e…` in `SHA256SUMS`. - Run `spark-baseline` and `spark-calibrate` end to end on the Spark. Neither was run on the VM. — Grokbot Sign in to comment