Files
zeekay 1b367e2b62 chore: rebase the tree onto upstream master
The tree was a debranded snapshot of upstream taken around 2026-02-20, and
upstream has moved about five months since. This replaces it with upstream
master, mechanically re-derived: bin/debrand does the rename, and the
pipeline and squashed migrations are restored from the shipped tree.

Not a merge. The previous import replaced the tree wholesale in a single
commit, so there is no shared content history to merge against. Reproducing
the rename on the new tree is what actually converges.

What survives: .hanzo/workflows, the Dockerfiles and bin/docker* entrypoints,
compose files, LLM.md, and insights/migrations. The squashed initial
migration is load-bearing — the live database records it by name, so
upstream's ~918 individual migrations cannot come back.

Nine products are dropped as unreferenced. Twenty-one more that we do not run
are kept anyway because the core app still imports them; unpicking those is a
refactor and does not belong in a rebase.

This base does not build yet, and the reasons are not in the rename:
upstream now wants Python 3.13.13 against our 3.12.12 and Django 5.2 against
our 4.2, and the dependency manifests still name upstream packages that we
republish under our own names. Those are decisions, not renames.
2026-08-01 15:44:40 -07:00

135 lines
5.6 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"allowed_tools": {
"description": "List of pre-approved tools the skill may use. Tool names cannot contain whitespace.",
"items": {
"type": "string"
},
"type": "array"
},
"base_version": {
"description": "Latest version you are editing from. Used for optimistic concurrency checks. Required when publishing content changes; optional for an owner-only update (when omitted, owners are replaced without a concurrency check).",
"minimum": 1,
"type": "number"
},
"body": {
"description": "Full skill body (SKILL.md instruction content) to publish as a new version. Mutually exclusive with edits.",
"type": "string"
},
"compatibility": {
"description": "Environment requirements.",
"maxLength": 500,
"type": "string"
},
"description": {
"description": "Updated description for the new version.",
"maxLength": 4096,
"type": "string"
},
"edits": {
"description": "List of find/replace operations to apply to the current skill body. Each edit's 'old' text must match exactly once. Edits are applied sequentially. Mutually exclusive with body.",
"items": {
"properties": {
"new": {
"description": "Replacement text.",
"type": "string"
},
"old": {
"description": "Text to find in the target content. Must match exactly once.",
"type": "string"
}
},
"required": ["old", "new"],
"type": "object"
},
"type": "array"
},
"file_edits": {
"description": "Per-file find/replace updates. Each entry targets one existing file by path and applies sequential edits to its content. Non-targeted files carry forward unchanged. Cannot add, remove, or rename files — use 'files' for that. Mutually exclusive with files.",
"items": {
"properties": {
"edits": {
"description": "Sequential find/replace operations to apply to this file's content.",
"items": {
"properties": {
"new": {
"description": "Replacement text.",
"type": "string"
},
"old": {
"description": "Text to find in the target content. Must match exactly once.",
"type": "string"
}
},
"required": ["old", "new"],
"type": "object"
},
"type": "array"
},
"path": {
"description": "Path of the bundled file to edit. Must match an existing file on the current skill version.",
"maxLength": 500,
"type": "string"
}
},
"required": ["path", "edits"],
"type": "object"
},
"type": "array"
},
"files": {
"description": "Bundled files to include with this version. Replaces all files from the previous version. Mutually exclusive with file_edits.",
"items": {
"properties": {
"content": {
"description": "Text content of the file.",
"type": "string"
},
"content_type": {
"default": "text/plain",
"description": "MIME type of the file content.",
"maxLength": 100,
"type": "string"
},
"path": {
"description": "File path relative to skill root, e.g. 'scripts/setup.sh' or 'references/guide.md'.",
"maxLength": 500,
"type": "string"
}
},
"required": ["path", "content"],
"type": "object"
},
"type": "array"
},
"license": {
"description": "License name or reference.",
"maxLength": 255,
"type": "string"
},
"metadata": {
"additionalProperties": {},
"description": "Arbitrary key-value metadata.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"owners": {
"description": "Replace the skill's owners with these user UUIDs (each a member of this project). Omit to leave owners unchanged; pass an empty list to clear them. Owners are keyed on the logical skill, so setting them is independent of the version being published — a body edit alone never changes ownership.",
"items": {
"type": "string"
},
"maxItems": 25,
"type": "array"
},
"skill_name": {
"pattern": "^[^/]+$",
"type": "string"
}
},
"required": ["skill_name"],
"type": "object"
}