`import.meta.resolve`'s `parentURL` argument takes effect only under `--experimental-import-meta-resolve`, which no launch passes, so the fallback resolved from this module rather than from the harness — the one question it existed to answer. The disk walk is the whole answer now, and the refusal memo it needed goes with it. A `file:` URL joins the file branch rather than the package one, where a resolver would only normalize it and report a missing target as present, and a row is skipped on the Loader's own `Boolean(disabled)` so `disabled: 0` is checked like the Loader checks it. A broken card says so through `aria-disabled` rather than `disabled`, and refuses the pick in its own handler. `disabled` took it out of the tab order, which with the reason moved onto the badge left it unreachable without a pointer — reachable before this change, so hiding it was a regression rather than a path that never existed. Both notes this decision partly supersedes are updated in place and cross-linked, one README pair loses an editing residue that repeated a sentence, and the single-row diagnostic no longer reads "row row 1".
description, kind
| description | kind |
|---|---|
| The preset group map: per-session agent composition from preset files, for users and maintainers navigating the group. | package-group |
packages/preset
English | 中文
Summary
The preset group provides per-session agent composition: an agent preset is a directory holding one agent.cordis.yml, and a session composed from a preset runs that preset's tools, prompt sections, and skills while every other session keeps its own. agent-presets owns the roster — discovery over configured roots plus the harness home, the guarded per-agent mount, and copy-only authoring — and persona supplies the composable row that lets a preset change an agent's identity and not only its tools. Together they let one process run several differently composed agents at once.
Table of Contents
Packages
| Package | Role | ctx key |
|---|---|---|
agent-presets |
Preset roster, discovery over trusted and user roots, per-agent composition, copy-only authoring | ctx.agentPresets |
persona |
The composable persona row a preset mounts to shadow or replace the deployment persona | — |
Related documentation
AgentPresetsreference — discovery, mounting, inheritance, and recomposition.- Scope subsystem — scope keys and the parent chain the mount uses to join agents.
- System prompt subsystem — how preset prompt sections register and assemble.
- Per-session agent presets note — design rationale and alternatives.
- Per-preset standing mounts note — why the mount is standing and shared.
The presets the deployment ships live in agent-presets/presets/ — one directory per preset, and that directory listing is the roster; naming them here too would be a second list to keep in step.
Dev Note
Working context for maintainers — click to expand
None.