state-hub/docs/evidence/STATE-WP-0083-task-identity-audit-2026-08-31.json
tegwick a32112e5ab
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Multi-Context Image / build-and-push (push) Successful in 26s
fix: preserve stale task identity history
Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a053ff-1d6f-7fe2-ac1c-a6eb40a42a0c
2026-08-31 02:02:35 +02:00

55 lines
2.4 KiB
JSON

{
"schema": "state-hub.task-identity-audit.v1",
"observed_at": "2026-08-31",
"source": "primary State Hub task and workplan APIs",
"counts": {
"tasks": 6613,
"identified_tasks": 5831,
"duplicate_record_id_groups": 131,
"rows_in_duplicate_groups": 274,
"cross_workplan_groups": 131,
"same_workplan_groups": 0,
"cross_repository_groups": 31
},
"slug_tombstone_shape": {
"exactly_one_untombstoned_workplan_slug": 104,
"tombstoned_workplan_slugs_only": 15,
"multiple_untombstoned_workplan_slugs": 12,
"note": "Slug tombstones are an operational clue, not task-level projection membership. Tasks have no projection-retirement field."
},
"multiple_untombstoned_workplan_slugs": [
{
"record_id_prefix": "CUST-WP-0010b-T",
"task_identity_groups": 2,
"workplan_slugs": [
"cust-wp-0010b",
"cust-wp-0010"
],
"workplan_status": "finished",
"cause": "stale completed task rows left by an earlier wrong workplan/backing-file projection"
},
{
"record_id_prefix": "SECRETS-WP-0002-T",
"task_identity_groups": 10,
"workplan_slugs": [
"secrets-wp-0001",
"secrets-wp-0002"
],
"workplan_status": "finished",
"cause": "stale completed task rows left by an earlier wrong workplan/backing-file projection"
}
],
"decision": {
"historical_rows": "preserve; a repeated label outside the owning workplan's desired task set is not current projection ambiguity",
"duplicate_inside_matched_workplan_desired_set": "refuse reset and report every claimant UUID",
"duplicate_inside_forge_projection": "refuse reset; require file-level disposition",
"new_derived_task_uuid_held_by_other_current_workplan": "refuse before insert",
"duplicate_record_id_across_other_workplans": "preserve as historical evidence; do not block unless the forge repeats the identity or the derived UUID collides"
},
"live_reconcile": {
"state-hub": "noop at ddce470944e25b2f79927e7b8e2dfe3104cc4528",
"the-custodian": "applied 74 workplan and 169 task field updates; zero creates, retirements, cancellations, or refusals",
"secrets-engine": "applied 10 workplan and 26 task field updates; zero creates, retirements, cancellations, or refusals",
"second_pass": "the-custodian and secrets-engine both returned noop with every count zero"
}
}