Usage
facet create can, plus reconciling the manifest against what is actually on disk.
Nothing is written until you confirm. Exit with Esc twice to discard everything.
facet edit needs a terminal. For scripted edits use facet modify.Exit codes
Details
Reconciliation
When the manifest and disk disagree, you resolve that first:- New text assets on disk: add them to the manifest, or ignore.
- Undeclared files inside a declared skill: adopt them as companion files, or ignore.
- Root files such as
LICENSE: adopt into the top-levelfiles, or ignore. - Declared files missing from disk: scaffold a template at the declared path, or drop the declaration.
README.md and README are handled by the README panel instead, so they never appear twice.
Editing
- Change the facet name, description, and version.
- Switch between public and private without opening
facet.json. - Add, remove, or rename skills, agents, and commands. Deleting a skill removes its declared companions, while files you added to that directory yourself are preserved.
- Edit a text asset’s description in your terminal editor, using
$VISUAL,$EDITOR, orvi.
README panel
BothREADME.md and the extensionless README get their own panel:
Adopting preserves the existing bytes unless you edit them.
Confirmation
The summary shows the final identity, privacy intent, and assets, plus every queued file operation with its exact path. A privacy change takes effect at build time, so rebuild afterwards and bump the version if it was already published. Applying writesfacet.json, scaffolds new text-asset templates, deletes files for removed text assets, and applies your README and supplementary-file choices together.
Troubleshooting
facet edit needs an interactive terminal
facet edit needs an interactive terminal
Cause: the workbench cannot run without a TTY.Fix: use
facet modify, which makes the same changes one flag at a time.the manifest could not be loaded
the manifest could not be loaded
Cause:
facet.json is missing from the directory, or it is not valid JSON.Fix: run facet edit from the facet’s root, or repair the file. To scaffold a new facet instead, use facet create.