Skip to content

rpwalsh/scce

Repository files navigation

SCCE — Self Contained Cognitive Engine

Local cognitive engine. One core. One trainer. One response surface. One action layer.

Owner intent flows through one path:

owner prompt → objective/constraints → evidence → operations → validation → repair → artifact → proof/uncertainty/choice records → learning update when allowed → response

No closed cognitive modes. No task-type menus. No output-shape enums.

What this release proves

  • /api/chat is the public turn endpoint. It calls the cognitive core directly.
  • The router returns compatibility hints only. The engine composes behavior from turn state, not mode selection.
  • Large-file ingestion uses a bounded-window incremental path. It does not buffer full files into RAM above the small-file threshold.
  • pnpm review:release boots an isolated instance, runs real scenarios against real server routes, and writes data/review/public-release-review.md and .json.
  • Connector action results are task evidence by design. Explicit owner intent is required for ingestion/training.
  • Proof, uncertainty, and choice records are produced for serious outputs.
  • Alpha trace is emitted for meaningful operations.

Commands

corepack enable
pnpm install --frozen-lockfile
pnpm build
pnpm lint
pnpm test
pnpm review:release

Current route surface (public)

  • POST /api/chat — canonical cognitive-core turn endpoint.
  • GET /api/health — readiness.
  • GET /api/artifacts — artifact listing.
  • GET /api/alpha/trace — alpha transition trace.
  • GET /api/learning/events — learning event log.
  • GET /api/proof/state — proof/uncertainty state.
  • /api/connectors/* — action connectors (evidence only unless explicitly ingested).
  • /api/evidence/* — evidence retrieval.

Known limits

  • OCR and audio transcription are optional dependencies. The engine reports exact missing preconditions when they are absent.
  • DOCX/XLSX/PDF parsing depends on optional parser binaries. The release review reports the exact missing precondition when parsing cannot proceed.
  • Full production brain training is out of scope for this hardening pass.
  • Legacy compatibility routes remain but are not the public cognitive model.

Release review

Run pnpm review:release. It creates isolated temp storage, seeds deterministic fixtures, starts the server on an ephemeral port, executes scenarios, collects evidence/artifacts/alpha/learning/proof records, writes reports, and tears down cleanly.

The review report is the proof surface.

About

LLM-independent inference engine using graph reasoning, spectral retrieval, BM25/SVD search, Kneser-Ney grounded synthesis, concept learning, provenance tracking, and deterministic answer planning without generative hallucination.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors