Scopes And Lookup
Intent lookup is path-scoped. An agent gives Jumpspace one or more paths, and
Jumpspace returns the active intents whose scope patterns match those paths.
npx @jumpspace/cli intent check --for src/app/page.tsx --jsonThe agent should read the matching intents before editing those files. It does not need to load every intent into context.
Scope Values
Section titled “Scope Values”Use a comma-separated string for simple scopes:
scope: src/**/*.ts, src/**/*.tsxUse a YAML array for richer micromatch patterns, including braces and negation:
scope: - "src/**/*.{ts,tsx}" - "!src/**/*.test.ts"Match Bias
Section titled “Match Bias”Scopes should be narrow enough to keep lookup useful. A repo-wide intent can be valid, but it should represent a decision that genuinely applies everywhere.
When lookup returns no matches, agents should not invent intent. They can still use ordinary code and docs, then propose a new intent only when the missing decision is durable and code cannot explain it.