Skip to content

fix(runs): close two timing windows in the job index and proof saves - #757

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/timing-windows
Dec 3, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/timing-windows

Conversation

@harenome

@harenome harenome commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #644

What

  • A job enters the index only while its parse file is there with the signature it was written with. A Refresh between the parse and the index write leaves no entry; the next read parses it again.
  • Use bundled entry writes a new mark under the entry's lock. A proof started on a user copy saves only while the mark is the one it read, so a copy made since at the same path is refused.

Touches

  • app/nullius/workspace.py, app/nullius/standard/contract/definitions.py

Verified

  • Two processes, before and after: Refresh during a parse left 1 index entry and 0 parse files, now 0 and 0. A proof saved 7/7 onto the replacement copy, now refused.
  • Backend and route suites.

Risk

  • A proof running on a user copy across Use bundled entry is refused, even when the new copy is identical. Run it again.

Agents

  • Claude Code, Opus 5.5
  • Codex, GPT-6.2-Astra

@harenome harenome added the stacked Based on another branch than main label Dec 3, 2026
@github-actions github-actions Bot removed the stacked Based on another branch than main label Dec 3, 2026
@github-actions github-actions Bot added the merge conflict Conflicts with its base: merge or rebase it label Dec 3, 2026
@github-actions github-actions Bot removed the merge conflict Conflicts with its base: merge or rebase it label Dec 3, 2026
@harenome
harenome marked this pull request as ready for review December 3, 2026 12:12
@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 3, 2026
@harenome
harenome merged commit c44fc9d into ThinkFlowLab:main Dec 3, 2026
4 checks passed
@harenome
harenome deleted the fix/timing-windows branch December 3, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Tests pass, no conflict, no verdict on its latest commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Two timing windows: Refresh during a parse, and a proof saved onto a replacement copy

1 participant