{
  "date": "2026-10-30",
  "schemaVersion": 37,
  "compilerVersion": "fago-compiler-v5",
  "goalStatus": "active",
  "status": "verified_increment",
  "scope": "固定资源候选合同/参数、真实标量表单两策略与当前原来源复核；R3.1完整目标保持进行中",
  "checks": {
    "mysqlNewResourceCandidates7": "passed",
    "postgresNewResourceCandidates7": "passed",
    "workspace26RaceVet": "passed",
    "independent26Fresh": "passed",
    "changedCoreApprovalResourceBpmAppNilness": "passed",
    "dmMigrationBuild": "passed",
    "fullWorkflowAndMigration": "passed after whole-graph future-field fix",
    "documents": "passed: sync/check/build/check; 60 pages; browser section/anchor/roadmap/four sections",
    "mysql": {
      "application": 58,
      "migration": 7,
      "race": "passed"
    },
    "postgres": {
      "application": 58,
      "migration": 7,
      "race": "passed"
    },
    "futureNodeInvalidFieldMysqlPostgres": "passed; no instance/submission/slot/receipt/candidate partial state"
  },
  "queryCounts": {
    "mysql": {
      "resourceSources1": 47,
      "resourceSources16": 47
    },
    "postgres": {
      "resourceSources1": 47,
      "resourceSources16": 47
    },
    "ordinaryTaskCohorts1_20": 43,
    "scope": "GORM Query/Row计数，各表分布相同，不含事务控制/写SQL，不代表p95或执行计划认证"
  },
  "invariants": [
    "v5冻结resource selector.field；旧v1-v4拒绝新增JSON键，旧运行时语义保留",
    "发布/重新启用校验真实formVersion/整数用户字段，构造检查具体资源/审批策略端口及精确合同",
    "resource.form-user和resource.submitter只取固定Submission，不用当前变量/最新草稿/客户端IDs",
    "SourceID是完整节点候选数组的1-based位置，原人/原种类/原位置配对不能由后来来源替代",
    "当前有效用户同租户批量收缩，空候选assignment_error，不自动通过；非正ID发起整体回滚",
    "默认排除自审批；明确管理补分配使用manual来源并留历史，不扩展原快照",
    "复用已有资源锁/同一tx，一个节点来源一次解析；故障回滚提交/实例/占位/任务/授权",
    "首次发起在实例/提交被接受前校验全图资源候选字段值形状，后续节点非法值不能卡住已提交实例；不提前授权未来用户"
  ],
  "limits": [
    "当前实际资源策略仅内置标量表单的原提交人与单个整数用户ID字段，未认证外部业务资源或任意脚本",
    "无新增迁移、工作流HTTP或前端页面；未重跑全部历史业务/S3/外部IdP",
    "达梦仅迁移构建，未执行真实DM/跨进程/滚动部署/p95容量或新SQL执行计划认证，无生产部署",
    "W06最终组合验收、W07其他资源及W08-W12继续实施；R3.2设计器/复杂控件/附件保留"
  ],
  "preparationFailures": [
    "初次应用编译发现候选组合类型尚未添加resources字段，补齐后应用构建及新实库专项通过",
    "最终复核发现后续节点非法不可变用户ID可卡住前一票；已前移至首次提交全图参数/值校验，未来0/-1单元及future-negative两节点实库回归、最终完整双库补验通过。"
  ],
  "commands": [
    "bash scripts/test-workflow.sh",
    "bash scripts/test-backend.sh",
    "bash scripts/test-independent.sh",
    "changed core/approval/resource/bpm/app go vet -vettool=/tmp/fago-review-nilness ./...",
    "fago-migrations go test -tags fago_dm ./..."
  ],
  "goEnvironmentPrecondition": "所有Go命令先source外层scripts/go-env.sh；集成仅使用脚本新建专用数据库和独立Redis",
  "logSHA256": {
    "fago-m6-resource-candidates-dm.log": "66639f1a0277c2fdffb40fb7ffbea40b71e0a8d0dc89f362e350ce9767ed672c",
    "fago-m6-resource-candidates-app-nilness.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "fago-m6-resource-candidates-core-nilness.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "fago-m6-resource-candidates-approval-nilness.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "fago-m6-resource-candidates-workspace.log": "1c0139418f72dd7e201f095f34570225acc798721094906491e7dfef612312e6",
    "fago-m6-resource-candidates-bpm-nilness.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "fago-m6-resource-candidates-resource-nilness.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "fago-m6-resource-candidates-bpm.log": "ebecbd064b4a97ecc0d4c5e8e41816b380a7543392b261b1d5250ca4e7ed9888",
    "fago-m6-resource-candidates-app-compile.log": "01a6a475d42ebcfe51912ffe7af30362c7666c6079fd4870c12db4eddddff7bf",
    "fago-m6-resource-candidates-independent.log": "7c83b76e342f21e18570a29106948fc6616833e55edc139fa8e3d7c7ef8f905c",
    ".cache/m6-r31/integration-20261030T013027Z/mysql-fago-server.log": "776e788739352c59badeb404dd1794cc5408a5601c9ceb6c27d6af3180137373",
    ".cache/m6-r31/integration-20261030T013027Z/mysql-fago-migrations.log": "c8446f8a64e7d9de102f8a664341cc499b043fa794dfd9a4618af10a9d475ab7",
    ".cache/m6-r31/integration-20261030T013027Z/postgres-fago-server.log": "7810f22a924d348596d89c66f309a273dfc81ed2783439b509ba1d341c99cbb5",
    ".cache/m6-r31/integration-20261030T013027Z/postgres-fago-migrations.log": "eb160b2d052358821a9597be779ceefbc7946b01cd45604d1420b55ce47301d5",
    "fago-m6-resource-candidates-docs.log": "8a7ec8c1d051d49f88a23bb7a11b683d93c43c9ac2cc55f5f8f2490794b488aa"
  },
  "databaseMatrix": {
    "mysql": {
      "driver": "mysql",
      "status": "passed",
      "commands": [
        {
          "module": "apps/fago-server",
          "passed": 58,
          "log": ".cache/m6-r31/integration-20261030T013027Z/mysql-fago-server.log"
        },
        {
          "module": "fago-migrations",
          "passed": 7,
          "log": ".cache/m6-r31/integration-20261030T013027Z/mysql-fago-migrations.log"
        }
      ],
      "cleanup": true
    },
    "postgres": {
      "driver": "postgres",
      "status": "passed",
      "commands": [
        {
          "module": "apps/fago-server",
          "passed": 58,
          "log": ".cache/m6-r31/integration-20261030T013027Z/postgres-fago-server.log"
        },
        {
          "module": "fago-migrations",
          "passed": 7,
          "log": ".cache/m6-r31/integration-20261030T013027Z/postgres-fago-migrations.log"
        }
      ],
      "cleanup": true
    }
  },
  "fagoCommit": "2c63172821d8f62fed734b1acc7161416091542b",
  "fagoPush": "origin/master verified",
  "documentationBrowser": {
    "resourceCandidateSection": "passed",
    "resourceCandidateAnchor": "passed",
    "roadmapScope": "passed",
    "fourSections": "passed",
    "temporaryTabAndServer": "closed"
  },
  "cleanup": "Dedicated MySQL/PostgreSQL/Redis containers and anonymous volumes cleaned by runner; owned documentation browser tab/server closed."
}
