Pull mirror of github.com/fabrig-ai/skein
  • Rust 92.1%
  • Python 7.1%
  • Shell 0.7%
  • HTML 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Free Ekanayaka 89dc263826 lab: the Codex brake keeps the week, and the five-hour window when reported
A plan may report the week alone (promax, read 2026-10-23: one 10080-minute
window). The week is required; the five-hour share binds whenever the
account reports a 300-minute window. No windows, the week missing, a window
of another or a null duration or use, and a reached type still refuse.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Gate-Tree: 4cdc35f083
Gate-Result: scripts/check.sh passed: 6116 tests / 7.765 s; 129 tests / 10.999 s; 84 tests / 57.540 s; 87.54038739204407 s in all
Gate-Policy: sha256:95603bcb784db60ea503f145507cc0d628bde9e69518aa1e9f5a36522b63588f
2026-10-23 18:50:56 +00:00
.cargo Darwin check: the alias, and Linux's own tests built for Linux alone 2026-10-23 15:16:28 +00:00
.config test: provisionally double harness and nextest time caps 2026-10-22 19:24:31 +00:00
.github/workflows macos: round 3, each system's answers and Darwin's own causes 2026-10-23 18:28:11 +00:00
crates macos: round 3, each system's answers and Darwin's own causes 2026-10-23 18:28:11 +00:00
docs macos: round 3, each system's answers and Darwin's own causes 2026-10-23 18:28:11 +00:00
examples Fall back to readiness when io_uring setup is refused 2026-10-23 10:18:19 +00:00
scripts lab: the Codex brake keeps the week, and the five-hour window when reported 2026-10-23 18:50:56 +00:00
testing fake GitHub Apps hold the grants setup asks for 2026-10-23 18:43:16 +00:00
tests fake GitHub Apps hold the grants setup asks for 2026-10-23 18:43:16 +00:00
.gitattributes Share bounded scripted LLM peers and durable opaque replay 2026-10-05 18:21:58 +01:00
.gitignore Tidy after task 01: a neutral lint example, ignore agent worktrees 2026-10-02 22:10:27 +01:00
AGENTS.md docs: provisionally double test-time caps at the user's request 2026-10-22 16:27:18 +00:00
Cargo.lock Test readiness records and force real-world backends 2026-10-23 10:45:25 +00:00
Cargo.toml Test readiness records and force real-world backends 2026-10-23 10:45:25 +00:00
clippy.toml Point code and config at the reorganised docs 2026-10-03 19:27:00 +01:00
LICENSE License the workspace and all members under MIT 2026-10-19 13:30:49 +01:00
README.md Describe the director's role in docs/foundation/director.md 2026-10-21 12:13:48 +01:00
rustfmt.toml Add the workspace and skein-lib, ported from temper-lib 2026-10-02 22:07:14 +01:00

skein

One thread, one loop, no async.

A Rust kit for network services written as step machines over an I/O loop: counted, bounded, and testable whole in a simulated world.

The idea

  • Step machines, not async. A service is plain state machines: a domain that decides, a protocol layer that speaks bytes, and a loop of about ten lines that feeds them what the kernel completed. One thread per process; a service that needs more cores runs more processes.
  • A kit, not a framework. skein has no service trait, no scheduler and no callbacks. A service calls its parts by name, and nothing in skein calls into a service.
  • Counted and bounded. Every part exports its limits and its worst case, and a service adds them up: what it can hold is known before it runs.
  • Tested whole, and reproducibly. io speaks to the kernel in owned records, over io_uring or over a simulator that plays the kernel and its faults. A world runs every process of a system in one seeded loop, over either.
  • Built when pulled. A part is built when its first user needs it, and that user is its first test.

What it holds

  • The base: bounded containers, cursors and time; io, from sockets to processes; the shell that runs the loop; a durable key-value store.
  • Protocols: HTTP/1.1, JSON, TLS, framed channels, and codecs generated from schemas.
  • What services share: LLM calls and their connections, OAuth, and a code forge's calls, client and setup.
  • Interfaces: an application's state as a semantic tree, shown in a terminal or a browser.
  • Testing: the simulator, the world harness, a counting allocator, a browser driver, and fakes of an LLM, an issuer, a forge, a checkout and a person.

skein also holds the foundation that every repository of the family follows, and the tools of its development process.

Start here

Before changing code, read AGENTS.md. main moves only through land, which runs the gate, scripts/check.sh.

The family

These are the repositories of Fabrig, an agent-driven software factory: write, prove, run.

Repository Builds on
skein One thread, one loop, no async
smith Protocol-driven agent loop for AI applications skein
jig Engine for agentic applications skein, smith
temper Agent-driven software development on a forge skein, smith, jig
hearth Immutable machines, built from a revision skein