Skip to content

chore(lydite): drop unreferenced audit evidence and translate docs to English - #1291

Merged
mergify[bot] merged 7 commits into
masterfrom
feature/lydite
Oct 16, 2026
Merged

mergify[bot] merged 7 commits into
masterfrom
feature/lydite

Conversation

@tignear

@tignear tignear commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Remove 125 files from lydite/audit and lydite/examples that 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 unrun structural_solver/pipeline evaluation scripts, CI-unrun candidate tests, and the auto_array_sum_* variants with their generator. Their history remains in tignear/hwverify.
  • Translate lydite/README.md to English and trim it: repeated caveats fold into the trust-boundary pointer, and the synthesis row that linked outside this repository is dropped.
  • Translate the remaining Japanese docs (specifications, scoped-specifications, expectations, language, models, program-contracts) to English, and rename proof/README-ja.md to proof/README.md. Fenced code blocks are byte-identical before and after; existing English sections and linked anchors are unchanged.
  • Sync lydite/conformance/veryl/Cargo.lock with the syn = "=3.0.8" pin that fix(deps): update rust crate syn to v3.0.8 #1280 set in capture-macros/Cargo.toml without updating this separate lockfile; veryl-fv failed 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 while generated-suite only 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 (from lydite/): 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.
  • Python unit tests run by the lydite gates (audit.{equality_sharing,word_frontier,guarded_expansion,automatic_proof} and the audit.veryl_scaling list) plus scripts.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 read examples/ or audit/): 237 passed, 0 failed.
  • Veryl conformance lockfile: cargo metadata --locked on a copy of the workspace with the generated-suite manifest that generate.py writes passes with the updated lockfile and fails (exit 101) with the previous one.
  • renovate-config-validator renovate.json: config validated.
  • Not run locally: the conformance gates in lydite.yml (conformance/*/run_ci.sh, selected RV32I, automatic proof). This PR touches lydite/**, so that workflow runs them.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-16T08:27:52.918818Z 52a6d1a New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines -4 to -6
"default_verifier_command": {
"command": "python3 audit/rv32i_milestone/verify_evidence.py",
"result": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored the probe, its status file and prep-files.sha256 in 096831a, so timing-prep/README.md matches the tree again.

Comment on lines -6 to -7
d=json.loads((D/'array_sum.json').read_text());d['program_contract'].pop('split')
save('auto_array_sum',d)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@tignear tignear changed the title chore(lydite): drop unreferenced audit evidence and translate README chore(lydite): drop unreferenced audit evidence and translate docs to English Oct 15, 2026
@tignear
tignear enabled auto-merge October 15, 2026 10:26

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@tignear
tignear disabled auto-merge October 15, 2026 11:04

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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."""

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored the whole audit/structural_solver directory to its pre-cleanup state in 096831a, so the index in audit/README.md is accurate again.

@tignear tignear changed the title chore(lydite): drop unreferenced audit evidence and translate docs to English chore(lydite): drop unreferenced audit evidence and translate docs to English Oct 15, 2026
@tignear tignear changed the title chore(lydite): drop unreferenced audit evidence and translate docs to English chore(lydite): drop unreferenced audit evidence and translate docs to English Oct 15, 2026
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.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@mergify

mergify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 16, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 16, 2026
@mergify

mergify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 23 minutes 36 seconds in the queue, including 22 minutes 7 seconds running CI.

Reason

The merge conditions cannot be satisfied due to failing checks

  • JS Test (Windows)

Failing checks:

Hint

You may have to fix your CI before adding the pull request to the queue again.
If you update this pull request, to fix the CI, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio queue comment.

Waiting for
  • check-success = Queue validation
  • any of: [🛡 GitHub repository ruleset rule master]
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
    • check-success = @github-actions/Rust Test & NAPI Build
  • any of: [🛡 GitHub repository ruleset rule master]
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
    • check-success = @github-actions/JS Test (Windows)
All conditions
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
    • check-success = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
    • check-success = @github-actions/JS Test (Windows)
  • check-success = Conventional Commit title
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

Requeued — the merge queue status continues in this comment ↓.

@mergify mergify Bot added dequeued Mergify stopped this queue entry; investigate before retrying and removed queued Mergify queue entry labels Oct 16, 2026
@mergify

mergify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

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
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

@mergify mergify Bot added queued Mergify queue entry and removed dequeued Mergify stopped this queue entry; investigate before retrying labels Oct 16, 2026
@mergify mergify Bot mentioned this pull request Oct 16, 2026
38 of 66 tasks
@mergify
mergify Bot merged commit 9c612b4 into master Oct 16, 2026
27 checks passed
@mergify
mergify Bot deleted the feature/lydite branch October 16, 2026 12:36
@mergify mergify Bot removed the queued Mergify queue entry label Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant