Skip to content

Improve retry jitter calculations#10

Merged
kalisam merged 1 commit intomainfrom
codex/refactor-computation-with-integer-math
Nov 16, 2025
Merged

Improve retry jitter calculations#10
kalisam merged 1 commit intomainfrom
codex/refactor-computation-with-integer-math

Conversation

@kalisam
Copy link
Copy Markdown
Owner

@kalisam kalisam commented Nov 16, 2025

Summary

  • compute retry backoff durations using integer nanosecond math to avoid overflow and clamp to the cap
  • keep temporary delays as Durations and add tests for jitter behavior below and at the cap

Testing

  • cargo fmt (fails: crate does not resolve centroid_crdt module in current workspace)
  • cargo test (fails: existing compilation errors unrelated to retry strategy changes)

Codex Task

@kalisam kalisam merged commit b2019f1 into main Nov 16, 2025
5 checks passed
@kalisam kalisam deleted the codex/refactor-computation-with-integer-math branch November 16, 2025 21:08
kalisam added a commit that referenced this pull request Apr 5, 2026
substrate_bridge.test.ts (Critical + 2 Majors):
- Wrap fileURLToPath with path.dirname() so hAppPath resolves correctly (#28)
- Add @msgpack/msgpack import + decode record.entry to verify Alice's
  subject/predicate/object/confidence in Criterion 3 instead of only
  asserting entry exists (#30)
- Add Criterion 3b negative test: get_triple_record returns null for
  XOR-mutated non-existent hash, then sanity-checks real hash still
  resolves (#29)

ADR-0 (recognition protocol, both copies):
- Align participant count: "~7 AI systems" -> "6 AI systems" (#5)
- Add Evidence pointers (kernel, ADR index, HARVEST_LOG, etc.) to
  each PASSED Validation Criterion (#6)
- Reclassify harvest-protocol.spec as spec, not ADR-5 itself (#7)
- MD022 blank lines after Positive/Negative/Neutral headings (#1/#2)

ADR-5 (cognitive-virology-pattern):
- Terminal punctuation on Problem Statement bullets (#8)
- HARVEST_LOG.md added to Related Documents (#9)

.serena/memories:
- codebase_structure.md: 5 externs -> 9 with full names, add Infinity
  Bridge connector path (#10)
- project_overview.md: align extern count + current state to 2026-04,
  PR #25 (#11)
- task_completion_checklist.md: expand ADR item with required sections (#14)
- style_and_conventions.md, suggested_commands.md: MD022 blank lines
  around headings + gh CLI now available (#12/#13)

.serena/project.yml:
- Add markdown + yaml to languages (#15)
- Populate initial_prompt with SDD/ADR review checklist (#16)

docs/research:
- "4MB" -> "4 MB" unit spacing (#18)
- Add Query criterion (query_triples without hash) to Phase 0 Gate
  summary so it matches the 6-criterion spec (#19)
- KERI/hREA integration status: Aspirational -> Specified (bridge
  zomes + entry types exist in identity_integrity/hrea_*) (#21)
- cross-ai-orchestration-synthesis: add metadata header marking it
  as working notes (#22)
- Perplexity-Source-Agent-Orchestration: fix 132 mojibake chars
  (em dash, en dash, superscript 2, not-equal) (#24)
- Add truth-status labels to Key New Patterns (AMRO-S, CodeCRDT,
  AgentNet++, DecentLLMs): External Specified / FLOSSI0ULLK Unverified (#17)

docs/specs/phase0-substrate-bridge.spec.md:
- Add typescript language specifier to pseudocode fenced blocks (#25)
- Resolve provenance design: adopt option (b) - extend TripleResult
  with author + created_at fields mapped from KnowledgeTriple (#26)
- Add provenance-retrieval prerequisite to Definition of Done so the
  6-test DoD isn't circular (#27)

Deferred: #20 (comparison-table citation sources) and #23 (extract
gap matrix as separate artifact) - substantial restructuring work
that doesn't block this PR.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant