myxce/.kiro/specs/job-array-one-based-index
Rongsong Shen 4020740208
feat(job-array-one-based-index): control by identity validates first and dispatches once (task 7.4)
ControlJobByID parses every selection with ParseIdentitySelection before
any store access (first rejection: 400, nothing dispatched), collects
the jobs to act on de-duplicated by unique_job_id plus one not-found
result per missing number per selection (carrying the would-be element
ID), validates each job once after the loop and dispatches each
accepted job once. foundJob gains an explicit-index flag so
<array-id>[0] matches only element 0 and never falls back to the whole
array or an ordinary job. Fixes bug-1899 (earlier selections were
re-dispatched for every later one).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 12:29:19 +00:00
..
design.md docs(job-array-one-based-index): requirements, design and tasks; log bug-1898, bug-1899 2026-10-01 08:54:06 +00:00
requirements.md docs(job-array-one-based-index): requirements, design and tasks; log bug-1898, bug-1899 2026-10-01 08:54:06 +00:00
research.md docs(job-array-one-based-index): requirements, design and tasks; log bug-1898, bug-1899 2026-10-01 08:54:06 +00:00
spec.json docs(job-array-one-based-index): requirements, design and tasks; log bug-1898, bug-1899 2026-10-01 08:54:06 +00:00
tasks.md feat(job-array-one-based-index): control by identity validates first and dispatches once (task 7.4) 2026-10-01 12:29:19 +00:00