code property

String code
final

One of:

  • configuration-exists and lock-exists: the project already has a wayfinder.json or wayfinder.lock, so changing it is migration work, not adoption;
  • bundle-exists: the bundle directory holds files and the request does not bind an existing bundle;
  • bundle-not-directory and bundle-link: the bundle path or one of its parents is a file, or a symbolic link adoption does not write through;
  • bundle-okf-invalid: the existing bundle to bind fails OKF;
  • gitignore-not-file: .gitignore is not a regular file;
  • skill-unowned: a Profile skill directory exists without the marker Wayfinder writes, so it belongs to someone else;
  • skill-foreign: a skill directory Wayfinder installed that this adoption does not install, because its Profile is not in the chain or ships no skill there; the next wayfinder get would delete it, and adoption deletes nothing;
  • skill-root-escapes: .claude/skills or .agents/skills resolves outside the project.

Implementation

final String code;