Files
coreci-chat/.ciagent/config.json
T
CIAgent 2cf16ed091 docs(init): initialize coreci-chat (2 phases)
---ci---
project: default
phase: 0
milestone: v0.1
status: specify
autonomy: full
decisions:
  - id: D-001
    decision: Autonomy level set to "full"
    rationale: User-selected; CI/CD automation without HITL after clarify
    confidence: 1.00
    alternatives: [supervised, guided]
  - id: D-002
    decision: Release forge = gitea (coreci/coreci-chat at https://git.cloudinit.dev)
    rationale: No git origin detected; user chose self-hosted Gitea for releases
    confidence: 1.00
    alternatives: [github, gitlab, local-only]
  - id: D-003
    decision: Milestone version = v0.1 (branch milestone/v0.1-bootstrap)
    rationale: No existing tags; computeMilestoneTag() returns v0.1.0 for a feature/nfr milestone
    confidence: 0.95
    alternatives: []
  - id: D-004
    decision: Phase 0 branch = phase/00-pre-execution (created from milestone)
    rationale: Canonical phase-0 name per branch-strategy reference
    confidence: 1.00
    alternatives: []
  - id: D-005
    decision: Specification parsing deferred to a follow-up session
    rationale: User stated the full spec will arrive separately; init only lands the scaffold
    confidence: 1.00
    alternatives: [expand the literal "Create a folder in ~/coreci-chat" argument into a synthetic spec]
  - id: D-006
    decision: Single-project mode (projects[] empty; files in .ciagent/)
    rationale: Only one project being initialized; no multi-project need indicated
    confidence: 0.90
    alternatives: [register a "coreci-chat" slug in projects[]]
  - id: D-007
    decision: GITEA_TOKEN persisted to .ciagent/.env.secrets (mode 0600); .env* git-ignored
    rationale: Credential collection gate; secrets never written to config.json or committed
    confidence: 1.00
    alternatives: []
---/ci---

Specification: Initialize a CIAgent project scaffold at ~/coreci-chat (full spec to follow in a separate session)
Requirements: [git-native branch hierarchy, .ciagent/config.json, release target, .gitignore, initial commit on phase/00]
Constraints: [branch gate before any file write, GITEA_TOKEN never committed, autonomy=full preset applied verbatim, single-project mode]
Out of scope: [implementation source code, remote git push, milestone release tag, full specification parsing]
2026-08-24 22:20:05 +00:00

99 lines
2.9 KiB
JSON

{
"projects": [],
"active_project": "",
"active_projects": [],
"autonomy": {
"level": "full",
"escalation_hooks": ["deploy", "delete_data", "merge_to_main"],
"clarify_budget": 10,
"decision_confidence_threshold": 0.6,
"max_revision_iterations": 3,
"max_verification_retries": 2,
"escalation_timeout_ms": 300000
},
"model_profile": "quality",
"parallelization": {
"enabled": true,
"max_concurrent_agents": 5,
"min_plans_for_parallel": 2,
"max_concurrent_projects": 3
},
"verification": {
"automated_only": true,
"escalate_visual": true,
"escalate_external_integration": true,
"test_first": true
},
"security": {
"auto_accept_low_severity": true,
"auto_mitigate_medium_severity": true,
"escalate_high_severity": true,
"bash_allowlist": {
"allowed_commands": [
"npm", "node", "npx", "pnpm", "yarn",
"git", "ls", "cat", "head", "tail", "wc",
"echo", "mkdir", "cp", "mv", "rm", "touch",
"pwd", "which", "env", "printenv",
"jest", "eslint", "tsc", "prettier",
"curl", "wget",
"docker", "docker-compose",
"ts-node", "tsx"
],
"max_output_bytes": 1048576,
"timeout_ms": 30000,
"blocked_env_vars": [
"HOME", "PATH", "USER", "SHELL",
"AWS_*", "*_TOKEN", "*_KEY", "*_SECRET",
"*_PASSWORD", "*_CREDENTIAL",
"GITHUB_TOKEN", "GITHUB_API_KEY",
"OPENAI_API_KEY", "ANTHROPIC_API_KEY",
"OLLAMA_CLOUD_API_KEY"
]
}
},
"git": {
"branching_strategy": "phase",
"auto_commit": true,
"auto_push": true
},
"secrets": {
"sources": [".env", ".env.secrets", ".env.*"],
"disallow": ["shell_env", "netrc", "keychain", "rc_files", "global_config"],
"scopes": {
"gitea": "GITEA_TOKEN",
"github": "GITHUB_TOKEN",
"gitlab": "GITLAB_TOKEN",
"openai": "OPENAI_API_KEY",
"anthropic": "ANTHROPIC_API_KEY",
"ollama_cloud": "OLLAMA_CLOUD_API_KEY"
}
},
"release": {
"forge": "gitea",
"gitea": {
"base_url": "https://git.cloudinit.dev",
"owner": "coreci",
"repo": "coreci-chat",
"token_scope": "gitea"
},
"github": { "owner": "", "repo": "", "token_scope": "github" },
"gitlab": { "base_url": "", "owner": "", "repo": "", "token_scope": "gitlab" }
},
"ship": {
"per_phase": true,
"require_release": true,
"allow_skip": false,
"confirm_before_ship": false,
"max_release_retries": 3,
"release_blocking": false,
"build_assets": "milestone"
},
"backend": {
"provider": "auto",
"agent_backends": { "opencode": { "enabled": true } },
"llm_backends": {
"ollama-local": { "base_url": "http://localhost:11434", "model_profile": "balanced" },
"ollama-cloud": { "base_url": "", "api_key_env": "OLLAMA_CLOUD_API_KEY", "model_profile": "quality", "timeout_ms": 60000 }
}
}
}