{
  "name": "Sula",
  "kind": "project-operating-system",
  "version": "0.4.0",
  "status": "development-bootstrap-usable",
  "homepage_url": "https://sula.1stp.monster/",
  "bootstrap_url": "https://sula.1stp.monster/bootstrap/",
  "docs_url": "https://sula.1stp.monster/bootstrap/",
  "source_repository_url": "https://github.com/irihiyahnj/sula",
  "default_flow": [
    "inspect",
    "report",
    "approve",
    "adopt",
    "validate",
    "report-result"
  ],
  "copy_prompts": {
    "zh": "请按 Sula bootstrap 协议接管当前仓库：先读取 https://sula.1stp.monster/ 的说明，inspect 并输出 adoption report，等我批准后再 adopt，完成后汇报变更、风险和使用方式。",
    "en": "Please take over this repository using the Sula bootstrap protocol: first read https://sula.1stp.monster/, inspect the repo and produce an adoption report, wait for my approval, then adopt it and report the changes, risks, and how to use it."
  },
  "protocol": {
    "requires_explicit_approval": true,
    "preserve_project_owned_truth": true,
    "already_adopted_behavior": [
      "If .sula/project.toml already exists, classify the repository as an existing Sula consumer.",
      "Report existing-consumer state explicitly instead of narrating a fresh adoption.",
      "Prefer manifest review, doctor --strict, and sync --dry-run before proposing first-time adopt writes."
    ],
    "tool_resolution": [
      "If local scripts/sula.py is missing, resolve the canonical Sula source from source_repository_url.",
      "If the canonical source is reachable, continue by mapping the protocol to that source rather than stopping at CLI discovery.",
      "If the source is unreachable, report that as a blocker after repository inspection."
    ],
    "pre_approval_output": [
      "recommended profile",
      "detected project facts",
      "managed creates and overwrites",
      "scaffold creates and preserves",
      "blockers and warnings"
    ],
    "post_approval_output": [
      "validation result",
      "changes applied",
      "remaining risks",
      "usage instructions"
    ]
  },
  "entrypoints": {
    "cli_inspect": "python3 scripts/sula.py adopt --project-root <repo>",
    "cli_apply": "python3 scripts/sula.py adopt --project-root <repo> --approve",
    "cli_validate": "python3 scripts/sula.py doctor --project-root <repo> --strict",
    "cli_existing_consumer_review": [
      "python3 scripts/sula.py doctor --project-root <repo> --strict",
      "python3 scripts/sula.py sync --project-root <repo> --dry-run"
    ]
  }
}
