apiVersion: huoban.dev/v1alpha1
kind: Profile
metadata:
name: agents-profile
labels:
huoban.dev/imported-from: examples/import/AGENTS.md
spec:
layers:
- name: style
data:
preferSmallChanges: true
avoidUnrelatedRefactor: true
testFirstForBugfixes: true
content: |-
Prefer small surgical changes. Do not refactor unrelated code.
Use test-first changes for bug fixes when practical.
- name: commands
data:
commands:
- npm run validate
- npm run explain
content: |-
Run `npm run validate` before finalizing schema or example changes.
Use `npm run explain` to inspect the example workspace.
- name: risk
data:
requiresApproval:
- publishRemote
- modifyGitHistory
- accessSecret
inferred: true
content: Ask before modifying git history, publishing remote changes, or accessing secrets.
status:
conditions:
- type: ProfileImported
status: "True"
reason: ImportedFromMarkdown
message: examples/import/AGENTS.md was converted into Profile layers.
- type: ImportNeedsReview
status: "True"
reason: RuleBasedInference
message: Structured fields were inferred by deterministic rules and should be reviewed.