Run:
.venv\Scripts\python.exe -m unittest discover -s tests -vcurl http://127.0.0.1:9300/healthzExpected:
- JSON response
portis9300db_existsistrue
ctx.bat project register --repo D:\Work\MyApp --name "My App"
ctx.bat project paths --repo D:\Work\MyApp
ctx.bat hub syncExpected:
- a workspace appears under
projects/<project-slug>/ - a repo bridge file appears at
D:\Work\MyApp\.obsmcp-link.json - the hub vault is refreshed
ctx.bat --project D:\Work\MyApp task create "Test continuity" --description "Verify ctx write path"
ctx.bat --project D:\Work\MyApp session open --actor tester --client cli --model local --project-path D:\Work\MyApp --initial-request "Verify continuity" --goal "Exercise session tracking"
ctx.bat --project D:\Work\MyApp status
ctx.bat --project D:\Work\MyApp current
ctx.bat --project D:\Work\MyApp audit
ctx.bat --project D:\Work\MyApp resume- Run
ctx.bat --project D:\Work\MyApp note "Testing daily note sync" - Open
projects/<project-slug>/vault/Daily/<today>.md - Confirm the entry appears
ctx.bat --project D:\Work\MyApp atlas generate
ctx.bat --project D:\Work\MyApp describe module server\service.py
ctx.bat --project D:\Work\MyApp describe symbol generate_resume_packet --module server\service.py --type function
ctx.bat --project D:\Work\MyApp knowledge search "resume packet"Expected:
- semantic descriptions are returned
projects/<project-slug>/vault/Research/Architecture Map.mdexistsprojects/<project-slug>/vault/Research/Module Summaries.mdexistsprojects/<project-slug>/vault/Research/Feature Map.mdexistsprojects/<project-slug>/vault/Research/Symbol Knowledge/contains generated notes
ctx.bat --project D:\Work\MyApp compact --profile fast --max-tokens 1200
ctx.bat --project D:\Work\MyApp compact --profile balanced --max-tokens 2500
ctx.bat --project D:\Work\MyApp compact --profile deep --max-tokens 4500
ctx.bat --project D:\Work\MyApp deltaExpected:
- the compact commands return progressively richer context variants
- repeated calls on unchanged state should return quickly from cache
deltashows only changes since the latest handoff/session referenceprojects/<project-slug>/.context/HOT_CONTEXT.mdexistsprojects/<project-slug>/.context/BALANCED_CONTEXT.mdexistsprojects/<project-slug>/.context/DEEP_CONTEXT.mdexistsprojects/<project-slug>/.context/DELTA_CONTEXT.mdexists
ctx.bat --project D:\Work\MyApp atlas generate --background
ctx.bat --project D:\Work\MyApp atlas jobs
ctx.bat --project D:\Work\MyApp atlas wait SCAN-REPLACE-ME --wait-seconds 60Expected:
- the first command returns a
SCAN-...job ID quickly atlas jobsshows the job asqueued,running, orcompletedatlas waiteventually returnscompleted- after completion,
ctx.bat --project D:\Work\MyApp atlas statusshows the updated atlas metadata
- Run
install_task_scheduler.bat - Reboot or sign out and back in
- Run
curl http://127.0.0.1:9300/healthz - Confirm the server is up without manual start
- Register the repo and inspect the workspace paths
- Create a task and set it current
- Open a session
- Log work and create a handoff
- Close the session
- Open another tool that can read files
- Confirm it can continue from
projects/<project-slug>/.context
- In tool A, open a session and create a task
- In tool A, log work and run
ctx.bat --project D:\Work\MyApp handoff ... - In tool A, close the session
- In tool B, read
projects/<project-slug>/.context/HANDOFF.mdandprojects/<project-slug>/.context/CURRENT_TASK.json - Continue work without re-explaining the project
- In tool B, append more work, create the next handoff, and close the session
- Open a session and log at least one work entry
- Do not close the session cleanly
- Run
ctx.bat --project D:\Work\MyApp recover --session SESSION-REPLACE-ME --actor claude-recovery - Confirm an emergency handoff and resume packet are written into the project workspace