Configuration Audit(配置审计)
Use the section matching the user's language. 使用与用户输入语言一致的章节。
Execution Contract
Default to standard; explicit invocation is required.
Complete one primary task by default. Continue an authorized end-to-end workflow within each Skill's permissions; Router remains recommendation-only. Pause for new material decisions or scope, not authorization already given.
Validate according to actual risk; security, production, migrations, releases and other high-risk work use audit. Read references/execution-modes.en.md only when mode selection is unclear.
Configuration Audit
Audit a defined configuration surface from repository evidence. Keep configuration and external environments unchanged.
Boundary
- Route broad repository health to
project-health-check, generic change impact to change-impact-analysis, and edits to safe-fix-implementation.
- Never read, print, store, or request credential values, personal data, or private configuration contents. Report variable names, file locations, and validation behavior only.
- Do not connect to external environments. Treat environment state supplied by the user as unverified unless evidence supports it.
Workflow
- Inventory configuration sources: files, environment variables, flags, remote references, defaults, generated config, and runtime overrides.
- Establish precedence, merge behavior, environment selection, requiredness, types, parsing, validation, fallback, reload, and failure behavior.
- Build a development/test/staging/production matrix using names and evidence only; mark unavailable environments unknown.
- Check drift, obsolete keys, conflicting defaults, unsafe fail-open behavior, undocumented variables, inconsistent names/types, committed sensitive-file patterns, and missing validation.
- Trace configuration to consumers, startup behavior, deployment templates, tests, and documentation.
- Report evidence, severity/priority, impact, confidence, recommendations, validation, and unknowns without showing values or editing config.
Output Contract
- Scope and configuration source/precedence map
- Evidence
- Environment matrix without sensitive values
- Findings with severity, impact, confidence, and affected consumers
- Recommendations and validation
- Undocumented, obsolete, or dangerous settings
- Unknowns
执行契约
默认使用 standard;仅允许用户显式调用。
默认完成一个主任务。用户已授权完整流程时,在各 Skill 权限内连续完成;Router 仍只推荐。新重大决策或超出授权时暂停,不重复索取已有授权。
按实际风险选择验证;安全、生产、迁移、发布等高风险工作使用 audit。模式不明确时才读取 references/execution-modes.zh-CN.md。
配置审计
基于仓库证据审计一个明确配置表面,保持配置和外部环境不变。
职责边界
- 广泛项目健康交给
project-health-check,通用影响交给 change-impact-analysis,修改交给 safe-fix-implementation。
- 不读取、输出、记录或索取凭证值、个人数据和私有配置内容,只报告变量名称、文件位置和校验行为。
- 不连接外部环境;用户提供的环境状态在没有证据时标为未验证。
工作流程
- 盘点配置来源:文件、环境变量、flag、远程引用、默认值、生成配置和运行时覆盖。
- 明确优先级、合并行为、环境选择、必填、类型、解析、校验、fallback、重载和失败行为。
- 仅使用名称和证据建立开发/测试/预发/生产矩阵;不可用环境标为未知。
- 检查漂移、过期键、冲突默认值、危险 fail-open、未文档化变量、名称/类型不一致、敏感文件误提交模式和缺失校验。
- 将配置追踪到消费者、启动行为、部署模板、测试和文档。
- 不显示值或修改配置,报告证据、严重度/优先级、影响、置信度、建议、验证和未知项。
输出契约
- 范围与配置来源/优先级映射
- 证据
- 不含敏感值的环境矩阵
- 发现、严重度、影响、置信度和受影响消费者
- 建议与验证
- 未文档化、过期或危险配置
- 未知项
1---2name: configuration-audit-23description: Explicit-invocation audit of configuration sources, precedence, overrides, defaults, validation, drift, dangerous settings, undocumented variables, and credential-commit risk using repository evidence. Do not trigger for one settled config edit, read sensitive values, connect to external environments, or modify configuration. 仅显式调用:基于仓库证据审计配置来源、优先级、覆盖、默认值、校验、漂移、危险设置、未文档化变量和凭据误提交风险。不得因一个已确定配置修改而触发,不读取敏感值、不连接外部环境,也不修改配置。4---56# Configuration Audit(配置审计)78Use the section matching the user's language. 使用与用户输入语言一致的章节。910## Execution Contract1112Default to `standard`; explicit invocation is required.13Complete one primary task by default. Continue an authorized end-to-end workflow within each Skill's permissions; Router remains recommendation-only. Pause for new material decisions or scope, not authorization already given.14Validate according to actual risk; security, production, migrations, releases and other high-risk work use `audit`. Read `references/execution-modes.en.md` only when mode selection is unclear.1516# Configuration Audit1718Audit a defined configuration surface from repository evidence. Keep configuration and external environments unchanged.1920## Boundary21- Route broad repository health to `project-health-check`, generic change impact to `change-impact-analysis`, and edits to `safe-fix-implementation`.22- Never read, print, store, or request credential values, personal data, or private configuration contents. Report variable names, file locations, and validation behavior only.23- Do not connect to external environments. Treat environment state supplied by the user as unverified unless evidence supports it.2425## Workflow261. Inventory configuration sources: files, environment variables, flags, remote references, defaults, generated config, and runtime overrides.272. Establish precedence, merge behavior, environment selection, requiredness, types, parsing, validation, fallback, reload, and failure behavior.283. Build a development/test/staging/production matrix using names and evidence only; mark unavailable environments unknown.294. Check drift, obsolete keys, conflicting defaults, unsafe fail-open behavior, undocumented variables, inconsistent names/types, committed sensitive-file patterns, and missing validation.305. Trace configuration to consumers, startup behavior, deployment templates, tests, and documentation.316. Report evidence, severity/priority, impact, confidence, recommendations, validation, and unknowns without showing values or editing config.3233# Output Contract341. Scope and configuration source/precedence map352. Evidence363. Environment matrix without sensitive values374. Findings with severity, impact, confidence, and affected consumers385. Recommendations and validation396. Undocumented, obsolete, or dangerous settings407. Unknowns4142---4344## 执行契约4546默认使用 `standard`;仅允许用户显式调用。47默认完成一个主任务。用户已授权完整流程时,在各 Skill 权限内连续完成;Router 仍只推荐。新重大决策或超出授权时暂停,不重复索取已有授权。48按实际风险选择验证;安全、生产、迁移、发布等高风险工作使用 `audit`。模式不明确时才读取 `references/execution-modes.zh-CN.md`。4950# 配置审计5152基于仓库证据审计一个明确配置表面,保持配置和外部环境不变。5354## 职责边界55- 广泛项目健康交给 `project-health-check`,通用影响交给 `change-impact-analysis`,修改交给 `safe-fix-implementation`。56- 不读取、输出、记录或索取凭证值、个人数据和私有配置内容,只报告变量名称、文件位置和校验行为。57- 不连接外部环境;用户提供的环境状态在没有证据时标为未验证。5859## 工作流程601. 盘点配置来源:文件、环境变量、flag、远程引用、默认值、生成配置和运行时覆盖。612. 明确优先级、合并行为、环境选择、必填、类型、解析、校验、fallback、重载和失败行为。623. 仅使用名称和证据建立开发/测试/预发/生产矩阵;不可用环境标为未知。634. 检查漂移、过期键、冲突默认值、危险 fail-open、未文档化变量、名称/类型不一致、敏感文件误提交模式和缺失校验。645. 将配置追踪到消费者、启动行为、部署模板、测试和文档。656. 不显示值或修改配置,报告证据、严重度/优先级、影响、置信度、建议、验证和未知项。6667# 输出契约681. 范围与配置来源/优先级映射692. 证据703. 不含敏感值的环境矩阵714. 发现、严重度、影响、置信度和受影响消费者725. 建议与验证736. 未文档化、过期或危险配置747. 未知项