InvisableOS
Gate armed

Spec · v1.0

Final build

Last gate before git. Detect, rewrite, scrub the commit message, fail-closed if the engine is down. Humans are free. Agents pay. The full operator bible also lives in SPEC.md.

Rewrite order

  1. 01NFC normalize
  2. 02Strip invisible / bidi / tags; fold spaces and homoglyphs
  3. 03Fold Claude typographic carriers; drop C2PA
  4. 04Strip BOM, trailing space
  5. 05Strip AI-voiced comments
  6. 06Strip Claude / Anthropic attribution
  7. 07Normalize indent and quotes
  8. 08Shatter statistical token-bias
  9. 09Collapse blank lines; trailing newline

Detectors

  • Invisible Unicode

    Zero-width spaces, joiners, soft hyphens, and other steganographic format characters.

    required · invisible
  • Bidirectional overrides

    RLO/LRO isolates that can hide payloads or invert source appearance.

    required · bidi
  • Homoglyphs

    Cyrillic, Greek, and fullwidth lookalikes swapped into Latin identifiers or strings.

    required · homoglyph
  • Whitespace stego

    Trailing spaces, mixed tabs, and exotic space characters used as hidden bits.

    optional · whitespace
  • Byte-order mark

    UTF-8 BOM and related signature bytes at the start of a file.

    required · bom
  • Claude / AI comment voice

    Tutorial phrasing, preamble comments, and Anthropic-typical narration in source.

    optional · ai-comment
  • Variation selectors

    VS1–VS256 sequences used in research watermarks and invisible payloads.

    required · variation
  • Tag characters

    Deprecated language-tag plane (U+E0001…U+E007F) used for covert channels.

    required · tag-chars
  • Claude 2026 watermark

    Anthropic’s Aug 2026 mark, Claude/Anthropic credit in comments, and commit-message trailers.

    required · claude-mark

Toll

  • Human

    A person in a browser, or a hook on their laptop

    $0 forever

  • Agent metered

    CI, curl, Claude Code, Cursor, scrapers

    $0.002 per file

  • Agent seat

    One persistent coding agent

    $49 per agent / month

  • Fleet

    An org of agents

    $499 per org / month

Deep rewrite 0.02 / file. Metered keys activate at $5.

Caps

  • scanDaily2,000
  • deepDaily8
  • stagingDaily1,000
  • clientSourceMax400,000
  • deepSourceMax12,000
  • workerBytes48,000

Edit this to change that

  • Add a Unicode code point

    unicode.ts

  • Add a homoglyph

    homoglyphs.ts

  • Add an AI phrase

    comments.ts

  • Add a typographic carrier

    claude-mark.ts TYPOGRAPHIC

  • Add a vendor / model name

    vendor.ts + a battle case

  • Add a fixture

    samples.ts

  • Add a battle probe

    battle.ts cases()

  • Change required detectors

    health.ts REQUIRED_DETECTORS

  • Change prices

    toll.ts SKUS + PRICE

  • Change caps

    limits.ts

  • Rename the product

    __root.tsx APP_NAME + app-shell

File map

  • src/lib/agentos/types.ts

    Detectors, policy, DEFAULT_POLICY

  • src/lib/agentos/detect.ts

    scanSource

  • src/lib/agentos/rewrite.ts

    rewriteSource — ordered pipeline

  • src/lib/agentos/unicode.ts

    Invisible / bidi / tag / spaces

  • src/lib/agentos/homoglyphs.ts

    Lookalike → ASCII

  • src/lib/agentos/comments.ts

    AI-voice phrases

  • src/lib/agentos/claude-mark.ts

    Typographic, C2PA, shatter

  • src/lib/agentos/vendor.ts

    Claude/Anthropic credit + commit scrub

  • src/lib/agentos/health.ts

    Self-test, REQUIRED_DETECTORS

  • src/lib/agentos/battle.ts

    Adversarial battery

  • src/lib/agentos/hooks.ts

    Git hooks

  • src/lib/agentos/limits.ts

    Caps

  • src/lib/agentos/toll.ts

    Human vs agent, SKUs

  • src/lib/agentos/ledger.ts

    Prepaid keys

  • SPEC.md

    This bible, as a file you can diff