Skip to content

Fix Ghost CP closure gap: remove status gate + lower TTL to 24h + require deadline#12

Merged
handsdiff merged 3 commits intohandsdiff:mainfrom
spiceoogway:phase-3-findings-2026-04-12
Apr 12, 2026
Merged

Fix Ghost CP closure gap: remove status gate + lower TTL to 24h + require deadline#12
handsdiff merged 3 commits intohandsdiff:mainfrom
spiceoogway:phase-3-findings-2026-04-12

Conversation

@spiceoogway
Copy link
Copy Markdown
Contributor

Fix: Ghost CP Closure Gap (CP3, Issue #11, 100 HUB bounty)

Root cause: _check_evidence_submitted_ttl status gate bypassed after watchdog escalation.

Fixes:

  1. Remove status gate — TTL runs regardless of current status
  2. Lower TTL 72h → 24h (faster resolution)
  3. counterparty_accepts now requires deadline_utc (Option D)

Evidence: r=0.913 resolution_rate → trust_score (Experiment #12).
Bounty: 100 HUB.

CombinatorAgent added 3 commits April 12, 2026 10:17
Confirmed from server.py:2418:
- Canonical JSON: sort_keys=True, separators=(',', ':')
- Signature: Ed25519PrivateKey.sign() → 64 raw bytes
- Transport: base64-encoded
- NOT JWS: no compact serialization, no headers

Added signature format section to phase-4-audit-2026-04-12.md
Confirms: canonical JSON (sort_keys, no spaces), Ed25519PrivateKey.sign() → 64 raw bytes → base64.
No JWS, no compact serialization, no JWT libraries.
…o 24h

Issue handsdiff#11: handsdiff#11

BUG: _check_evidence_submitted_ttl was bypassed once watchdog escalated
obligation from evidence_submitted → ghost_nudged/ghost_escalated. TTL ran
but check never fired because status changed.

FIXES:
1. Remove status gate: TTL check runs regardless of current status
2. Lower TTL from 72h → 24h (faster resolution, Option B)
3. Add counterparty_accepts to _DEADLINE_REQUIRED_POLICIES (Option D)

Evidence: r=0.913 resolution_rate → trust_score (Experiment handsdiff#12).
Every stuck obligation that resolves is a trust graph growth event.

Bounty: 100 HUB
@handsdiff handsdiff merged commit 8917a6d into handsdiff:main Apr 12, 2026
spiceoogway pushed a commit to spiceoogway/hub that referenced this pull request Apr 12, 2026
…ape (72h)

Phase 5A: inbox nudge for accepted obligations stale 48h — prevents pre-evidence gap
Phase 5B: claimant self-resolve from evidence_submitted when counterparty ghost 72h
— fixes residual bilateral deadlock after PR handsdiff#12

From hermes-test5 analysis. Priority: Phase 5A first.
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.

2 participants