Explaining that a generated worker “marks the job complete” is easier than predicting what happens when it crashes just before acknowledging delivery. Sphinx puts that second question in front of a push. A correct answer still provides no guarantee that the implementation is correct or that deployment is authorized.
This updates our October 18 article on October 26, 2026. The supplied briefing's October 25 date denotes renewed attention; we have not established the project's first public release date. We did not install Sphinx or invoke a paid model. We ran only the original local example below.
Where the pause happens
The official README describes a separate reviewer model that reads committed changes and related files without seeing the conversation that produced the code. Its questions concern behavior, failure modes, and invariants. A “protected branch” here means a destination selected for Sphinx checks; it should not be confused with a hosting provider's server-enforced branch protection.
Committed change → separate reviewer investigation and questions
↓
Local pre-push waits ← developer answers and chooses to continue
↓
separate remote-server policies
The current README says the developer chooses whether to continue after passing. Checks can be skipped, and local hooks can be bypassed. Use the quiz as learning feedback while retaining tests, code review, and server policies. Knowing how a change behaves does not by itself detect a weakened assertion or an invalid dependency.
A disposable repository does not isolate a global install
The reviewed source identifies itself as 0.1.19. In install.js at the inspected commit, the default scope is --global, and installation replaces core.hooksPath. The implementation also saves earlier settings and chains existing hooks. Repository and worktree settings can take precedence, so verify the effective path separately.
The following is an unexecuted example requiring Git. It only reads configuration; an unset key may produce no output. Compare results before and after a pilot, along with the behavior of existing hooks. We made no changes to the user's global Git settings.
git config --show-origin --get-all core.hooksPath
git config --global --get-all core.hooksPath
Path exclusions have a narrower scope than data-loss prevention. The README documents default exclusions for .env and key files, while warning that path rules will not catch a secret embedded in ordinary source. The reviewer provider receives changed code, related files, answers, and project context. For an internal repository, verify both the excluded paths and the selected provider's code-handling terms.
Turn a question into a concrete failure case
This is original educational code, not a captured Sphinx session or a question generated by the product. It models a job delivered again after the effect commits but its acknowledgement is lost. Ask: “How many times does the credit get granted?”
Save the code as redelivery.mjs and run node redelivery.mjs with Node.js 18 or newer. No dependencies or network access are needed.
function redeliver(idempotent) {
const committed = new Set();
let grants = 0;
function handle(id, crashBeforeAck) {
if (!idempotent || !committed.has(id)) {
grants += 1;
committed.add(id);
}
if (crashBeforeAck) throw new Error("ack lost");
}
try { handle("job-7", true); } catch (error) {
if (error.message !== "ack lost") throw error;
}
handle("job-7", false);
return grants;
}
console.log("unsafe", redeliver(false));
console.log("idempotent", redeliver(true));
Actual local output:
unsafe 2
idempotent 1
Both deliveries use job-7. The first applies the effect, then throws. The second handles the redelivered job. Without consulting the processed identifier, the count reaches two. Consulting it keeps the count at one in this model.
That should lead to a harder question: “Does adding a Set solve this in production?” It does not. The example represents an effect and its deduplication record as already committed together, then simulates only an acknowledgement failure. It does not restart a process, make the Set durable, or test concurrent handlers.
Production code needs to consider a database transaction encompassing both the effect and its deduplication record. An external effect requires the receiving system's idempotency mechanism and a recovery procedure. Recording completion first can lose work if the effect subsequently fails; recording it separately afterward can duplicate work if the process fails between them. Identifying the operations that must be atomic tells a reviewer more than reciting function names.
Measure what a question changes
A higher pass rate alone is ambiguous: easier questions could produce it. The following is an editorial proposal for a small team pilot, not a measured product outcome.
| Record | Interpretation |
|---|---|
| Incorrect assumptions discovered after the first answer | Separate a wrong answer from evidence of learning |
| Questions disputed because their premise was wrong | Do not treat the model as an infallible answer key |
| Regression tests added because of a question | Check whether explanation becomes executable verification |
| Wait time, call count, and reasons for skipping | Track interruption costs alongside learning |
The official configuration reference states that model calls have no default cap. Grading, replacement questions, and failed requests count alongside investigation. Counting questions as API requests can therefore underestimate usage. Set an optional call cap and a provider spending limit, and distinguish subscription allowances from separately billed API usage. We did not measure actual cost or improvements in wait time.
The useful artifact from a pilot is the failure condition a question uncovered and the test that preserves it. Teams with time to investigate unfamiliar changes may find the approach useful. A requirement for server-enforced deployment approval or independent security validation needs controls beyond a local hook. For the Git concepts underneath, see practical version control.
The Git course below is a paid-course promotional link. It provides relevant Git foundations for understanding hook and configuration scope; it is not presented as a Sphinx-specific course.