I found an old research draft that treated a local Git commit as proof that a hypothesis existed before the data was examined.
The repository had no commits.
That killed the provenance claim. It did not prove the proposed analysis was wrong. It meant I could not use chronology as evidence that the hypothesis preceded the analysis, so I removed the claimed result instead of polishing the story.
A Git hash is not an independent clock
Git is excellent at recording content identity and ancestry. If two people have the same commit object, they can verify the tree, parent references, identity fields, and commit message that created it.
But author and committer dates are inputs at commit creation. The Git documentation describes GIT_AUTHOR_DATE and GIT_COMMITTER_DATE environment variables directly.
# Both timestamps are metadata supplied when the commit is created. GIT_AUTHOR_DATE="2024-01-01T00:00:00Z" \ GIT_COMMITTER_DATE="2024-01-01T00:00:00Z" \ git commit -m "protocol" # The hash binds this content to those fields. # It does not ask an outside clock whether the date was true. A local commit is useful provenance. It is not independent proof that a protocol existed before a data cutoff.
The records I need next time
- Protocol: a hypothesis that can fail, plus universe, feature definition, parameters, primary metric, success rule, and kill rule.
- External anchor: a public remote record, signed release, archive deposit, or time-stamping service that a reviewer can inspect.
- Data boundary: source, retrieval time, cutoff, universe rule, and hashes or IDs for the input files or queries.
- Run record: code revision, environment, raw outputs, derived metrics, and deviations from the protocol.
Public hosting helps, but I would not describe it as a scientific registry. GitHub branch protection can block force pushes and require signed commits, according to GitHub's docs. The remaining trust assumptions should be stated, not hidden.
Make the protocol executable
The protocol needs prose for a reviewer and a small manifest for the runner:
{ "study_id": "cross-sectional-reversal-v1", "hypothesis": "A fixed reversal signal has positive net performance on the future window.", "data_boundary": { "source": "declared vendor and endpoint", "cutoff_utc": "2026-11-23T00:00:00Z", "universe_rule": "declared before retrieval", "input_manifest_sha256": "<computed after retrieval>" }, "primary_test": { "metric": "net annualised Sharpe", "minimum": 0.4 }, "kill_rule": "fail if the primary test does not pass" } The placeholders are intentional. They distinguish what is fixed now from what only exists after the run.
The full write-up explains the audit, the evidence chain, and the limits of each record: https://www.pkazantsev.com/writing/pre-registration-quant/



