@pm_zhousl/xinyun-ai-init 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -39
- package/bin/xinyun-ai-init.js +121 -175
- package/init/xinyun-ai-init/README.md +26 -144
- package/init/xinyun-ai-init/rules/v3-skill-runtime.md +45 -0
- package/init/xinyun-ai-init/runtime/migrate-v3.js +115 -0
- package/init/xinyun-ai-init/runtime/route-skill.js +69 -0
- package/init/xinyun-ai-init/runtime-manifest.json +26 -0
- package/init/xinyun-ai-init/skills/registry.json +112 -0
- package/init/xinyun-ai-init/templates/AGENTS.template.md +4 -27
- package/init/xinyun-ai-init/templates/README.template.md +3 -31
- package/init/xinyun-ai-init/templates/control-plane-index.template.json +5 -24
- package/init/xinyun-ai-init/templates/core-rules.template.md +9 -57
- package/init/xinyun-ai-init/templates/current-task.template.md +3 -19
- package/init/xinyun-ai-init/templates/manifest.template.json +13 -67
- package/init/xinyun-ai-init/templates/project-context.template.json +3 -11
- package/init/xinyun-ai-init/templates/project-index.template.json +5 -51
- package/init/xinyun-ai-init/templates/skill-run-record.template.json +4 -16
- package/init/xinyun-ai-init/templates/skill-runtime-route.template.json +3 -24
- package/init/xinyun-ai-init/templates/skills-assignments.template.json +3 -21
- package/init/xinyun-ai-init/templates/skills-registry.template.json +5 -29
- package/init/xinyun-ai-init/templates/task-graph.template.json +3 -5
- package/init/xinyun-ai-init/templates/task-index.template.json +3 -31
- package/init/xinyun-ai-init/version.json +8 -8
- package/package.json +8 -14
- package/scripts/run-v3-runtime-probe.js +8 -0
- package/scripts/verify-legacy-cleanup.js +24 -0
- package/scripts/verify-release-gate.js +10 -23
- package/scripts/verify-rules-tarball-security.js +1 -1
- package/scripts/verify-skill-runtime.js +33 -0
- package/scripts/verify-tarball.js +42 -0
- package/scripts/verify-v3-package.js +70 -0
- package/test-scenarios/v3.0.0-behavior-evidence.json +25 -0
- package/test-scenarios/v3.0.0-scenarios.md +41 -0
- package/init/xinyun-ai-init/prompt.md +0 -1
- package/init/xinyun-ai-init/rules/coordination.md +0 -43
- package/init/xinyun-ai-init/rules/directory-self-completion.md +0 -100
- package/init/xinyun-ai-init/rules/frameworks/README.md +0 -56
- package/init/xinyun-ai-init/rules/frameworks/backend/php/thinkphp.md +0 -42
- package/init/xinyun-ai-init/rules/frameworks/frontend/uni-app.md +0 -36
- package/init/xinyun-ai-init/rules/frameworks/frontend/wechat-miniprogram.md +0 -36
- package/init/xinyun-ai-init/rules/frontend-audit.md +0 -9
- package/init/xinyun-ai-init/rules/init-rules.md +0 -145
- package/init/xinyun-ai-init/rules/self-learning-rules.md +0 -16
- package/init/xinyun-ai-init/rules/session-workbench.md +0 -333
- package/init/xinyun-ai-init/rules/skills.md +0 -23
- package/init/xinyun-ai-init/rules/temporary-sessions.md +0 -13
- package/init/xinyun-ai-init/rules/upgrade-rules.md +0 -161
- package/init/xinyun-ai-init/rules/v1.10.2-contract.md +0 -30
- package/init/xinyun-ai-init/rules/v1.11.0-acceleration.md +0 -27
- package/init/xinyun-ai-init/rules/v1.12.0-recovery.md +0 -34
- package/init/xinyun-ai-init/rules/v1.12.1-provider-session-binding.md +0 -25
- package/init/xinyun-ai-init/rules/v1.13.0-host-adapter.md +0 -43
- package/init/xinyun-ai-init/rules/v1.14.0-agent-core.md +0 -35
- package/init/xinyun-ai-init/rules/v1.15.0-session-binding.md +0 -44
- package/init/xinyun-ai-init/rules/v1.16.0-capability-efficiency.md +0 -23
- package/init/xinyun-ai-init/rules/v2.0.0-shared-project-conversations.md +0 -68
- package/init/xinyun-ai-init/rules/v2.0.0-single-session-skills.md +0 -89
- package/init/xinyun-ai-init/scripts/README.md +0 -16
- package/init/xinyun-ai-init/templates/agent-capabilities.template.json +0 -27
- package/init/xinyun-ai-init/templates/agent-profile.template.json +0 -21
- package/init/xinyun-ai-init/templates/archive-transaction.template.json +0 -15
- package/init/xinyun-ai-init/templates/bootstrap-snapshot.template.json +0 -22
- package/init/xinyun-ai-init/templates/capabilities.template.json +0 -19
- package/init/xinyun-ai-init/templates/codegraph-incremental-record.template.json +0 -21
- package/init/xinyun-ai-init/templates/conversation-binding.template.json +0 -26
- package/init/xinyun-ai-init/templates/conversation-event.template.json +0 -24
- package/init/xinyun-ai-init/templates/conversation-registry.template.json +0 -15
- package/init/xinyun-ai-init/templates/conversation-stream-head.template.json +0 -14
- package/init/xinyun-ai-init/templates/conversation-sync-cursor.template.json +0 -13
- package/init/xinyun-ai-init/templates/coordination-change-ledger.template.json +0 -15
- package/init/xinyun-ai-init/templates/coordination-conflict-record.template.json +0 -18
- package/init/xinyun-ai-init/templates/coordination-contract-snapshot.template.json +0 -9
- package/init/xinyun-ai-init/templates/coordination-project-facts.template.json +0 -20
- package/init/xinyun-ai-init/templates/coordination-transaction.template.json +0 -16
- package/init/xinyun-ai-init/templates/database-authorization.template.json +0 -53
- package/init/xinyun-ai-init/templates/final-delivery.template.json +0 -22
- package/init/xinyun-ai-init/templates/fixed-materialization.template.json +0 -12
- package/init/xinyun-ai-init/templates/framework-profile.template.json +0 -48
- package/init/xinyun-ai-init/templates/framework-profile.template.md +0 -39
- package/init/xinyun-ai-init/templates/frontend-audit.template.json +0 -27
- package/init/xinyun-ai-init/templates/handoff.template.json +0 -27
- package/init/xinyun-ai-init/templates/host-capabilities.template.json +0 -37
- package/init/xinyun-ai-init/templates/host-preflight.template.json +0 -33
- package/init/xinyun-ai-init/templates/html-migration-asset-map.template.md +0 -6
- package/init/xinyun-ai-init/templates/html-migration-compatibility-matrix.template.md +0 -6
- package/init/xinyun-ai-init/templates/html-migration-open-issues.template.md +0 -12
- package/init/xinyun-ai-init/templates/html-migration-pilot-plan.template.md +0 -21
- package/init/xinyun-ai-init/templates/html-migration-record.template.json +0 -36
- package/init/xinyun-ai-init/templates/html-migration-route-map.template.md +0 -6
- package/init/xinyun-ai-init/templates/html-migration-scope.template.md +0 -28
- package/init/xinyun-ai-init/templates/init-result.template.json +0 -25
- package/init/xinyun-ai-init/templates/initialization-cache.template.json +0 -13
- package/init/xinyun-ai-init/templates/initialization-change-report.template.json +0 -14
- package/init/xinyun-ai-init/templates/initialization-recovery.template.json +0 -24
- package/init/xinyun-ai-init/templates/initialization-stages.template.json +0 -18
- package/init/xinyun-ai-init/templates/initialization-timing.template.json +0 -16
- package/init/xinyun-ai-init/templates/local-query-index.template.json +0 -15
- package/init/xinyun-ai-init/templates/managed-baseline.template.json +0 -17
- package/init/xinyun-ai-init/templates/manual-session-binding.template.json +0 -45
- package/init/xinyun-ai-init/templates/manual-session-recovery.template.json +0 -53
- package/init/xinyun-ai-init/templates/multi-conversation-migration.template.json +0 -24
- package/init/xinyun-ai-init/templates/onboarding-report.template.json +0 -30
- package/init/xinyun-ai-init/templates/orchestrator.template.json +0 -28
- package/init/xinyun-ai-init/templates/parallelism.template.json +0 -13
- package/init/xinyun-ai-init/templates/performance-metrics.template.json +0 -17
- package/init/xinyun-ai-init/templates/preflight-report.template.json +0 -25
- package/init/xinyun-ai-init/templates/project-check.template.md +0 -56
- package/init/xinyun-ai-init/templates/project-guide.template.md +0 -57
- package/init/xinyun-ai-init/templates/project-identity.template.json +0 -23
- package/init/xinyun-ai-init/templates/project-status.template.json +0 -28
- package/init/xinyun-ai-init/templates/provider-adapter.template.json +0 -25
- package/init/xinyun-ai-init/templates/provider-session-binding.template.json +0 -77
- package/init/xinyun-ai-init/templates/re-takeover-record.template.json +0 -37
- package/init/xinyun-ai-init/templates/requirement-packet.template.json +0 -23
- package/init/xinyun-ai-init/templates/role-execution.template.md +0 -72
- package/init/xinyun-ai-init/templates/role-session-binding.template.json +0 -105
- package/init/xinyun-ai-init/templates/role-subtask.template.md +0 -36
- package/init/xinyun-ai-init/templates/session-binding.template.json +0 -38
- package/init/xinyun-ai-init/templates/session-candidates.template.json +0 -19
- package/init/xinyun-ai-init/templates/shared-project-snapshot.template.json +0 -24
- package/init/xinyun-ai-init/templates/single-session-migration.template.json +0 -31
- package/init/xinyun-ai-init/templates/sync-check.template.json +0 -23
- package/init/xinyun-ai-init/templates/takeover-baseline.template.json +0 -17
- package/init/xinyun-ai-init/templates/takeover-gate.template.json +0 -22
- package/init/xinyun-ai-init/templates/task-history.template.md +0 -35
- package/init/xinyun-ai-init/templates/task-lease.template.json +0 -19
- package/init/xinyun-ai-init/templates/task-lock.template.json +0 -31
- package/init/xinyun-ai-init/templates/task-main.template.md +0 -38
- package/init/xinyun-ai-init/templates/task-result.template.json +0 -23
- package/init/xinyun-ai-init/templates/team/README.md +0 -51
- package/init/xinyun-ai-init/templates/team/assignments.json +0 -49
- package/init/xinyun-ai-init/templates/team/confirmations/chief-engineer.md +0 -24
- package/init/xinyun-ai-init/templates/team/confirmations/programmer.md +0 -24
- package/init/xinyun-ai-init/templates/team/confirmations/project-owner.md +0 -24
- package/init/xinyun-ai-init/templates/team/confirmations/project-product.md +0 -24
- package/init/xinyun-ai-init/templates/team/confirmations/test-reviewer.md +0 -24
- package/init/xinyun-ai-init/templates/team/file-ownership.json +0 -32
- package/init/xinyun-ai-init/templates/team/members.json +0 -61
- package/init/xinyun-ai-init/templates/team/responsibility-matrix.json +0 -81
- package/init/xinyun-ai-init/templates/team/roles.json +0 -71
- package/init/xinyun-ai-init/templates/team/understandings/chief-engineer.md +0 -23
- package/init/xinyun-ai-init/templates/team/understandings/programmer.md +0 -23
- package/init/xinyun-ai-init/templates/team/understandings/project-owner.md +0 -23
- package/init/xinyun-ai-init/templates/team/understandings/project-product.md +0 -23
- package/init/xinyun-ai-init/templates/team/understandings/test-reviewer.md +0 -23
- package/init/xinyun-ai-init/templates/technical-impact-packet.template.json +0 -31
- package/init/xinyun-ai-init/templates/technical-landscape.template.json +0 -41
- package/init/xinyun-ai-init/templates/temporary-session.template.json +0 -32
- package/init/xinyun-ai-init/templates/workstreams-readme.template.md +0 -36
- package/scripts/collect-v1.10-evidence.js +0 -159
- package/scripts/collect-v1.14-local-evidence.js +0 -66
- package/scripts/collect-v1.15-real-evidence.js +0 -114
- package/scripts/collect-v1.16-evidence.js +0 -48
- package/scripts/collect-v2-evidence.js +0 -35
- package/scripts/run-v1.16-runtime-probe.js +0 -91
- package/scripts/run-v2-runtime-probe.js +0 -110
- package/scripts/verify-init-package.js +0 -2297
- package/scripts/verify-multi-conversation-contract.js +0 -61
- package/scripts/verify-re-takeover-contract.js +0 -54
- package/scripts/verify-rules-package.js +0 -1287
- package/scripts/verify-v2-package.js +0 -210
- package/scripts/verify-v2-tarball.js +0 -73
- package/test-scenarios/README.md +0 -130
- package/test-scenarios/fixtures/v1.10.0-takeover-gate-fixture/README.md +0 -23
- package/test-scenarios/fixtures/v1.10.0-takeover-gate-fixture/after/project-status.json +0 -7
- package/test-scenarios/fixtures/v1.10.0-takeover-gate-fixture/before/project-status.json +0 -7
- package/test-scenarios/fixtures/v1.9.0-behavior-fixture/README.md +0 -9
- package/test-scenarios/multi-conversation-evidence.json +0 -26
- package/test-scenarios/multi-conversation-scenarios.md +0 -16
- package/test-scenarios/re-takeover-evidence.json +0 -20
- package/test-scenarios/re-takeover-scenarios.md +0 -33
- package/test-scenarios/review-template.md +0 -165
- package/test-scenarios/scenarios.md +0 -1273
- package/test-scenarios/v1.10.0-behavior-evidence.json +0 -31
- package/test-scenarios/v1.10.0-scenarios.md +0 -96
- package/test-scenarios/v1.10.2-scenarios.md +0 -38
- package/test-scenarios/v1.11.0-scenarios.md +0 -30
- package/test-scenarios/v1.12.0-behavior-evidence.json +0 -29
- package/test-scenarios/v1.12.0-scenarios.md +0 -51
- package/test-scenarios/v1.12.1-behavior-evidence.json +0 -27
- package/test-scenarios/v1.12.1-scenarios.md +0 -42
- package/test-scenarios/v1.13.0-behavior-evidence.json +0 -650
- package/test-scenarios/v1.13.0-scenarios.md +0 -94
- package/test-scenarios/v1.14.0-behavior-evidence.json +0 -780
- package/test-scenarios/v1.14.0-scenarios.md +0 -63
- package/test-scenarios/v1.15.0-behavior-evidence.json +0 -476
- package/test-scenarios/v1.15.0-scenarios.md +0 -57
- package/test-scenarios/v1.16.0-behavior-evidence.json +0 -46
- package/test-scenarios/v1.16.0-real-host-probe.json +0 -132
- package/test-scenarios/v1.16.0-scenarios.md +0 -19
- package/test-scenarios/v1.7.0-scenarios.md +0 -91
- package/test-scenarios/v1.7.1-scenarios.md +0 -130
- package/test-scenarios/v1.7.2-scenarios.md +0 -51
- package/test-scenarios/v1.7.3-scenarios.md +0 -79
- package/test-scenarios/v1.8.0-scenarios.md +0 -39
- package/test-scenarios/v1.9.0-behavior-evidence.json +0 -269
- package/test-scenarios/v1.9.0-scenarios.md +0 -55
- package/test-scenarios/v2.0.0-behavior-evidence.json +0 -40
- package/test-scenarios/v2.0.0-scenarios.md +0 -21
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# scripts
|
|
2
|
-
|
|
3
|
-
本初始化包默认不执行脚本。
|
|
4
|
-
|
|
5
|
-
如果后续需要脚本,只允许先用于 `xinyun-ai/` 内模板生成、索引更新或格式校验。
|
|
6
|
-
|
|
7
|
-
任何会修改业务代码、数据库、依赖、配置、构建、格式化、自动修复、联网下载的脚本,都必须先输出方案并等待用户确认。
|
|
8
|
-
|
|
9
|
-
v1.6.0 起,脚本如用于 AI 工作区控制文件,必须遵守:
|
|
10
|
-
|
|
11
|
-
- 只写 `xinyun-ai/`、`AGENTS.md` 或初始化控制文件,不写业务代码。
|
|
12
|
-
- 写 JSON / Markdown 使用临时文件完整写入后原子重命名。
|
|
13
|
-
- 结果写入 `init-result.json` 和 `tasks/<taskId>/results/<resultId>.json`。
|
|
14
|
-
- 受管理文件记录 SHA-256 `baselineHash`、`templateHash`、`lastAppliedVersion` 和 `managedBy`。
|
|
15
|
-
- 任务锁使用 `task-lock.json` 原子获取;锁状态 `unknown` 不得自动释放。
|
|
16
|
-
- 命令输出、stdout、stderr、日志和结果文件写入前必须脱敏。
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"agentId": "xinyun-ai-agent",
|
|
4
|
-
"capabilities": [
|
|
5
|
-
{
|
|
6
|
-
"capabilityId": "capability-template",
|
|
7
|
-
"name": "能力模板",
|
|
8
|
-
"category": "control-plane",
|
|
9
|
-
"required": true,
|
|
10
|
-
"detectionMethod": "not-checked",
|
|
11
|
-
"status": "unknown",
|
|
12
|
-
"statusEnum": ["ready", "partial", "blocked", "manual-required", "unknown"],
|
|
13
|
-
"dependencyStatus": "unknown",
|
|
14
|
-
"evidence": [],
|
|
15
|
-
"fallbackPlan": "blocked; preserve task IDs and emit next action",
|
|
16
|
-
"usedTools": [],
|
|
17
|
-
"unusedTools": [],
|
|
18
|
-
"unverifiedScope": [],
|
|
19
|
-
"failureReason": null,
|
|
20
|
-
"checkedAt": null
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"aggregateStatus": "manual-required",
|
|
24
|
-
"aggregateStatusEnum": ["ready", "partial", "blocked", "manual-required"],
|
|
25
|
-
"aggregateRule": "required capabilities and evidence must pass before ready; local-degraded may run with localSessionId but remains manual-required",
|
|
26
|
-
"updatedAt": null
|
|
27
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 2,
|
|
3
|
-
"agentId": "xinyun-ai-agent",
|
|
4
|
-
"name": "欣芸技术开发 Agent",
|
|
5
|
-
"version": "2.0.0",
|
|
6
|
-
"packageVersion": "2.0.0",
|
|
7
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
8
|
-
"projectIdentity": {"projectRootHash": null, "workspaceScope": "xinyun-ai-control", "repositoryScopeHash": null},
|
|
9
|
-
"serviceGoal": "按用户确认范围在共享项目上下文中登记任务、跨对话同步结果、执行 Skills 并提供可审计交付",
|
|
10
|
-
"supportedStacks": [],
|
|
11
|
-
"supportedTools": [],
|
|
12
|
-
"registeredSkills": [],
|
|
13
|
-
"allowedOperations": ["read-project-files", "write-control-plane", "run-approved-verification"],
|
|
14
|
-
"forbiddenOperations": ["fake-session-id", "database-connection-without-authorization", "sql-execution-without-authorization", "business-code-without-confirmation", "git-write-without-authorization", "dependency-install-without-confirmation", "host-login", "npm-publish-without-user-authorization"],
|
|
15
|
-
"readyPrerequisites": ["project-identity", "project-context", "conversation-binding", "incremental-sync", "task-control-plane", "skill-runtime", "codegraph-when-required", "recovery-and-index-consistency", "sensitive-scan", "conflict-free"],
|
|
16
|
-
"capabilityStatus": "manual-required",
|
|
17
|
-
"evidence": [],
|
|
18
|
-
"unverifiedScope": ["real host project-session and specialized Skill behavior"],
|
|
19
|
-
"createdAt": null,
|
|
20
|
-
"updatedAt": null
|
|
21
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"archiveTransactionId": "archive-transaction-template",
|
|
4
|
-
"taskId": "task-template",
|
|
5
|
-
"tempPath": "xinyun-ai/tasks/.archive-tmp/task-template/",
|
|
6
|
-
"archivePath": "xinyun-ai/tasks/archive/task-template/",
|
|
7
|
-
"indexPath": "xinyun-ai/tasks/task-index.json",
|
|
8
|
-
"phase": "prepared",
|
|
9
|
-
"phaseEnum": ["prepared", "validated", "moved", "indexed", "committed", "recovery-required", "blocked"],
|
|
10
|
-
"attempt": 1,
|
|
11
|
-
"failureReason": null,
|
|
12
|
-
"contentHash": null,
|
|
13
|
-
"createdAt": "2026-07-20T00:00:00.000Z",
|
|
14
|
-
"updatedAt": "2026-07-20T00:00:00.000Z"
|
|
15
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 2,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"snapshotId": "bootstrap-snapshot-template",
|
|
5
|
-
"projectRootHash": null,
|
|
6
|
-
"repositoryScopeHash": null,
|
|
7
|
-
"workstreams": [],
|
|
8
|
-
"detectedFrameworks": [],
|
|
9
|
-
"codeGraph": {"recordId": null, "status": "unknown", "indexHash": null, "checkedAt": null},
|
|
10
|
-
"scanBudget": {"maxDepth": 3, "maxFiles": 60, "maxMatches": 200},
|
|
11
|
-
"evidence": [],
|
|
12
|
-
"coverage": "unknown",
|
|
13
|
-
"unverifiedScope": [],
|
|
14
|
-
"snapshotHash": null,
|
|
15
|
-
"sourceRevision": null,
|
|
16
|
-
"sourceFiles": [],
|
|
17
|
-
"sourceHashes": {},
|
|
18
|
-
"lastSuccessfulTakeoverId": null,
|
|
19
|
-
"sensitiveScan": {"status": "not-run", "matches": []},
|
|
20
|
-
"createdAt": null,
|
|
21
|
-
"updatedAt": null
|
|
22
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"capabilities": [
|
|
4
|
-
{
|
|
5
|
-
"capabilityId": "capability-template",
|
|
6
|
-
"name": "能力模板",
|
|
7
|
-
"detectionMethod": "not-checked",
|
|
8
|
-
"status": "not-checked",
|
|
9
|
-
"evidence": [],
|
|
10
|
-
"dependencyStatus": "未知",
|
|
11
|
-
"fallbackPlan": "静态分析、项目已有封装或等待人工安装",
|
|
12
|
-
"usedTools": [],
|
|
13
|
-
"unusedTools": [],
|
|
14
|
-
"unverifiedScope": [],
|
|
15
|
-
"failureReason": null,
|
|
16
|
-
"checkedAt": "2026-07-20T00:00:00.000Z"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"recordId": "codegraph-incremental-template",
|
|
4
|
-
"projectRootHash": null,
|
|
5
|
-
"indexIdentity": null,
|
|
6
|
-
"indexVersion": null,
|
|
7
|
-
"sourceHash": null,
|
|
8
|
-
"baseRecordId": null,
|
|
9
|
-
"updateMode": "unknown",
|
|
10
|
-
"status": "unknown",
|
|
11
|
-
"statusEnum": ["unchanged-reused", "incremental-updated", "full-rebuild-required", "unknown", "partial", "failed"],
|
|
12
|
-
"changedFiles": [],
|
|
13
|
-
"unchangedFiles": [],
|
|
14
|
-
"failedFiles": [],
|
|
15
|
-
"unverifiedScope": [],
|
|
16
|
-
"failureReason": null,
|
|
17
|
-
"oldHealthyIndexPreserved": true,
|
|
18
|
-
"gitReadOnlyEvidence": null,
|
|
19
|
-
"updatedAt": null,
|
|
20
|
-
"evidence": []
|
|
21
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"conversationBindingId": null,
|
|
5
|
-
"projectContextId": null,
|
|
6
|
-
"sessionRefType": "host-thread",
|
|
7
|
-
"sessionRef": null,
|
|
8
|
-
"sessionRefTypeEnum": ["host-thread", "provider-session", "manual-reference", "local-session"],
|
|
9
|
-
"hostId": null,
|
|
10
|
-
"provider": null,
|
|
11
|
-
"projectRootHash": null,
|
|
12
|
-
"cwdHash": null,
|
|
13
|
-
"bindingStatus": "pending",
|
|
14
|
-
"bindingStatusEnum": ["pending", "validating", "active", "idle", "released", "blocked", "conflict", "recovery-required"],
|
|
15
|
-
"readOnlyEligible": true,
|
|
16
|
-
"writeEligible": false,
|
|
17
|
-
"lastSeenCursorPath": null,
|
|
18
|
-
"streamHeadPath": null,
|
|
19
|
-
"lastInteractionAt": null,
|
|
20
|
-
"identityEvidence": [],
|
|
21
|
-
"interactionEvidence": [],
|
|
22
|
-
"legacyProviderSessionId": null,
|
|
23
|
-
"legacyCompatibility": "historical provider identity only; a host thread is never converted into a provider session id",
|
|
24
|
-
"createdAt": null,
|
|
25
|
-
"updatedAt": null
|
|
26
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"eventId": null,
|
|
5
|
-
"projectContextId": null,
|
|
6
|
-
"conversationBindingId": null,
|
|
7
|
-
"streamSequence": null,
|
|
8
|
-
"eventType": null,
|
|
9
|
-
"eventTypeEnum": ["task-created", "task-updated", "fact-proposed", "fact-confirmed", "decision-confirmed", "change-reserved", "change-started", "change-completed", "skill-completed", "verification-completed", "conflict-detected", "authorization-updated", "handoff-recorded"],
|
|
10
|
-
"taskId": null,
|
|
11
|
-
"skillRunId": null,
|
|
12
|
-
"changeId": null,
|
|
13
|
-
"affectedDomains": [],
|
|
14
|
-
"affectedPaths": [],
|
|
15
|
-
"summary": null,
|
|
16
|
-
"payloadRef": null,
|
|
17
|
-
"payloadHash": null,
|
|
18
|
-
"baselineHash": null,
|
|
19
|
-
"previousEventHash": null,
|
|
20
|
-
"eventHash": null,
|
|
21
|
-
"evidence": [],
|
|
22
|
-
"sensitiveScan": {"status": "not-run", "matches": []},
|
|
23
|
-
"createdAt": null
|
|
24
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"projectContextId": null,
|
|
5
|
-
"conversationLimit": null,
|
|
6
|
-
"activeConversationIds": [],
|
|
7
|
-
"releasedConversationIds": [],
|
|
8
|
-
"bindings": [],
|
|
9
|
-
"bindingPathPattern": "xinyun-ai/conversations/bindings/<conversationBindingId>.json",
|
|
10
|
-
"streamPathPattern": "xinyun-ai/coordination/streams/<conversationBindingId>/",
|
|
11
|
-
"cursorPathPattern": "xinyun-ai/coordination/cursors/<conversationBindingId>.json",
|
|
12
|
-
"duplicateThreadPolicy": "reuse-existing-binding",
|
|
13
|
-
"crossProjectReusePolicy": "reject",
|
|
14
|
-
"updatedAt": null
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"projectContextId": null,
|
|
5
|
-
"conversationBindingId": null,
|
|
6
|
-
"streamSequence": 0,
|
|
7
|
-
"latestEventId": null,
|
|
8
|
-
"latestEventHash": null,
|
|
9
|
-
"previousHeadHash": null,
|
|
10
|
-
"headHash": null,
|
|
11
|
-
"eventDirectory": "xinyun-ai/coordination/streams/<conversationBindingId>/events/",
|
|
12
|
-
"writeMode": "single-writer-atomic-replace",
|
|
13
|
-
"updatedAt": null
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"projectContextId": null,
|
|
5
|
-
"consumerConversationId": null,
|
|
6
|
-
"streamPositions": {},
|
|
7
|
-
"lastProjectSnapshotHash": null,
|
|
8
|
-
"lastTaskIndexRevision": null,
|
|
9
|
-
"lastSyncCheckId": null,
|
|
10
|
-
"status": "current",
|
|
11
|
-
"statusEnum": ["current", "changes-available", "syncing", "stale", "blocked", "recovery-required"],
|
|
12
|
-
"updatedAt": null
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 2,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"projectContextId": null,
|
|
5
|
-
"changes": [],
|
|
6
|
-
"occupancy": [],
|
|
7
|
-
"conflictKeys": ["path", "api", "database-field", "component", "business-flow"],
|
|
8
|
-
"recordContract": {
|
|
9
|
-
"requiredFields": ["schemaVersion", "changeId", "projectContextId", "taskId", "conversationBindingId", "eventId", "actor", "changeDomain", "targetPaths", "baselineHash", "leaseId", "changeStatus", "evidence", "createdAt", "updatedAt"],
|
|
10
|
-
"changeStatusEnum": ["proposed", "reserved", "in-progress", "completed", "conflict-pending", "blocked", "cancelled"],
|
|
11
|
-
"cancelRule": "Only proposed or reserved may become cancelled; in-progress cannot be silently cancelled.",
|
|
12
|
-
"multiWriterRule": "Each conversation writes immutable events to its own stream; the ledger is materialized transactionally from events and is not a shared append target."
|
|
13
|
-
},
|
|
14
|
-
"sourceOfTruth": "xinyun-ai/coordination/change-ledger.json"
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 2,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"projectContextId": null,
|
|
5
|
-
"conflictId": "",
|
|
6
|
-
"conflictType": "file|api|field|message|route|business-flow",
|
|
7
|
-
"participantConversationIds": [],
|
|
8
|
-
"leaseIds": [],
|
|
9
|
-
"baselineHashes": {},
|
|
10
|
-
"evidence": [],
|
|
11
|
-
"severity": "low|medium|high|critical",
|
|
12
|
-
"conflictStatus": "detected",
|
|
13
|
-
"decision": null,
|
|
14
|
-
"resolvedBy": null,
|
|
15
|
-
"resolvedAt": null,
|
|
16
|
-
"resolutionEvidence": [],
|
|
17
|
-
"nextAction": "awaiting-confirmation"
|
|
18
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 2,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"projectContextId": null,
|
|
5
|
-
"facts": [],
|
|
6
|
-
"publicSnapshot": {
|
|
7
|
-
"snapshotId": null,
|
|
8
|
-
"snapshotHash": null,
|
|
9
|
-
"sourceRevision": null,
|
|
10
|
-
"refreshedAt": null,
|
|
11
|
-
"refreshTriggers": ["business-change", "control-plane-change", "codegraph-change", "source-revision-change"]
|
|
12
|
-
},
|
|
13
|
-
"executionReadContract": ["conversationHeads", "consumerCursor", "publicSnapshot", "taskIndex", "newEvents", "handoffs", "contractSnapshots", "activeLeases"],
|
|
14
|
-
"executionWriteContract": ["changedFiles", "apiChanges", "databaseFieldChanges", "componentChanges", "businessFlowChanges", "unfinishedWork", "pendingConfirmations", "evidence"],
|
|
15
|
-
"recordContract": {
|
|
16
|
-
"requiredFields": ["schemaVersion", "factId", "projectContextId", "factType", "scope", "valueHash", "source", "taskId", "conversationBindingId", "eventId", "evidence", "confidence", "factStatus", "revision", "observedAt", "updatedAt"],
|
|
17
|
-
"factStatusEnum": ["proposed", "confirmed", "superseded", "unknown", "blocked"]
|
|
18
|
-
},
|
|
19
|
-
"sourceOfTruth": "xinyun-ai/coordination/project-facts.json"
|
|
20
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"coordinationTransactionId": "",
|
|
4
|
-
"idempotencyKey": "",
|
|
5
|
-
"taskId": "",
|
|
6
|
-
"sessionId": "",
|
|
7
|
-
"targetFiles": [],
|
|
8
|
-
"phase": "prepared",
|
|
9
|
-
"attempt": 1,
|
|
10
|
-
"failureReason": null,
|
|
11
|
-
"recoveryOwner": null,
|
|
12
|
-
"createdAt": "",
|
|
13
|
-
"updatedAt": "",
|
|
14
|
-
"phaseEnum": ["prepared", "validated", "renamed", "revision-updated", "committed", "recovery-required", "blocked"],
|
|
15
|
-
"targetFileContract": ["path", "tempPath", "beforeHash", "afterHash", "targetRevision"]
|
|
16
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"databaseAccessMode": "local-files-read-only",
|
|
4
|
-
"databaseAccessModeEnum": ["local-files-read-only", "sql-only"],
|
|
5
|
-
"legacyDatabaseAccessMode": "sql-only",
|
|
6
|
-
"databaseAccessModePolicy": "local database-related source files only; never connect to a local or online database",
|
|
7
|
-
"sqlExecutionMode": "generate-only",
|
|
8
|
-
"sqlExecutionModeEnum": ["generate-only", "forbidden"],
|
|
9
|
-
"connectionStatus": "not-requested",
|
|
10
|
-
"connected": false,
|
|
11
|
-
"sqlExecuted": false,
|
|
12
|
-
"localFileReadStatus": "not-checked",
|
|
13
|
-
"localFileReadStatusEnum": ["not-checked", "not-needed", "read-only", "blocked", "failed"],
|
|
14
|
-
"localDatabaseFileScope": ["*.sql", "*.ddl", "*.schema", "*.migration", "database/", "migrations/", "schema/", "models/"],
|
|
15
|
-
"localFileReadPolicy": "database-related-task-only",
|
|
16
|
-
"localFilesRead": [],
|
|
17
|
-
"unverifiedScope": [],
|
|
18
|
-
"forbiddenOperations": ["database-connection", "database-query", "sql-execution", "migration-execution", "seed-execution", "data-mutation"],
|
|
19
|
-
"connectionStatusEnum": ["not-requested", "requested", "authorized", "denied", "expired", "failed", "unknown"],
|
|
20
|
-
"queryAuthorization": "not-requested",
|
|
21
|
-
"queryAuthorizationEnum": ["not-requested", "requested", "authorized", "denied", "expired", "failed", "unknown"],
|
|
22
|
-
"schemaChangeAuthorization": "not-requested",
|
|
23
|
-
"schemaChangeAuthorizationEnum": ["not-requested", "requested", "authorized", "denied", "expired", "failed", "unknown"],
|
|
24
|
-
"dataMutationAuthorization": "not-requested",
|
|
25
|
-
"dataMutationAuthorizationEnum": ["not-requested", "requested", "authorized", "denied", "expired", "failed", "unknown"],
|
|
26
|
-
"authorizationStatusEnum": ["not-requested", "requested", "authorized", "denied", "expired", "failed", "unknown"],
|
|
27
|
-
"authorizationTransitionRules": {
|
|
28
|
-
"not-requested": ["requested", "denied"],
|
|
29
|
-
"requested": ["authorized", "denied", "failed", "unknown"],
|
|
30
|
-
"authorized": ["expired", "denied", "failed", "unknown"],
|
|
31
|
-
"denied": ["requested"],
|
|
32
|
-
"expired": ["requested"],
|
|
33
|
-
"failed": ["requested", "unknown"],
|
|
34
|
-
"unknown": ["requested", "denied"]
|
|
35
|
-
},
|
|
36
|
-
"invalidatingChanges": ["authorization-expired", "target-environment-changed", "statement-hash-changed", "parameters-changed", "dialect-changed"],
|
|
37
|
-
"invalidatingAction": "set affected authorization to expired or needs-confirmation, append audit, and prohibit execution until reauthorized",
|
|
38
|
-
"authorizationScope": [],
|
|
39
|
-
"authorizedBy": null,
|
|
40
|
-
"authorizedAt": null,
|
|
41
|
-
"targetEnvironment": null,
|
|
42
|
-
"statementHash": null,
|
|
43
|
-
"statementHashAlgorithm": "RFC8785-JCS-SHA-256",
|
|
44
|
-
"statementHashCanonicalInput": ["databaseEngine", "dialectVersion", "statements", "parameters", "transactionPlan", "targetEnvironment", "authorizationScope"],
|
|
45
|
-
"executionStatus": "needs-confirmation",
|
|
46
|
-
"executionStatusEnum": ["not-run", "needs-confirmation", "authorized", "executed", "failed", "unknown"],
|
|
47
|
-
"redactionStatus": "verified",
|
|
48
|
-
"redactionStatusEnum": ["verified", "unverified", "failed"],
|
|
49
|
-
"audit": [],
|
|
50
|
-
"auditRequiredFields": ["auditId", "action", "actorType", "actorId", "authorizationType", "statementHash", "targetEnvironment", "resultStatus", "redactionStatus", "evidence", "at"],
|
|
51
|
-
"createdAt": "2026-07-24T00:00:00.000Z",
|
|
52
|
-
"updatedAt": "2026-07-24T00:00:00.000Z"
|
|
53
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"deliveryId": "delivery-template",
|
|
4
|
-
"taskId": null,
|
|
5
|
-
"orchestratorSessionId": null,
|
|
6
|
-
"status": "blocked",
|
|
7
|
-
"statusEnum": ["pending", "partial", "blocked", "ready"],
|
|
8
|
-
"completedItems": [],
|
|
9
|
-
"unfinishedItems": [],
|
|
10
|
-
"blockedTasks": [],
|
|
11
|
-
"changedFiles": [],
|
|
12
|
-
"businessCodeChanged": "unknown",
|
|
13
|
-
"tests": [],
|
|
14
|
-
"reviewResults": [],
|
|
15
|
-
"risks": [],
|
|
16
|
-
"nextActions": [],
|
|
17
|
-
"gateReferences": [],
|
|
18
|
-
"evidence": [],
|
|
19
|
-
"readyRule": "all required takeover gates, session evidence, shared facts, conflict checks, sensitive scan, tests and reviewer results must pass",
|
|
20
|
-
"createdAt": null,
|
|
21
|
-
"updatedAt": null
|
|
22
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"manifestId": "fixed-materialization-template",
|
|
4
|
-
"targetVersion": "1.11.0",
|
|
5
|
-
"sourcePackage": "@pm_zhousl/xinyun-ai-init",
|
|
6
|
-
"hashAlgorithm": "SHA-256",
|
|
7
|
-
"statusEnum": ["pending", "created", "updated", "skipped", "conflict-pending", "unknown", "failed"],
|
|
8
|
-
"files": [],
|
|
9
|
-
"atomicWrite": {"required": true, "tempFile": true, "completeWrite": true, "rename": true},
|
|
10
|
-
"createdAt": null,
|
|
11
|
-
"updatedAt": null
|
|
12
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"profileId": "",
|
|
4
|
-
"port": "",
|
|
5
|
-
"workstream": "",
|
|
6
|
-
"repoRoot": "",
|
|
7
|
-
"language": {
|
|
8
|
-
"name": "",
|
|
9
|
-
"status": "unknown",
|
|
10
|
-
"evidence": []
|
|
11
|
-
},
|
|
12
|
-
"runtime": {
|
|
13
|
-
"name": "",
|
|
14
|
-
"status": "unknown",
|
|
15
|
-
"evidence": []
|
|
16
|
-
},
|
|
17
|
-
"platform": {
|
|
18
|
-
"name": "",
|
|
19
|
-
"status": "unknown",
|
|
20
|
-
"evidence": []
|
|
21
|
-
},
|
|
22
|
-
"framework": {
|
|
23
|
-
"name": "",
|
|
24
|
-
"version": "",
|
|
25
|
-
"status": "unknown"
|
|
26
|
-
},
|
|
27
|
-
"frameworkStatus": "unknown",
|
|
28
|
-
"moduleStatus": "not-loaded",
|
|
29
|
-
"moduleId": null,
|
|
30
|
-
"activation": "not-loaded",
|
|
31
|
-
"budgets": {
|
|
32
|
-
"light": {
|
|
33
|
-
"maxDepthPerWorkstream": 3,
|
|
34
|
-
"maxKeyFilesPerWorkstream": 20
|
|
35
|
-
},
|
|
36
|
-
"deep": {
|
|
37
|
-
"maxDepthPerWorkstream": 5,
|
|
38
|
-
"maxKeyFilesPerWorkstream": 80,
|
|
39
|
-
"maxEvidence": 100
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"evidence": [],
|
|
43
|
-
"coverage": "unknown",
|
|
44
|
-
"unverifiedScope": [],
|
|
45
|
-
"detectedUnsupported": [],
|
|
46
|
-
"fallbackPlan": "",
|
|
47
|
-
"checkedAt": ""
|
|
48
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# 技术栈 Profile
|
|
2
|
-
|
|
3
|
-
- profileId:
|
|
4
|
-
- port:
|
|
5
|
-
- workstream:
|
|
6
|
-
- repoRoot:
|
|
7
|
-
- checkedAt:
|
|
8
|
-
|
|
9
|
-
## 独立技术栈字段
|
|
10
|
-
|
|
11
|
-
- language:
|
|
12
|
-
- runtime:
|
|
13
|
-
- platform:
|
|
14
|
-
- framework:
|
|
15
|
-
- frameworkStatus:confirmed / inferred / not-found / unknown / detected-unsupported
|
|
16
|
-
- moduleStatus:loaded / not-loaded
|
|
17
|
-
- moduleId:
|
|
18
|
-
- activation:loaded / not-loaded
|
|
19
|
-
|
|
20
|
-
## 预算
|
|
21
|
-
|
|
22
|
-
- v1.4 轻量识别预算:3 层目录、20 个关键文件
|
|
23
|
-
- v1.7 深化预算:5 层目录、80 个关键文件、100 条证据
|
|
24
|
-
|
|
25
|
-
## 证据
|
|
26
|
-
|
|
27
|
-
- path:
|
|
28
|
-
- evidenceType:
|
|
29
|
-
- summary:
|
|
30
|
-
|
|
31
|
-
## 覆盖范围
|
|
32
|
-
|
|
33
|
-
- coverage:full / partial / unknown
|
|
34
|
-
- unverifiedScope:
|
|
35
|
-
|
|
36
|
-
## 结论
|
|
37
|
-
|
|
38
|
-
- 是否启用专项模块:
|
|
39
|
-
- fallbackPlan:
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"auditId": "",
|
|
3
|
-
"repoRoot": "",
|
|
4
|
-
"platform": "wechat-miniprogram|uni-app|html",
|
|
5
|
-
"framework": "",
|
|
6
|
-
"pagePath": "",
|
|
7
|
-
"componentPath": "",
|
|
8
|
-
"couplingType": "template-style|state-view|api-page|route-page|business-page|cross-platform|shared-component|unknown",
|
|
9
|
-
"props": [],
|
|
10
|
-
"events": [],
|
|
11
|
-
"slots": [],
|
|
12
|
-
"stateDependencies": [],
|
|
13
|
-
"apiDependencies": [],
|
|
14
|
-
"routeDependencies": [],
|
|
15
|
-
"businessFlowDependencies": [],
|
|
16
|
-
"baselineHash": "",
|
|
17
|
-
"decision": "audit-only",
|
|
18
|
-
"status": "not-started",
|
|
19
|
-
"coverage": "unknown",
|
|
20
|
-
"unverifiedScope": [],
|
|
21
|
-
"evidence": [],
|
|
22
|
-
"updatedAt": "",
|
|
23
|
-
"statusEnum": ["not-started", "assessing", "partial", "completed", "blocked", "unknown"],
|
|
24
|
-
"decisionEnum": ["audit-only", "refactor-now", "defer", "requires-confirmation", "out-of-scope"],
|
|
25
|
-
"coverageEnum": ["full", "partial", "unknown"],
|
|
26
|
-
"refactorNowRequired": ["planId", "userConfirmationId", "permittedPaths", "beforeHash", "afterHash", "diffEvidence", "testEvidence"]
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 2,
|
|
3
|
-
"executionModel": "shared-project-multi-conversation-runtime",
|
|
4
|
-
"handoffId": "handoff-template",
|
|
5
|
-
"taskId": null,
|
|
6
|
-
"projectContextId": null,
|
|
7
|
-
"fromConversationBindingId": null,
|
|
8
|
-
"toConversationBindingId": null,
|
|
9
|
-
"fromPhase": null,
|
|
10
|
-
"toPhase": null,
|
|
11
|
-
"status": "pending",
|
|
12
|
-
"readBeforeExecution": {"projectSnapshotHash": null, "taskIndexRevision": null, "recentChangeIds": [], "otherHandoffIds": [], "contractSnapshotIds": [], "occupancyEvidence": []},
|
|
13
|
-
"completedWork": [],
|
|
14
|
-
"changedFiles": [],
|
|
15
|
-
"apiChanges": [],
|
|
16
|
-
"databaseFieldChanges": [],
|
|
17
|
-
"componentChanges": [],
|
|
18
|
-
"businessFlowChanges": [],
|
|
19
|
-
"impactOnOtherTasks": [],
|
|
20
|
-
"unfinishedWork": [],
|
|
21
|
-
"pendingConfirmations": [],
|
|
22
|
-
"skillRunIds": [],
|
|
23
|
-
"evidence": [],
|
|
24
|
-
"nextAction": null,
|
|
25
|
-
"createdAt": null,
|
|
26
|
-
"updatedAt": null
|
|
27
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"capabilityRecordId": "host-capabilities-template",
|
|
4
|
-
"provider": "codex",
|
|
5
|
-
"projectRootHash": null,
|
|
6
|
-
"status": "unknown",
|
|
7
|
-
"statusEnum": ["available", "available-with-dependency", "unavailable", "permission-denied", "unknown", "not-checked", "not-verified", "failed"],
|
|
8
|
-
"dependencyStatusEnum": ["not-required", "required", "authorized", "not-authorized", "unknown"],
|
|
9
|
-
"capabilityRequiredFields": ["capabilityId", "detectionMethod", "status", "evidence", "dependencyStatus", "fallbackPlan", "usedTools", "unusedTools", "unverifiedScope", "failureReason", "checkedAt"],
|
|
10
|
-
"historicalCapabilityContract": { "version": "1.10", "requiredCount": 6, "status": "legacy-compatible" },
|
|
11
|
-
"currentProviderCapabilityContract": { "version": "1.13.1", "requiredCount": 8, "source": "host-preflight.template.json", "requiredCapabilities": ["createRealSession", "reuseExistingSession", "sendTask", "receiveResult", "querySessionStatus", "recoverSession", "closeSession", "controlFileReadWrite"] },
|
|
12
|
-
"evidenceRequiredFields": ["evidenceType", "source", "summaryOrHash", "checkedAt"],
|
|
13
|
-
"unknownPolicy": "unknown-means-no-verifiable-evidence; never report verified or unavailable without evidence",
|
|
14
|
-
"checkedAt": null,
|
|
15
|
-
"capabilities": {
|
|
16
|
-
"createRealSession": { "capabilityId": "createRealSession", "detectionMethod": "host-api", "status": "unknown", "evidence": [], "dependencyStatus": "unknown", "fallbackPlan": "local-degraded-no-fake-session-id", "usedTools": [], "unusedTools": [], "unverifiedScope": [], "failureReason": null, "checkedAt": null },
|
|
17
|
-
"reuseExistingSession": { "capabilityId": "reuseExistingSession", "detectionMethod": "host-api", "status": "unknown", "evidence": [], "dependencyStatus": "unknown", "fallbackPlan": "local-degraded-no-fake-session-id", "usedTools": [], "unusedTools": [], "unverifiedScope": [], "failureReason": null, "checkedAt": null },
|
|
18
|
-
"sendTask": { "capabilityId": "sendTask", "detectionMethod": "host-api", "status": "unknown", "evidence": [], "dependencyStatus": "unknown", "fallbackPlan": "read-only handoff", "usedTools": [], "unusedTools": [], "unverifiedScope": [], "failureReason": null, "checkedAt": null },
|
|
19
|
-
"receiveResult": { "capabilityId": "receiveResult", "detectionMethod": "host-api", "status": "unknown", "evidence": [], "dependencyStatus": "unknown", "fallbackPlan": "read-only handoff", "usedTools": [], "unusedTools": [], "unverifiedScope": [], "failureReason": null, "checkedAt": null },
|
|
20
|
-
"closeSession": { "capabilityId": "closeSession", "detectionMethod": "host-api", "status": "unknown", "evidence": [], "dependencyStatus": "unknown", "fallbackPlan": "manual host close", "usedTools": [], "unusedTools": [], "unverifiedScope": [], "failureReason": null, "checkedAt": null },
|
|
21
|
-
"controlFileReadWrite": { "capabilityId": "controlFileReadWrite", "detectionMethod": "filesystem", "status": "unknown", "evidence": [], "dependencyStatus": "unknown", "fallbackPlan": "pause on write failure", "usedTools": [], "unusedTools": [], "unverifiedScope": [], "failureReason": null, "checkedAt": null }
|
|
22
|
-
},
|
|
23
|
-
"readyPolicy": {
|
|
24
|
-
"requiredCapabilities": ["createRealSession", "reuseExistingSession", "sendTask", "receiveResult", "closeSession", "controlFileReadWrite"],
|
|
25
|
-
"unavailableBlocksReady": true,
|
|
26
|
-
"unknownBlocksReady": true,
|
|
27
|
-
"availableWithDependencyBlocksReady": true,
|
|
28
|
-
"notVerifiedBlocksReady": true,
|
|
29
|
-
"blockedStatuses": ["unknown", "unavailable", "permission-denied", "failed", "available-with-dependency", "not-checked", "not-verified"],
|
|
30
|
-
"dependencyRequiredStatus": "authorized",
|
|
31
|
-
"fakeSessionIdProhibited": true
|
|
32
|
-
},
|
|
33
|
-
"unverifiedScope": [],
|
|
34
|
-
"sensitiveScan": { "status": "not-run", "matches": [] },
|
|
35
|
-
"createdAt": null,
|
|
36
|
-
"updatedAt": null
|
|
37
|
-
}
|