SEIF CLI and console
Add this repository's bin directory to PATH, or run bin/seif. It uses the bundled Node and the same engine as Context Lab. An existing unrelated seif installation is not replaced. Select projects with --project <folder>.
seif init "Support"
seif init "Padaria" --template vendas
seif init "Associação Exemplo" --template orientacao
seif migrate --to-files
seif migrate --to-json
seif compass "How should I handle a partner refund?"
seif compass "How should I handle a partner refund?" --json # keep the .checkpoint value
seif compass "How should I handle a partner refund?" --checkpoint <checkpoint>
seif resolve "How much is Pro?" --input customerId=CUST-1042 --profile support-answer
seif test tests/refund-known-customer.ctx.md
seif doctor
seif learn conversations/ --us "Our name" --write
seif find "How much does a partner earn?"
seif agents-md --write
seif mcp --project .
seif why "How much is Pro?" "pricing"
seif diff deployed..working --environment production
seif diff builds/build-0001..working
seif build --environment development
seif promote <registered-build-id> --registry https://registry.example --environment <id> --token-ref env:CONTEXT_CI_TOKEN
seif sweep experiments/budget.exp.yaml
seif trace open <id>
seif trace replay <id>
seif trace diff <id>
seif trace guard <id> --forbid knowledge/old.md#price --reviewed
seif ask "Should escalation be required?"
compass, doctor, learn, find, agents-md and mcp are the agent-native commands (SEIF in the agent you already use). compass is the default entry: it composes task resolution, relevant negative space, unknowns, health, Context Tests and a session checkpoint; it does not replace immutable Build regression.
Output is readable by default; --json is stable machine output. sweep prints the profile's current values, the recommended configuration (cheapest one in which every test passes) and the knee trade-off point; see Context Lab. Test runs mark ✓ all passing, ✕ any failure and ? when results stay UNKNOWN. Exit 1 means failed tests/build; exit 2 is invalid input or an operation error. No arguments opens the REPL with persisted, redacted history and command/path/layer completion. The native Console accepts exactly the same arguments. Paths with spaces can be quoted. The default model proposal state is UNKNOWN until a proposal provider is configured; ask never invents a response or edits a project.
Promotion calls the existing Registry and obeys its roles, approval and regression gates. It does not turn a local Build into an asserted deployment. A local bindings/<env>.binding.yaml can reference build: builds/build-0001 and its digest for offline comparison; actual Registry deployments remain authoritative remotely. CI (context.mjs/ci.mjs) uses the same file compiler, resolver, tests and Build operations. Existing JSON projects and CI options remain compatible.
Funnel and cloud
| Command | What it does |
|---|---|
seif funnel --project . [--date YYYY-MM-DD] | The funnel in this copy: leads per checkpoint and what is due that day (read only). See funnel.md. |
seif cloud link | Connects this computer to your app.seifprotocol.com account: prints a code to approve in the browser, then waits. |
seif cloud projects | Your cloud projects. |
seif cloud attach <project id> --project . | Links a folder that already holds that project (a Git clone); identical files become the agreement. |
seif cloud sync --project . | Two-way sync, as the desktop does: an edit on both sides keeps the cloud's and saves this computer's copy under .workstation/sync-conflicts/. |