Repository navigation
Done
Description
Use direct wording in the passages below. Keep API names, error codes, platform details, and behavior unchanged. This is an editorial review, not an authorship claim. The pinned default-branch audit covers first-party docs and source comments/docstrings. Change generated text at the source and regenerate it.
Snapshot 09fd5f69279221c6249e1ca0ee39a32099936a1f. Docs: README.md, java/README.md, bench/README.md.
README.md:60–71, “bounds … across all layers … Exhaustion … distinguish it from complete-empty … stages nothing” → “maxLinks limits distinct source/attribute pairs. maxRecords limits how many stored versions the lookup examines, including superseded and retracted versions. Only Complete may contain links; a Complete result with no links is still successful. The lookup reads earlier writes in this transaction without making any changes.”README.md:85–90, “Java's stale pre-move main is never a source line … workflow definition” → “Build 2.x from the existing v2.x branch, never from old main. Run release retries from the default branch's workflow.”README.md:92–99, “prepares an exact … locked build graph … README installation versions are stamped … assert … contracts” → “Pin the exact crates.io version, keep the same features, and verify the resolution against Cargo.lock. The workflow updates the README's installation version on the branch it builds. Each test environment checks the Maven version it actually resolved, then runs that branch's API tests.”README.md:101–113, “run evidence … complete exact public match … identified different coordinate … fails closed … after the bound; … never as absence … retain reporting” → “Verify the files from the original test run. If everything in Maven Central already matches byte for byte, skip the Portal, rebuild and upload. Ignore a deployment only after identifying its other Maven coordinate. Stop after 20 checks if it is still unidentified, and print its ID. A Portal API error stops the retry; it does not mean the deployment is missing. After recovery, test the exact published version and report failures with release-broken.”README.md:127–133, “always prepare anew, carry source commits … source, dependency, artifact and consumer evidence … recorded as Git source” → “Each rehearsal prepares a new commit, stores it in a Git bundle, and records the commit IDs, dependency, artifact checksums, and test results. For 3.x, record the Git commit and its actual crate version rather than claiming the code came from crates.io.”java/README.md:6–8, “fat JAR with embedded natives” repeated as two fragments → “MiniGraf is an embedded graph database for Java and Kotlin. The JAR includes the native libraries, so you do not need a Rust toolchain.”java/README.md:71–72, “facade … has to go through the Kotlin companion object” → “In Java, call Minigraf.open(path) instead of MiniGrafDb.Companion.open(path).”java/README.md:112–116, “counted per entry by the operators that keep state … hold more … frees what it held” → “This limit covers memory used by operators that keep temporary state, such as joins and aggregates. If a query exceeds it, the query releases that memory and throws QRY-012. Returned cursor rows do not count toward this limit.” Retain the exact operator list and defaults.java/README.md:143–145, “shim's own close methods … because close() is taken” → “UniFFI close() frees the native object. The binding also provides release() for a cursor or fact log and abandon() for a log writer.” Verify whether caller should use one or both before publishing.java/README.md:187–192, “They are application code … an allowed keyword … overrides them” → “allowOverrides does not restrict these setters. If the query text includes a permitted override, it takes precedence over the setter.”java/README.md:263–265, “the calls the core refuses there still return” → “During a write transaction, a callback also receives INT-001 for calls listed under Write transactions.”java/README.md:298–301, “An option left null is the database's … is this commit's WAL sync” → “When an option is null, use the database default. synchronous controls how this transaction syncs the WAL; chunkFacts sets how many facts the transaction stages before writing in chunks.”java/README.md:311–316, “writes and begins … a thread that uses one it did not begin …” → “On other threads, writes and attempts to start a new transaction wait for the open transaction to end; queries see committed data. Use the handle on the thread that opened it: a thread that borrows the handle can block if it then writes directly to the database.” Split up the long list of callback/thread restrictions.java/README.md:322–326, 352–367, “discovers all live … current write view … zero is a real limit … completes empty … complete-empty” → “Look up stored incoming references visible to this transaction, including earlier uncommitted writes. The lookup does not write anything. Before deleting, require Complete; Exhausted returns no partial list. A zero record limit returns a successful empty result only when the lookup does not need to inspect any records.”bench/README.md:3–5, 16–20, “interface and timing boundaries … builder alone owns the measured-core Cargo patch … build identities” → “The nightly runner uses the installed JVM benchmark in manual/ and does not build or patch it. Only the build script patches the core dependency. The runner checks the core and binding commit IDs, plus the JVM version and flags.”bench/README.md:22–30, “Smoke creates fresh raw checks … Timing creates fresh … establish JIT stationarity” → “The smoke test writes correctness results to smoke/ without benchmarking. A timed run writes samples to benchmark/samples.jsonl and saves the tested native library. Warmups do not show that the JVM's JIT has stabilized.”bench/README.md:32–37, “successful process exit, teardown and complete validated stream … core workflow owns upload/audit … authoritative IDs” → “The runner prints all 14 ok lines only after the process exits successfully, cleanup finishes, and all output passes validation. Archive or remove previous outputs before running again. The core workflow uploads the results and checks the history; its benchmark guide defines IDs, timings, and the metadata format.”bench/nightly.py:1andbench/tests/test_nightly.py:1, “Fail-closed adapter … #858 contract … Adapter contract tests” → “Run the existing #839 JVM benchmark and reject incomplete or invalid results for #858.” / “Use made-up timings to test the nightly runner's arithmetic. These tests do not measure performance.”.github/workflows/package.yml:48, “pin an old glibc floor” → “build Linux binaries that support glibc 2.17.”java/src/main/kotlin/io/github/project_minigraf/minigraf/Minigraf.kt:7–11, “This facade lets Java write …” → “Java callers can use Minigraf.open(path) instead of MiniGrafDb.Companion.open(path).”src/lib.rs:32–33, 731, 1152–1159, 2359, “a bind mistake … Not gated by … this lookup stages nothing … across all layers” → “an invalid query binding”; “allow_overrides does not restrict this setter”; “The lookup sees earlier writes in this transaction but does not add any”; “counts every stored version it examines, including superseded or retracted versions.” Test comment: “The setters still work when query-text overrides are disabled.” Matching testjava/src/test/kotlin/io/github/project_minigraf/minigraf/OverridesTest.kt:117.
Metadata
Metadata
Assignees
Labels
No labels
Activity