docs(schema): track the 65-item schema review page
ci / python (pull_request) Successful in 16s
ci / lean (pull_request) Successful in 29s
ci / image (pull_request) Has been skipped

This commit is contained in:
2026-10-28 21:42:45 +08:00
parent 29fe3e1aa5
commit 4eee78be09
6 changed files with 9375 additions and 8 deletions
+4
View File
@@ -75,3 +75,7 @@ structural candidate queries, bindings and replay command. Private SQLite/JSON/H
stay under `data/simplex-schemas-v1/`; tracked `results/simplex-schema-*.json` files contain
only counts, opaque keys, provenance hashes and coverage status. This does not change the
frozen diagnostic or claim complete semantic extraction or proof verification.
The owner-approved schema-only HTML review is tracked at
`docs/reviews/simplex-schemas.html`. Regenerate it with the builder's `--review-page` option;
the raw inputs, full assessment explanations and SQLite snapshot remain gitignored.
+11 -3
View File
@@ -114,6 +114,8 @@ def main():
parser.add_argument("--private-out", required=True, type=Path)
parser.add_argument("--index", required=True, type=Path)
parser.add_argument("--summary", required=True, type=Path)
parser.add_argument("--review-page", type=Path,
help="Also export the owner-approved schema-only HTML review into the project")
args = parser.parse_args()
if "data" not in args.private_out.parts:
parser.error("Private schemas must remain in the gitignored data/ directory")
@@ -149,14 +151,20 @@ def main():
sides.append(f'<h3>{side}</h3><pre>{html.escape(content)}</pre>')
sections.append(f'<section id="{row["blind_id"]}"><h2>{row["blind_id"]}</h2>'
+ ''.join(sides) + '</section>')
(args.private_out / "schemas.html").write_text(
review_page = (
'<!doctype html><html lang="en"><meta charset="utf-8"><title>P0 semantic simplex schemas</title>'
'<style>body{font:16px/1.5 system-ui;max-width:1050px;margin:32px auto;padding:16px}'
'pre{white-space:pre-wrap;background:#f5f5f5;padding:16px}section{border-top:1px solid #ccc}</style>'
'<h1>65 semantic multi-role relation schemas</h1>'
'<p>Private annotation seeds, not independently validated mathematical statements. '
'<p>Schema annotation seeds, not independently validated mathematical statements. '
'A simplex joins the objects, assumptions and conclusion in its slots. '
'References are partial symbol/syntax candidates.</p>' + ''.join(sections) + '</html>')
'References are partial symbol/syntax candidates. '
'This review contains schema annotations and Lean signature text, not textbook passages '
'or full assistant judgment explanations.</p>' + ''.join(sections) + '</html>')
(args.private_out / "schemas.html").write_text(review_page, encoding="utf-8")
if args.review_page is not None:
args.review_page.parent.mkdir(parents=True, exist_ok=True)
args.review_page.write_text(review_page, encoding="utf-8")
# JSON-only reload is independently checked; it does not use pickle.
for row in snapshots:
for side in ["source", "lean"]:
@@ -13,7 +13,7 @@
"items": "487ecd22919a5e3b0174a2846ab8fe7c0daf4d3feccccf8ea6571aec04c41bed",
"assessments": "f12735802ba0d4d94b776a91581a13a508eab0ce90ba8973a6c9c4e4d1390272",
"key": "f827cac92ee4e907554fadcc7c0e006ef2b829350f74e7f8b54ca11945e62836",
"builder": "3c8a7112f2d86737b646fbc9abfe5e9b8660efabc1023f2cc3357398445675e9",
"builder": "7b3a982101f620c1480d95b5e483ca6186a7e9c32ce587fb132a90bfb38a01bc",
"schema_module": "958b81e89c0befeb32d24036c130f2b37bd2e881bd5b009acf873cbcdada50ae",
"registry_module": "7b434b1eb178f597d4f60591a5ab74eff0c96a40fa751cb0ba75589b52e56271"
},