Nov 9, 2026

J-Space Cognition Suite: Four Operating Levels and Evidence Gates for Long Tasks

A 3k-star suite that loads thirteen modules selectively through one skill, with Python gates that return nonzero when required state, source receipts, map, or evidence are missing or stale — so unverified work does not pass the ship gate.

#tutorial#context-engineering#engineering#ai-agents

Long tasks drift: the repo map goes stale, a "verified" claim has no evidence behind it, and nobody notices until delivery. J-Space Cognition Suite is a 3k-star suite, and the README's intro says: "You install one skill, load relevant modules, and keep long-task decisions connected to durable evidence."

Why This Skill Matters

Per the README, J-Space is an inference-time workspace and control suite for complex reasoning, repository engineering, coordinated agents, and authorized security analysis. Its thirteen modules share one premise and one routing entry; standard-library Python scripts persist state, reread actual source text, detect stale maps and evidence, and return blocking results when a required condition is missing. The host supplies tools and agents.

The premise is the SKILL.md's own framing: it cites research on language-model internals (Gurnee et al., Anthropic, 2026) that identified a small, privileged set of internal representations — the J-space — holding what a model is poised to say, and scopes it as a functional operating frame, since the research measures particular models under particular interventions.

Work enters at one of four operating levels, and the level sets the control:

LevelUseControl
lowA direct answer checkable at a glanceFast pass; no persistent setup
mediumA bounded deliverable with a few dependent stepsFull pass; selective modules and delivery audit
highMulti-file, multi-stage, or persistent workLoop; shared state, source refresh, evidence checks
xhighDifficult integration or competing approaches that benefit from a teamLoop plus bounded agents, second consideration, and independent review

media is an accepted alias for medium, and the README says to raise the level when the task's uncertainty or dependencies require it.

Installation

There is no installer command. The README's quick start is a manual copy:

  1. Copy the complete j-space/ directory into your host's Skills directory. There is no universal location or invocation syntax — obtain the directory from the host's own configuration, keep SKILL.md, modules/, references/, and scripts/ together, and avoid an extra nested j-space/j-space/ directory.
  2. Verify the installed directory with Python 3.10 or later:
<python-command> <skill-root>/scripts/verify_suite.py
  1. Reload the host if it discovers skills only at startup, and select j-space through its skill UI. Use $j-space or /j-space only if that host documents the syntax; otherwise ask it to read the installed SKILL.md explicitly. Confirm it can retrieve one routed module, and execute the installed controller's --help if you need strict gates.

Requirements: a host that can load a local SKILL.md and retrieve its supporting files. Python 3.10+ is needed for the executable controllers and validation; low and medium can use the documented prose fallback instead. No pip dependencies or background service are required.

Real Workflow: Repair a Repository Issue at High

Give the task and its acceptance conditions, the way the README's quick start phrases it:

Use j-space to modify this repository. Inspect the existing contracts, maintain a
source-backed map, delegate independent work where useful, and verify the final behavior.
  1. Initialize the task with its module, then read the routed sources:
<python-command> <skill-root>/scripts/control.py init --goal "Acceptance criteria" --next "Inspect entry points" --level high --module modules/repository.md
<python-command> <skill-root>/scripts/control.py read --agent root
  1. Maintain a semantic map as a task file — the README's example is repo-map.json: areas with purposes, facts carrying a claim plus its evidence path, dependencies with contracts, test routes, and unknowns with how each would be settled. Sync it with repo sync, view it with repo view, and pass the work gate with check --stage work before editing.
  2. Do the work. Record real verification in evidence/root.txt and a separate acceptance checklist in evidence/completion.txt, then submit both through report and pass the ship gate:
<python-command> <skill-root>/scripts/control.py pulse --event checkpoint
<python-command> <skill-root>/scripts/control.py report --agent root --round 1 --summary "Observed repair and coverage" --evidence evidence/root.txt --completion evidence/completion.txt --source src/router.py --next "Deliver checked result"
<python-command> <skill-root>/scripts/control.py repo sync --map repo-map.json
<python-command> <skill-root>/scripts/control.py repo view --agent root
<python-command> <skill-root>/scripts/control.py repo check
<python-command> <skill-root>/scripts/control.py check --stage ship
  1. The src/router.py in that fence is the README's example — keep it only if it is a material source dependency, substitute your actual sources, and repeat --source as needed. Update the map's meaning before that final sync, and resolve open questions and security candidates before shipment. Exit 0 allows delivery; a nonzero result names an unmet condition, and identical retries without changed evidence are not recovery. Do not create empty or fabricated evidence just to pass a gate.

Real Workflow: Independent Review at xhigh

From an initialized high task, route to xhigh before creating reports for the current scope, and register a real child agent with the agent add subcommand — the host must actually launch it; the README is blunt that an ID is not an independent model. The child writes two distinct evidence files after two substantive passes and submits each through report; root independently checks the finding and records its own verdict with review. After all artifacts are stable, update and sync the map, have every active agent run its own read and repo view, then run the root ship gate. If the host truly lacks delegation, record it with note --solo-reason — do not simulate independence by driving two identities yourself.

Tips

  • Default source refresh fires at five tool events or ten minutes, whichever is encountered first, with immediate refresh at relevant phase and recovery events. The README calls these configurable engineering defaults — measure drift and input cost for your host.
  • Run controllers in the target project's task directory, not the installed skill directory; otherwise pass --root TASK_DIRECTORY before a subcommand.
  • The optional jspace.py ledger is a standalone aid for bounded work, and its ship output is advisory. Use control.py for strict gates, and do not maintain this ledger alongside the strict controller for the same task.
  • Installing the files does not automatically register hooks, launch agents, or grant tool access.
  • With no native hooks, call the same commands at explicit boundaries and describe the setup as cooperative control, as the README puts it.

When Not to Use This

The README draws its own boundaries. The suite is designed for real engineering and production-oriented projects with contracts, dependencies, verification, and recovery needs — it is not aimed at toy demonstrations such as "a pelican riding a bicycle," and suitability for serious work is a design focus, not a guarantee that any untested deployment is production-ready. With no Python or filesystem, the fallback is a restated conversation ledger plus retrieving source text with available tools, and the README says to report the missing executable safeguards. The suite also acts through instructions, tools, external state, and host event handling: it does not modify model weights, measure neural workspace size, or guarantee activation of different MoE experts. Tests establish the implemented behaviors they cover, not universal model performance gains.


See the leaderboard for more skills.