Skip to content

πŸ₯‰ [SR-00] scarab-types β€” dep-free serde primitives (GOLD I bottom)Β #448

Closed

Description

@gHashTag

Soul-name: Scarab Smith Β· Codename: LEAD Β· Priority: P1-HIGH Β· Kingdom: Rust
Ring: GOLD I trios-igla-race-pipeline / SR-00 (bottom of GOLD I)
Part of: #446
Blocks: SR-01, SR-02, SR-03, SR-04, SR-05, BR-OUTPUT
Blocked by: β€”

Goal

Extract dependency-free typed primitives from the monolith crates/trios-igla-race/src/{neon.rs,status.rs,schema/igla_race.sql} into a serde-only ring. This is the foundation for every other GOLD I ring.

Acceptance criteria

  • crates/trios-igla-race-pipeline/ GOLD scaffold exists (RING.md, Cargo.toml, src/lib.rs facade ≀ 50 LoC).
  • crates/trios-igla-race-pipeline/rings/SR-00/ contains README.md, TASK.md, AGENTS.md, Cargo.toml, src/lib.rs (I5).
  • Cargo deps: serde + serde_json + uuid + chrono only (no tokio, no sqlx, no reqwest).
  • Public types: Scarab, Heartbeat, JobId, BpbSampleRow, WorkerId, Seed, JobStatus, StrategyId.
  • All types serialize/deserialize via JSON roundtrip and match schema/igla_race.sql columns 1:1.
  • Backward-compat re-exports kept in crates/trios-igla-race/src/neon.rs and src/status.rs so the live fleet keeps building.
  • Unit tests: roundtrip + .sql schema parity (compile-time assertion table-test).
  • cargo test -p trios-igla-race-pipeline-sr-00 --no-deps green in < 5 s.
  • cargo clippy -- -D warnings clean.
  • PR closes this issue (L2), Agent: LEAD trailer (L14).
  • .trinity/experience/ line written (L7).

Notes

🌻 phi² + phi⁻² = 3

Activity

  1. gHashTag commented on May 2, 2026

    @gHashTag
    CollaboratorAuthor

    IN-FLIGHT β€” Soul: Proto Smith Β· Codename: ALPHA Β· Branch: bee/448-scarab-types

  2. added 2 commits that reference this issue on May 2, 2026
    a178f2f
    0cc4a9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions