Skip to content
 
 

Latest commit

 

History

507 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcode Repository

BITCODE_SPEC.txt is the canonical pointer for active-system work. It currently resolves to V28; V29 is the active draft target for deeper Terminal transaction workflows and operator recovery.

Current Product Posture

Bitcode is the protocol and the commercial source tree implements it in-place. The primary operator routes are:

  • /terminal for depositing, reading, transaction work, and protocol follow-through.
  • /auxillaries for Wallet, Externals, Profile, and Interfaces support surfaces.

Exchange and website Conversations remain in source as deferred commercial work. V29 closure focuses on Terminal transaction depth over the promoted V28 Reading, Finding Fits, AssetPack preview, BTC settlement, rights transfer, and delivery canon.

The protocol demonstration remains the minimal deterministic reference for the same protocol. Commercial code may mount or compare against demonstration runtime facts, but commercial source should name the owning product surface directly: Terminal, Exchange, Auxillaries, Conversations, API, MCP, or ChatGPT App.

Repository Rules

  • Ground new work in BITCODE_SPEC.txt and the active specification family.
  • Treat _legacy/ as non-canonical.
  • Do not add explicit versioned source routes or compatibility source names.
  • Update source in-place to match the active canon and current draft target.
  • Keep specification notes, QA ledgers, tests, and implementation synchronized.

Contributor Workflow

The default branch is protected by the active Bitcode Core Contributions ruleset. Direct pushes to main are not part of the normal workflow; expect them to be rejected because changes must arrive through pull requests and verified signatures.

Use a version branch and gate-numbered branches:

  1. Create one base branch per draft target, such as version/v29.
  2. Create scoped gate branches from the version branch. Prefix every gate branch with the gate number, for example v29/gate-1-objectives-and-gating or v29/gate-6-settlement-reconciliation-repair.
  3. Group related work into clear commits with quality commit messages whose titles and bodies describe the proof, implementation, or documentation change.
  4. Continue on the gate branch until that gate's acceptance criteria are implemented, specified, tested, documented, committed, pushed, and ready for closure review.
  5. Open pull requests from gate branches into the version branch as gates close. Title gate PRs with the uppercase version and gate prefix plus a topical title, for example V29 Gate 5: AssetPack Disclosure Rights And Preview Depth.
  6. Open the version branch back into main only after all gates close and the version is formally promoted as canon.

Gate pull requests into version/** run the Bitcode gate-quality workflow: active/draft canon checks, casing/import checks, relevant package typechecks and Jest suites, protocol-demonstration QA, and diff hygiene. The repository-wide canon quality workflow stays green during draft work by checking active/draft posture and promoted-spec proof posture, while full promoted-suite closure is reserved for the version promotion workflow. Version pull requests into main run the version promotion workflow. For V29, promotion work must validate the Terminal-depth proof posture, generate BITCODE_SPEC_V29_PROVEN.md, and commit promotion artifacts plus the BITCODE_SPEC.txt pointer change from V28 to V29 on the version branch. Gate 10 is the local/staging promotion-readiness gate; run pnpm run check:v29-gate10 before opening the final gate PR. The V29 promotion workflow is v29-canon-promotion.yml. The application CI workflow uses the root pnpm workspace install, runs uapi lint/typecheck/build plus mocked Jest coverage, and keeps heavier legacy scans explicitly opt-in until their catalogs are refurbished: set ENABLE_FULL_DB_E2E, ENABLE_STORYBOOK_BUILD, ENABLE_SUPER_LINTER, or ENABLE_ADVANCED_CODEQL when those checks are intentionally part of a branch or promotion validation.

Key Surfaces

Repository Map

  • uapi/: commercial website, API routes, Terminal, Exchange, Auxillaries, Conversations, public docs, and shared UI systems.
  • protocol-demonstration/: deterministic Bitcode demonstration, proof generator inputs, and standalone validation runtime.
  • packages/*: protocol, storage, inference, conversation, BTD, API, MCP, ChatGPT App, and integration package owners.
  • .bitcode/: generated proof, checkpoint, and spec-family artifacts.

Common Commands

Mock-mode commercial review:

cd uapi
NEXT_PUBLIC_MASTER_MOCK_MODE=true \
NEXT_PUBLIC_ENABLE_MOCKS=true \
NEXT_PUBLIC_MOCK_USER_ORBITAL=true \
NEXT_PUBLIC_MOCK_USER_ORBITAL_SCENARIO=demo \
NEXT_PUBLIC_MOCK_SCENARIO=demo \
NEXT_PUBLIC_MOCK_GITHUB_ACCOUNTS=true \
NEXT_PUBLIC_MOCK_GITHUB_REPOS=true \
HOST=127.0.0.1 PORT=3000 pnpm dev:remote

Commercial verification:

cd uapi
pnpm exec tsc --noEmit --pretty false
pnpm run test:e2e:commercial-mvp

Demonstration verification:

cd protocol-demonstration
pnpm test:integration
pnpm test:v28-mvp-qa

About

Bitcode ($BTD) is an auditable protocol for technical knowledge.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages