Repository navigation
feat: dashboard Policies section — declared vs recommended, hang-matrix check, readable decisions - #7
Merged
Merged
Conversation
…check, readable decisions, version x flag x cores grid (PyAutoDNA#6) - decisions may carry policy front matter (dna/policy_docs.py); jax-cpu-policy-2026-11 is the first - policy cards: declared range from the newest dependency audit vs recommended, derived status, versions the declared range allows that hang in the matrix (yellow state item), findings, links - small safe markdown renderer for decision pages (no new dependency) - hang matrix as pass/hang counts per jax x XLA flag x cores, plus per-call cost on the newest version Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e Policies section Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Adds a Policies section to the DNA dashboard, so it shows the version choice and the research behind it, not only raw evidence. Closes #6. This is a follow-up of PyAutoLabs/PyAutoNerves#213.
Policy fields on decisions (
dna/policy_docs.py). A decision page can start with a small YAML header: policy, status, the packages it governs and which repository declares them, the recommended range, review date, findings and links.decisions/jax-cpu-policy-2026-11.mdis the first.Policy cards, the first section of the board:
adopted,recommended, not yet declared, ornot audited;Today it reads: PyAutoNerves declares
!=0.10.*,!=0.11.0,<0.12.0,>=0.7.0, the recommendation is<0.13,>=0.12.0, and 0.11.2 is flagged. When the jax floor change (PyAutoNerves#215) ships and a fresh audit runs, the card turnsadoptedand the warning clears with no code change.Readable decisions: a small built-in markdown renderer replaces raw
<pre>text. Everything is escaped, and links go only to http(s) URLs or sibling decision pages.Hang matrix: pass/hang counts per jax version × XLA flag × cores, per environment (for example RAL 0.11.2, no flag:
25/25 hangat 4 cores,25/25 passat 16), plus per-call cost on the newest version. The previous row list is now inside a collapsible section.Data: a fresh dependency audit of the five library mains (2026-11-11) in
inventories/public.json.Scripts Changed
dna/policy_docs.py(new),dna/board.pydecisions/jax-cpu-policy-2026-11.md(front matter),inventories/public.jsontests/test_policy_docs.py(new, 7 tests),tests/test_board.py(section count is now 5)Test Plan
python -m unittest discover -s tests: 32 OKNot included: the RAL shared-environment observation.
dna collectstalled in NFS I/O on the login node and died, so it is now a follow-up.Heart YELLOW (reds in PyAutoArray, PyAutoGalaxy, PyAutoLens and 3 dirty worktrees, none in this repo), acknowledged by the human on 2026-11-12. Tier glance: auto-merge on green if the Witness passes.
🤖 Generated with Claude Code