Skip to content

grasp: coordination tests distinguish Git admission from collection ownership - #19

Merged
FelineStateMachine merged 1 commit into
mainfrom
feat/grasp-coordination-proof
Sep 4, 2026
Merged

FelineStateMachine merged 1 commit into
mainfrom
feat/grasp-coordination-proof

Conversation

@FelineStateMachine

Copy link
Copy Markdown
Owner

Motivation

The storage inventory identifies superseded metadata, but an unchanged root and an immutable read cache do not prove that metadata is safe to delete. Host admission coverage needs direct tests before any collection work.

Change

Four deterministic workerd tests pause actual HTTP and alarm reads at R2, on both success and failure. HTTP holds graspBusy, refuses competing Git requests, signed event writes and HTTP management, and defers alarm storage work. Alarm holds graspControls and refuses Git, but still admits a signed repository-state event into SQL purgatory without an R2 operation. Both paths release their flags; consuming the completed HTTP response performs no more R2 reads in this fixture.

The cost documentation inventories HTTP, accepted-state/promotion, event/import/pull, management, alarm/expiry, teardown and direct helper coordination. It records remaining collection blockers: incomplete exclusion, unpublished writes and older readers, instance recovery, bounded complete inventories, and deletion coordination. The accepted event demonstrates an incomplete general lock, not an existing Git publication or data-loss bug.

This is the host half of the user's separate test/docs-only follow-up with the ntig task. The backend owns bounded source-only inventory and reader/publisher counterexamples. No runtime code, artifact, deployment, migration, collection, rate or tenant-usage change. No production operation or wake is added.

Testing Completed

Responsible AI disclosure

Codex authored the tests and documentation. A second agent reviewed entry-point coverage, and the ntig task independently checks backend inventory and coordination counterexamples.

…e limits of metadata collection coordination
@FelineStateMachine
FelineStateMachine merged commit c62c853 into main Sep 4, 2026
1 check passed
@FelineStateMachine
FelineStateMachine deleted the feat/grasp-coordination-proof branch September 4, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant