Repository navigation
Remove six measured hot spots from the SyberFactory kernel without changing any persisted byte (efficiency audit 2026-10-26, items 2, 3, 4, 5, 6 and 8): the journal skips re-opening a file whose size - #105
Conversation
…views@1k 674->17 ms, hook 235->80 ms, Kit.threads 155->83 ms, sign_dsse 292->220 ms; outputs identical SyberLabs-Thread: b130b3e6-eb9d-440c-aea1-5287ed9eef5a SyberLabs-Candidate: c1 SyberLabs-Provider: patch@1
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. |
|
Handoff: Scope: owner approval on 2026-10-26 of items 2, 3, 4, 5, 6 and 8 of the efficiency audit's ranked plan. The audit report is Invariants. Every persisted byte, digest, event, signature and golden trace is unchanged:
What changed, item by item
Docs:
Before/after measurement Method:
Against the audit's targets:
Checks (run before
Bite: the new tests were run against the base package in a scratch clone.
Limits
Certificate: |
|
Independent verification of this head (
1.
2. Journal stat-before-open: the claim holds.
3.
4. Query-guard hook loading: confirmed.
Read. All six changes do what the handoff says, and every persisted output I could compare is byte-identical to base, including the golden traces. The Ed25519 parameter is a correct speed-up behind a sharp edge: no path in this repository reaches it today, but the same speed is available without trusting callers, so it should be replaced. The listing change is the documented trade. Its one new defect is a crash where a coded refusal used to be, and it needs write access to the journal to trigger. Findings (none blocks the merge).
Verdict: pass |
Objective: Remove six measured hot spots from the SyberFactory kernel without changing any persisted byte (efficiency audit 2026-10-26, items 2, 3, 4, 5, 6 and 8): the journal skips re-opening a file whose size equals its read offset, candidate_views indexes the newest evaluation in one pass, effect_unresolved computes its finished proposals once, Ed25519 signing reuses a public key already derived from the same seed, the query-guard hook loads its two leaf modules without importing the syberlabs package, and Kit.threads reads only a thread's first records. Every digest, event, signature, decision and golden trace stays identical, each change has an equality test against the old behaviour, and each has a before/after measurement on the audit's machine.
Class: R
Agent-platform: patch@1
Admitted-by: canadianbacon345@gmail.com
Reviewed-by: rules@1 (critic check critic.rules: high 0, medium 0, low 0)
Evidence: tested
Accepted in SyberLabs thread
b130b3e6-eb9d-440c-aea1-5287ed9eef5aas candidatec1(commit8e781db0e099a55967e6735ec650879d854215b0).Host checks on that tree: conformance passed, critic.rules passed, scenarios passed, tests passed.
Reviewed-by: claude (independent verifier session, SyberFactory workflow)