Skip to content

Decisions and open questions ​

The direction to keep state in Rust is settled. The choice of a storage package still needs tests. This register makes the difference visible.

Two plywood modules pull apart to reveal their blue connecting dowels.

LinkedIn opens a draft you can review before posting.

Use the status column before treating any row as an implementation instruction. For example, the team can design a worker interface around Rust-owned state. Committing to a particular portable package requires the transaction and export checks attached to that choice.

The project owner selected the directions marked confirmed. Detailed implementation choices remain proposed until the corresponding review gates pass. Earlier ADRs remain reference material.

IDDecisionStatusConsequence or next check
D-01Current work is documentation and synthetic contract examples onlyConfirmed scopeNo runtime deployment or DNS changes
D-02Rust owns state and coordinationConfirmed directionUse established libraries rather than rewrite codecs/databases
D-03SQLite plus immutable objects form the portable libraryProposedRun the transaction check and A-07 portable snapshot. Open the export on another OS and verify its objects.
D-04Workers use language-neutral process contractsConfirmed directionNative acceleration is optional
D-05Review HTTP/JSON envelopes before choosing ProtobufProposedCapability semantics matter more than transport branding
D-06SvelteKit/TypeScript client; Rust Axum/Tokio serviceProposedVitePress remains documentation-only
D-07Transactional local jobs/events before a brokerProposed revisionHistorical Rust kernel is the extraction starting point
D-08HTTPS commands and SSE for chat/progressProposedExplicit terminal outcomes and authorized replay
D-09Local authoring publishes immutable cloud revisionsProposedNo two-writer library synchronization in v1
D-10Ambiguous identity stays unresolvedConfirmed quality directionNo name-only or vector-only merge
D-11is373-rag is the planning/build homeWorking repository choiceDonor repositories stay unchanged
D-12Portfolio, docs and application hosting are separateConfirmed directionActual domain cutover is a separate operation
D-13Harvest pinned historical and current Ordo behavior, not whole productsOwner-selected directionRights/dependency tests gate each import
D-14Hosted API/workers are replaceable; a private Rust store owns durabilityProposed operating boundaryLocal embedded store is an explicit exception
D-15Immutable release promotion, typed config and explicit model modeRequired operating directionVerify each TF gate before a compliance claim
D-16Candidate identity, canonical identity and byte integrity are differentRequired data invariantReplace metadata-derived content hashes and label-keyed identity policy

Reconciled alternatives ​

The earlier architecture proposes NATS/JetStream. The revised first slice uses the recovered SQLite job/event kernel, after repair, rather than introducing a broker to mimic a larger deployment. A broker remains an option when measured multi-host needs justify it.

The current rebuild's JSON event store is not the selected durability adapter. Historical Rust transactions provide a better starting point. Current projection and executor types remain useful contract references even where their persistence and hashing mechanisms are replaced.

The workshop's React/Python/PostgreSQL application is a behavior/test donor, not the target stack. The historical graph is a review-lifecycle donor, not a complete canonical identity or scientific-confidence model. Source-specific rationale.

Decisions still required before implementation ​

For a review, state the decision in one sentence, name the alternative, and identify an observation that would change the choice. A portable export that loses the source of a claim would reopen a storage decision even if the package copies quickly.

At S0 choose the runtime toolchain, initial corpus/media budget, authentication approach and exact wire/schema versioning policy. At S4 choose an embedding model and evaluation set; lexical baseline work need not wait for an unselected model. At S6 choose format migration/retention policy and native worker authentication/isolation. At S7 select hosting capacity and model egress policy from verified inventory and measurements.

The public application cannot depend silently on a sleeping Mac. Missing model capability is a reported state. Hardware backend substitution must preserve contract and provenance, not imply bit-identical output or compatible vectors without verification.

Domain naming, paid infrastructure and distributed execution do not block the documentation labs. Record accepted decisions with rationale, rejected alternatives, issue and evidence. Supersede prior choices explicitly; do not erase their history.

IS373 · Documentation and contract labs available · Research runtime planned