Namespace + Deployment (2-4 CPU, 4-8Gi mem) running node:20-slim with pi installed at startup, wired to the homelab-ornith/reasoning/qwen model providers via the existing model-invoke-apikey. Placeholder node:20-slim image for now, real harness image to follow.
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: pi-config
|
|
namespace: agent-pod
|
|
data:
|
|
config.json: |
|
|
{
|
|
"autoLoadSkills": [
|
|
"caveman",
|
|
"karpathy-guidelines"
|
|
],
|
|
"skillsPath": "~/.pi/skills",
|
|
"enforceRules": {
|
|
"karpathyGuidelines": {
|
|
"enabled": true,
|
|
"strict": true,
|
|
"rules": [
|
|
"Think before coding - surface assumptions and tradeoffs",
|
|
"Simplicity first - minimum code that solves the problem",
|
|
"Surgical changes - touch only what you must",
|
|
"Goal-driven execution - define verifiable success criteria"
|
|
]
|
|
}
|
|
},
|
|
"projectSpecific": {
|
|
"homelab": {
|
|
"gitOpsOnly": true,
|
|
"noManualKubectl": true,
|
|
"rebaseOnly": true,
|
|
"cnpgPattern": "unified-app-user"
|
|
}
|
|
}
|
|
}
|
|
settings.json: |
|
|
{
|
|
"defaultModel": "qwen2.5:3b-instruct",
|
|
"defaultProvider": "homelab-qwen",
|
|
"defaultThinkingLevel": "medium",
|
|
"theme": "light"
|
|
}
|