Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Living Context Engine

A local-first operational-memory compiler. It turns project files into traceable decisions, blockers, actions, risks, questions, facts, and notes stored in SQLite and available through CLI, exports, context packs, or a read-only HTTP API.

Ten-minute activation

python -m venv .venv
. .venv/bin/activate
python -m pip install .
lce ingest examples --project demo
lce query "deployment blocker" --project demo
lce timeline --project demo
lce pack "what changed and what is blocked" --project demo

No cloud account or API key is required for local CLI use.

Input contract

The engine ingests Markdown, text, JSON, and YAML files. It recognizes explicit operator language such as:

Decision: use a single package manager.
Blocker: production credentials are missing.
Action: run a clean deployment.
Risk: stale context may produce an unsafe decision.
Question: who owns the migration?
Evidence: the clean build passed.

Ordinary lines remain searchable notes. Every record preserves project, relative source path, source line, content hash, and observed timestamp. Symlink sources are rejected and source replacement is isolated by project.

Integration surfaces

  • CLI for local and CI workflows;
  • SQLite database at data/living-context.sqlite;
  • JSON/CSV export;
  • source-linked Markdown and JSON context packs;
  • read-only API: /health, /health/ready, /api/status, /api/projects, /api/query, /api/timeline.

Local API:

lce serve --host 127.0.0.1 --port 8790

Non-loopback API:

export LCE_API_TOKEN="replace-with-a-long-random-token"
lce serve --host 0.0.0.0 --port 8790
curl -H "Authorization: Bearer $LCE_API_TOKEN" http://127.0.0.1:8790/api/projects

Lifecycle and deletion

lce projects
lce delete-project demo --yes

Project deletion is an explicit destructive operator action. The HTTP service is read-only.

Evidence boundary

Classification is deterministic and intentionally conservative. A context pack is a source-linked retrieval artifact, not a completeness guarantee, autonomous memory, or decision-maker.

See docs/INTEGRATION.md, docs/API.md, and DEPLOYABILITY_DISTRIBUTION.md.

About

A local, deterministic pipeline that converts raw files into structured, queryable operational context (decisions, blockers, actions) stored in SQLite and surfaced via CLI.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages