Skip to content

feat(wildcard): executable feasibility spike for proposal #3773 (spikes/w-cancellation-teardown-nursery) - #3774

Open
marhabynova wants to merge 2 commits into
limitlessprojects:mainfrom
marhabynova:wildcard/cancellation-teardown-nursery
Open

marhabynova wants to merge 2 commits into
limitlessprojects:mainfrom
marhabynova:wildcard/cancellation-teardown-nursery

Conversation

@marhabynova

Copy link
Copy Markdown
Contributor

Summary

Executable feasibility spike artifact supporting Wildcard Proposal #3773: Nursery-Scoped Teardown Obligations & Drain Invariants (Flipping GUARANTEES Row 12).

All code and verification artifacts are isolated within spikes/w-cancellation-teardown-nursery/, leaving core compiler crates completely untouched.

Verifications & Pre-Registered Gates (RESULTS.md)

  • H1 (Zero Goroutine Leak Soundness): 1,000 nurseries (5,000 tasks total) executed under randomized sub-millisecond context cancellations with 0 leaked goroutines (diff = 0, PASS).
  • H2 (Checker Teardown Join Agreement): hy-check AST analysis accepts clean cancellation drain (01) and rejects undrained channel exit (02 -> HYB-E3910) and bare goroutine escape (03 -> HYB-E3911).
  • H3 (Zero Allocation Drain Overhead): BenchmarkCooperativeDrain measures 371.2 ns/op, 0 B/op, 0 allocs/op.
  • F1 & F2 (Falsifiers): Livelock on unconstrained producer drain and unmanaged goroutine escapes fired and verified.

Verification Commands

# Python verifier with live Go checks
python3 spikes/w-cancellation-teardown-nursery/teardown_verifier.py --check --live-go --json

# Hermetic unit tests (5/5 PASS)
python3 -m unittest discover -s spikes/w-cancellation-teardown-nursery/tests -p "test_*.py" -v

# Live Go stress tests & benchmarks (PASS, 0 allocs/op)
cd spikes/w-cancellation-teardown-nursery/work && go test -v -bench=. -benchmem ./...

Settlement Coordinates

  • GitHub Account: @marhabynova
  • Rail: USDC on Base Mainnet (Chain ID 8453, ERC-20 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)
  • Wallet Address: 0x001dbD889fabC322Ddbd800509898fc1f01172Bd

@github-actions github-actions Bot added the bot:land-candidate Shepherd: fresh, gate-clean, verifiable (set from classify()) label Nov 5, 2026
@marhabynova
marhabynova force-pushed the wildcard/cancellation-teardown-nursery branch from 86a9f51 to 30382da Compare November 6, 2026 08:03
@github-actions github-actions Bot added the bot:stale-base Shepherd: behind main beyond threshold label Nov 6, 2026
@marhabynova
marhabynova force-pushed the wildcard/cancellation-teardown-nursery branch from 30382da to 0c20a3a Compare November 6, 2026 18:30
@limitlessprojects

Copy link
Copy Markdown
Owner

Track-3 (Wildcard) routing — intake acknowledged

Thank you @marhabynova. This executable feasibility spike for Wildcard proposal #3773 (nursery-scoped teardown obligations & drain invariants — flipping GUARANTEES Row 12) is routed to the Track-3 process per BOUNTY.md / MOONSHOT.md:

No silent closes — this PR stays open until the review window resolves it.

limitlessprojects pushed a commit that referenced this pull request Nov 7, 2026
…ertified stack regions, spike #3765) + W-025 (#3773 nursery teardown/drain invariants, spike #3774); 2026-12-01 review window row
@limitlessprojects

Copy link
Copy Markdown
Owner

Ledger update: the parent proposal is now intake-acked and ledgered (W-025 in MOONSHOT.md, review slot 2026-12-01). This spike PR is referenced from the row as the companion artifact under maintainer verification — standing unchanged (open, not yet maintainer-verified).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:land-candidate Shepherd: fresh, gate-clean, verifiable (set from classify()) bot:stale-base Shepherd: behind main beyond threshold

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants