docs: refresh README/EXPLAINME, RSR + bot-doc compliance, clean root - #55
Merged
Merged
Conversation
…-references
README.adoc: version Standard-Candidate-1.0 -> 0.9.0 (matches mix.exs); correct
the probabilistic-types claim (runtime-represented, static checking on the
roadmap — not "statically checked"); add the reflexion design layer to the IP
table; replace the aspirational ArangoDB / Salt tooling rows (Salt is Python,
banned) with the consensus + formal-verification tooling that actually ships.
EXPLAINME.adoc: add a "Reflexion" receipts section (façade Phronesis.Reflexion,
anchor REPORT-adequacy example, JEG / equivalence / hash-chained ledger) and
wire the reflexion modules + docs/REFLEXION.adoc into the file map.
Stale cross-reference sweep (nothing pointing at the old layout):
- academic/theorem-index.adoc: lattice/game proof citations -> real .adoc paths
- academic/*: bulk .md -> .adoc proof references; white-paper wiki/docs refs
- academic/README.adoc: licence statement Apache-2.0/MIT -> CC-BY-SA-4.0
- wiki/Contributing.adoc: contribution licence AGPL-3.0 -> MPL-2.0 + CC-BY-SA-4.0;
dead CONTRIBUTORS link -> MAINTAINERS.adoc
- wiki/{Quick-Start,Installation,CLI-Reference}.adoc: REPL/version banners 0.1.0 -> 0.9.0
- IMPLEMENTATION-ROADMAP.adoc: SPEC.core/META/ECOSYSTEM .scm -> .a2ml
- GOVERNANCE.adoc: CONTRIBUTING.adoc -> CONTRIBUTING.md (canonical file)
- .claude/CLAUDE.md: Guile .scm state files -> A2ML; drop removed SaltStack-Python
exception (Python fully banned)
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AqMopxUsgu78rg5fhWBUkk
Bring the repo in line with the rsr-template-repo layout so both humans and bots have sorted, accurate guidance: - .machine_readable/ai/: Cursor/Cline/Windsurf rules + AI.a2ml + README index, all tailored to Phronesis (real languages Elixir/Rust/Idris2/Agda/Zig/TLA+, MPL-2.0 code + CC-BY-SA-4.0 docs split, no placeholders, no banned-language references). - .github/copilot-instructions.md: moved from the repo root (where Copilot does not read it) and destaled — dropped ReScript from the language hierarchy, JavaScript now points at AffineScript, npm/yarn/pnpm -> Deno, removed the self-contradictory "GitLab CI preferred" row. - AUDIT.adoc (root): honest claims-vs-reality ledger — what is real (lexer, parser, type checker, interpreter, LSP, reflexion, green suite) vs scaffold/ roadmap (WASM compiler, Raft runtime, static probabilistic types, package registry, unreviewed proof corpus). - .machine_readable/6a2/anchors/ANCHOR.a2ml: repo identity + golden path (just deps/build/test) + implementation policy. - .machine_readable/root-allow.txt: canonical root allowlist (drift = anything at root not listed here). - .machine_readable/configs/README.adoc: index for the relocated estate configs. - 0-AI-MANIFEST.a2ml: point AI/bot instructions at .machine_readable/ai/ (the .bot_directives/ dir never existed); refresh the structure tree. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AqMopxUsgu78rg5fhWBUkk
… AsciiDoc Root cleanup so the tree matches .machine_readable/root-allow.txt (every root entry is now accounted for): Removed cruft: - phronesis (1.7 MB compiled escript committed by accident; now gitignored) - ANALYSIS-COMPLETE.adoc (one-off session artefact) - SPEC.core.a2ml (root symlink redundant with .machine_readable/SPEC.core.a2ml) Relocated machine-readable configs to .machine_readable/configs/: - eclexiaiser.toml, k9iser.toml, opsm.toml, stapeln.toml (consumed by estate tooling, not mix/cargo) Moved internal status/design docs out of the root into docs/: - LSP-IMPLEMENTATION-SUMMARY, TESTING-REPORT, TEST-NEEDS, TOOLCHAIN-WISHLIST, WOKELANG-FEATURE-COMPARISON (refs in EXPLAINME/AUDIT/ANCHOR updated) Moved orphaned root demo scripts to examples/: - test_e2e.exs, test_framework_demo.exs, test_stdlib.exs (the ExUnit suite in test/ is the real coverage; these were never wired into CI) adoc-first: converted the remaining estate .md docs to .adoc (CC-BY-SA-4.0 per the documentation licence policy), via pandoc: - docs/CONSENSUS, docs/safety_proofs, docs/tech-debt-2026-05-26, deploy/DEPLOYMENT, spec/system-specs, editors/vscode/README, syntax/README Only GitHub/tool-required Markdown remains (.github/**, SECURITY.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, CHANGELOG.md, .claude/CLAUDE.md). No source code touched; docs/config/cruft only. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AqMopxUsgu78rg5fhWBUkk
The pre-existing DebuggerTest/DocGeneratorTest/IncrementalLexerTest/Conformance failures were fixed and merged; the ExUnit suite is green (consensus/Raft cases skipped pending :ra). Update STATE.a2ml: last-result warn -> pass, drop the resolved blocker and its next-action, bump dates to 2026-06-20, refresh the session note. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AqMopxUsgu78rg5fhWBUkk
🔍 Hypatia Security ScanFindings: 8 issues detected
View findings[
{
"reason": "binary_to_term without :safe option -- deserialization attack (1 occurrences, CWE-502)",
"type": "elixir_send_unsanitised",
"file": "/home/runner/work/phronesis/phronesis/lib/phronesis/compiler.ex",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Nominal-only SAST in phronesis: codeql.yml language matrix contains no language present in the repo and lacks `actions`, so CodeQL records zero results on every commit. Remediation: set the CodeQL matrix to `language: actions`.",
"type": "StaticAnalysis",
"file": "/home/runner/work/phronesis/phronesis",
"action": "auto_fix",
"rule_module": "scorecard",
"severity": "medium",
"remediation": "Add CodeQL or equivalent SAST workflow.",
"scorecard_check": "SAST"
},
{
"reason": "Repository has 6 non-main remote branch(es). Policy: single main branch only.",
"type": "GS007",
"file": ".",
"action": "delete_remote_branches",
"rule_module": "git_state",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD007 -- Hypatia structural_drift: SD007 -- 8 day(s) old",
"type": "CSA001",
"file": ".claude/CLAUDE.md",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD007 -- Hypatia structural_drift: SD007 -- 8 day(s) old",
"type": "CSA001",
"file": ".claude/CLAUDE.md",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD007 -- Hypatia structural_drift: SD007 -- 8 day(s) old",
"type": "CSA001",
"file": ".claude/CLAUDE.md",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/code_safety/elixir_send_unsanitised -- Hypatia code_safety: elixir_send_unsanitised -- 8 day(s) old [STALE]",
"type": "CSA001",
"file": "lib/phronesis/compiler.ex",
"action": "escalate",
"rule_module": "code_scanning_alerts",
"severity": "high"
},
{
"reason": "Code-scanning alert hypatia/code_safety/elixir_send_unsanitised (high) at lib/phronesis/compiler.ex is 8 days old (threshold: 7 days) -- overdue for remediation",
"type": "CSA003",
"file": "lib/phronesis/compiler.ex",
"action": "escalate",
"rule_module": "code_scanning_alerts",
"severity": "high"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
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
Documentation refresh + full RSR/standards compliance + root cleanup, in the order requested:
No source code is touched — this is docs / metadata / config / cruft only. The ExUnit suite remains green.
1 — README.adoc
Standard Candidate 1.0→0.9.0(matchesmix.exs).EXPLAINMEcontradicts.ArangoDB / Virtuosoand Salt tooling rows (Salt is Python — banned) with the consensus + formal-verification tooling that actually ships.2 — EXPLAINME.adoc
Phronesis.Reflexion.review/2, the REPORT-adequacy anchor example, JEG / equivalence / hash-chained ledger), all path-verified.docs/REFLEXION.adocinto the file map.3 — RSR + standards compliance (humans and bots)
.machine_readable/ai/— Cursor / Cline / Windsurf rules +AI.a2ml+ README index, tailored to Phronesis (real languages, MPL-2.0 code + CC-BY-SA-4.0 docs split, no placeholders, no banned-language references)..github/copilot-instructions.md— moved from the repo root (where Copilot never read it) and destaled (dropped ReScript, JavaScript → AffineScript, npm/yarn/pnpm → Deno, removed the self-contradictory "GitLab CI preferred" row).AUDIT.adoc— honest claims-vs-reality ledger (what is real vs scaffold/roadmap)..machine_readable/6a2/anchors/ANCHOR.a2ml— repo identity + golden path (just deps/build/test)..machine_readable/root-allow.txt— canonical root allowlist.0-AI-MANIFEST.a2ml— point AI/bot instructions at.machine_readable/ai/(the.bot_directives/dir never existed); refresh the structure tree.academic/,wiki/,IMPLEMENTATION-ROADMAP,GOVERNANCE,.claude/CLAUDE.md: proof-file refs.md→.adoc; licence misstatements (Apache/MIT and AGPL → MPL-2.0 + CC-BY-SA-4.0); version banners0.1.0→0.9.0;.scm→.a2ml; Guile state-file row → A2ML; removed the SaltStack-Python exception.4 — Root cleanup
phronesisescript (now gitignored),ANALYSIS-COMPLETE.adoc(session artefact), the redundant rootSPEC.core.a2mlsymlink.*.tomlconfigs to.machine_readable/configs/.docs/(LSP summary, testing report, test-needs, toolchain wishlist, wokelang comparison) and orphaned root demo scripts toexamples/..mddocs to.adoc(CC-BY-SA-4.0) via pandoc —docs/CONSENSUS,docs/safety_proofs,docs/tech-debt-2026-05-26,deploy/DEPLOYMENT,spec/system-specs,editors/vscode/README,syntax/README. Only GitHub/tool-required Markdown remains.The root is now reduced to 28 files, every one accounted for in
root-allow.txt.Metadata
STATE.a2ml: marked the suite green (last-resultwarn → pass), dropped the resolved test-failure blocker, bumped dates.Note for review
The 7 converted docs were
MPL-2.0Markdown; their new.adocfiles carry CC-BY-SA-4.0, consistent with the owner-authorised documentation-licence policy already applied to the sibling narrative docs. Flag if any of those should remain MPL-2.0.🤖 Generated with Claude Code
https://claude.ai/code/session_01AqMopxUsgu78rg5fhWBUkk
Generated by Claude Code