QuickRouter · 人工操作教材 · 非目标产品 UI / 非模型会话日志

Codex exec 教程 · 配置与操作材料

run-codex.txt

codex exec --sandbox read-only --output-schema impact.schema.json --json -o actual-impact.json "Read src/schema.ts and migration source; produce evidence-backed impact report, preserve unknowns" > events.jsonl

impact.schema.json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "identity",
    "items"
  ],
  "properties": {
    "identity": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "file",
          "line",
          "snippet",
          "status",
          "basis"
        ],
        "properties": {
          "file": {
            "type": "string"
          },
          "line": {
            "type": "integer"
          },
          "snippet": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "review",
              "unchanged",
              "unknown"
            ]
          },
          "basis": {
            "type": "string"
          }
        }
      }
    }
  }
}