test: align phase five dev acceptance flows

This commit is contained in:
2026-09-02 03:32:35 +08:00
parent f3be06a3e0
commit a4a4306154
13 changed files with 106 additions and 103 deletions
@@ -80,6 +80,11 @@ test('module exposes no scheduler, attempt, internal or arbitrary stop endpoint'
}
})
test('system-created carrier histories accept operator zero while user writes still require numeric identities', () => {
assert.match(source, /function validOperatorId\(value\) \{ return value === '0' \|\| validNumericId\(value\) \}/)
assert.match(source, /item\?\.operatorId == null \|\| validOperatorId\(item\.operatorId\)/)
})
test('ownership requires current marker, long query id and outbound-confirm source', () => {
const valid = { queryId: QUERY_ID, marker: MARKER, ownedByModule: true,
triggerSource: 'OUTBOUND_CONFIRM' }