This commit is contained in:
2026-10-08 17:07:57 +08:00
parent 16d2d9111a
commit c1ddb658bd
111 changed files with 2914 additions and 941 deletions
+7 -2
View File
@@ -10,6 +10,12 @@ export function selectSteps(report, predicate) {
export function requirePassed(steps) {
return steps.length > 0 && steps.every(s => s.passed === true)
}
export function discardCoverageBoundary() {
return { node: 'F33-discard',
conclusion: 'Historical rejection-release evidence is retained. Current approval keeps reservations; actual PDA confirmation deducts the confirmed quantity. Approval alone does not prove completion.',
category: '需真实操作',
next: 'Prepare a fresh owned approved application and bound PDA actor; freeze carton/SKU/ledger evidence. Verify actual confirmation, final-pallet response recovery, identical replay with zero new writes, changed quantity rejection, and warehouse confirmation separately. Do not deduct stock at approval or borrow unrelated completed samples.' }
}
export function transferConclusion(detail) {
const shipped = Boolean(detail.actualShipAt)
const terminal = detail.status === 'RECEIVED'
@@ -56,8 +62,7 @@ export async function auditRemainingNodes({ root, output, env, live = false }) {
evidence: [evidence(files[1], s => (s.request?.path || '').includes('WT-WH-20261002-430594'))],
originalFixture: full.createdResources.phase4OverseasClientServices,
next: 'Continue this exact original transfer only after current source stock, holds, destination and allocations are frozen. Verify allocation, actual outbound and target receipt with per-position balances/unique movements and same-command replay. Incoming transfer fixtures are separate sources and cannot replace this ticket.' })
result.nodes.push({ node: 'F33-discard', conclusion: 'Rejection release supported; approval/decrement decision pending',
category: '缺用户输入', evidenceFiles: [files[5]], next: 'Await approval-time versus PDA actual-quantity decrement decision; no approval or decrement issued.' })
result.nodes.push({ ...discardCoverageBoundary(), evidenceFiles: [files[5]] })
result.nodes.push({ node: 'F26', conclusion: 'Existing 68-check source/transit scope is already evidenced; no repeat run',
category: '可立即关闭指定分支', evidenceFiles: [files[4]], boundary: 'Only 11 FBA sources/13 actual cartons and pre-receipt mapping; not all event faults or UI.' })
result.nodes.push({ node: 'F24-external', conclusion: 'External carrier lifecycle lacks valid input',