Repository navigation
chore(lydite): drop unreferenced audit evidence and translate docs to English - #1291
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 271addfdb8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "default_verifier_command": { | ||
| "command": "python3 audit/rv32i_milestone/verify_evidence.py", | ||
| "result": { |
There was a problem hiding this comment.
Restore the retained verification records
This cleanup does not change a reviewed failure or coverage contract, yet it deletes this retained record of archive verification—including the deterministic rebuild, independent readback, and verifier-test results—and similarly removes the phase 1/2/3 publication validation records. Git history in another repository does not preserve these records as part of this checkout’s auditable evidence set, so retain them unless the associated evidence contract is deliberately revised.
AGENTS.md reference: AGENTS.md:L28-L30
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Restored evidence/validation.json in 096831a.
| @@ -1,2 +0,0 @@ | |||
| create_clock -period 10 [get_ports clk] | |||
| set_input_delay -clock clk 1 [get_ports d] | |||
There was a problem hiding this comment.
Preserve the documented negative SDC probe
Deleting the exact set_input_delay probe leaves timing-prep/README.md:51-57 claiming that the negative probe and its exit status are retained even though neither the input nor the status file remains. This prevents readers from inspecting or reproducing the evidence behind the documented nextpnr limitation; restore these files or revise the retained-evidence documentation and contract together.
AGENTS.md reference: AGENTS.md:L28-L30
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Restored the probe, its status file and prep-files.sha256 in 096831a, so timing-prep/README.md matches the tree again.
| d=json.loads((D/'array_sum.json').read_text());d['program_contract'].pop('split') | ||
| save('auto_array_sum',d) |
There was a problem hiding this comment.
Retain the generator for the live auto-array fixture
This script is still the only checked-in generator that derives examples/auto_array_sum.json from array_sum.json, but that generated fixture remains an active input in crates/lydite-syntax/src/lib.rs:1181-1197, crates/lydite/tests/language.rs:43-68, crates/lydite-verify/tests/end_to_end.rs:419-455, and scripts/test_json_to_lyd.py:522-526. After a schema or source-fixture update, contributors can no longer regenerate the active test input and may silently leave it stale, so keep this generator or move its base-fixture generation into another retained script.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Kept the generator in 096831a, reduced to producing the live auto_array_sum.json. Its output is byte-identical to the checked-in fixture. The variants it used to emit were deleted as unreferenced.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bd95723031
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| def test_unproved_full_adjacency_fails_closed(self): | ||
| with self.assertRaises(ValueError):q.invariant(adjacency=True) | ||
|
|
||
| def test_exact_source_transition_projection(self): |
There was a problem hiding this comment.
Keep the selected control-invariant regression
Checked conformance/veryl-symbolic/run_rv32i_ci.sh: the selected RV32I gate still enables control_invariant=True, but this deletion removes the only focused regression for control.document's fail-closed projection. In particular, this test verifies that omitted physical state is converted to unconstrained inputs, all referenced transitions and wires are renamed, and no assumptions are introduced; the remaining split-refinement tests only consume the resulting binding and do not assert these properties. A projection change could therefore weaken the selected proof without a targeted test failure, so retain this test and include it in the RV32I test list.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Restored the test in 096831a and added it to the unittest list in conformance/veryl-symbolic/run_rv32i_ci.sh. Locally all 9 tests pass.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a7e2afb71b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -1,67 +0,0 @@ | |||
| """v0.4/rewrite-kernel/closure-disabled comparison with all raw evidence retained.""" | |||
There was a problem hiding this comment.
Preserve the structural-solver campaign runner
The recorded-evidence index still advertises audit/structural_solver as a structural/finite-solver campaign (lydite/audit/README.md:52), but deleting this runner together with build_examples.py, replay_witnesses.py, simulate_memory.py, and validate_results.py leaves that directory with only static fixtures and one old simulation result. Contributors can no longer regenerate, replay, or validate this campaign after checker changes; retain its executable checks or revise the documented evidence contract as part of the removal.
AGENTS.md reference: AGENTS.md:L28-L30
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Restored the whole audit/structural_solver directory to its pre-cleanup state in 096831a, so the index in audit/README.md is accurate again.
Drop archived publication/validation records, old measurement results, and scripts and fixtures that no CI step, test, or live script reads. The history remains in tignear/hwverify.
Fold repeated caveats into the trust-boundary pointer and drop the synthesis row that linked outside this repository.
Translate specifications, scoped specifications, expectations, language, models and program contracts, and rename proof/README-ja.md to proof/README.md. Code blocks and existing English sections are unchanged.
Renovate cannot update its Cargo.lock because the workspace lists the generated-suite member that run_ci.sh creates, so each manifest bump broke the --locked veryl-fv build.
Restore the archive validation record, the negative SDC probe, the structural-solver campaign runners and the control-invariant regression, run that regression in the RV32I gate, and keep a generator for the live auto_array_sum fixture.
Master added nba_dynamic_array::test_sparse_commit_reaches_every_summary_word; the corpus gate verifies its reads, so record it in the reviewed manifest.
a7e2afb to
52a6d1a
Compare
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Queued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 23 minutes 36 seconds in the queue, including 22 minutes 7 seconds running CI. ReasonThe merge conditions cannot be satisfied due to failing checks
Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. Waiting for
All conditions
Requeued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 37 minutes 32 seconds in the queue, including 35 minutes 22 seconds running CI. Required conditions to merge
|
Summary
lydite/auditandlydite/examplesthat no CI step, test, or live script reads: archived publication/validation records (*/publication/,phase1-*,rv32i_milestone/validation/), old measurement results (veryl_scaling/results/,frozen_inputs/,veryl_proof_independent/checks/), the unrunstructural_solver/pipelineevaluation scripts, CI-unrun candidate tests, and theauto_array_sum_*variants with their generator. Their history remains in tignear/hwverify.lydite/README.mdto English and trim it: repeated caveats fold into the trust-boundary pointer, and the synthesis row that linked outside this repository is dropped.specifications,scoped-specifications,expectations,language,models,program-contracts) to English, and renameproof/README-ja.mdtoproof/README.md. Fenced code blocks are byte-identical before and after; existing English sections and linked anchors are unchanged.lydite/conformance/veryl/Cargo.lockwith thesyn = "=3.0.8"pin that fix(deps): update rust crate syn to v3.0.8 #1280 set incapture-macros/Cargo.tomlwithout updating this separate lockfile;veryl-fvfailed on--locked(same fix as e57f4b5 for 3.0.7). Renovate is now disabled for that workspace's manifests, because it cannot update the lockfile whilegenerated-suiteonly exists after generation.Files were classified by reachability from CI workflows, run scripts, Rust tests, and live Python modules (paths, bare quoted names, format-string prefixes, module imports), then checked by hand against dynamic references such as
check_${matrix}.py. Directory walks in the CI scripts only record provenance hashes, so removing files changes no comparison. Generators of fixtures that tests still use (build_cpu.py,build_array_sum.py) are kept.Validation
python3 scripts/check_docs.py(fromlydite/): 0 link errors after both the removal and the translation; no Japanese text remains in lydite Markdown; no remaining references to removed paths in docs, code, or workflows.audit.{equality_sharing,word_frontier,guarded_expansion,automatic_proof}and theaudit.veryl_scalinglist) plusscripts.test_json_to_lyd: 293 run, 23 skipped (need built binaries).Z3_BIN=$(command -v z3) cargo test --locked -p lydite -p lydite-syntax -p lydite-verify -p lydite-ir(the crates whose tests readexamples/oraudit/): 237 passed, 0 failed.cargo metadata --lockedon a copy of the workspace with thegenerated-suitemanifest thatgenerate.pywrites passes with the updated lockfile and fails (exit 101) with the previous one.renovate-config-validator renovate.json: config validated.lydite.yml(conformance/*/run_ci.sh, selected RV32I, automatic proof). This PR toucheslydite/**, so that workflow runs them.