@wildo-ai/dev-companion 1.1.12 → 1.1.14
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/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +21 -0
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +37 -4
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +9 -2
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +66 -0
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +191 -13
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +6 -2
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js +16 -39
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +31 -2
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +2 -0
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +8 -0
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +13 -0
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +39 -13
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/companion-api/controllers/long-held-request.companion.d.ts +17 -0
- package/dist/esm/companion-api/controllers/long-held-request.companion.d.ts.map +1 -0
- package/dist/esm/companion-api/controllers/long-held-request.companion.js +33 -0
- package/dist/esm/companion-api/controllers/long-held-request.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +9 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +19 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +7 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +5 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js +37 -4
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +14 -0
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +48 -0
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-dependency-tree.companion.d.ts +128 -0
- package/dist/esm/core/introspection/services/introspection-dependency-tree.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-dependency-tree.companion.js +180 -0
- package/dist/esm/core/introspection/services/introspection-dependency-tree.companion.js.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +8 -20
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +37 -142
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.d.ts +64 -0
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.js +304 -0
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.js.map +1 -0
- package/dist/esm/core/introspection/services/introspection-worker-pool.companion.d.ts +9 -0
- package/dist/esm/core/introspection/services/introspection-worker-pool.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-worker-pool.companion.js +25 -3
- package/dist/esm/core/introspection/services/introspection-worker-pool.companion.js.map +1 -1
- package/dist/esm/core/runtime/companion-language-model-route.d.ts +16 -1
- package/dist/esm/core/runtime/companion-language-model-route.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-language-model-route.js +23 -1
- package/dist/esm/core/runtime/companion-language-model-route.js.map +1 -1
- package/dist/esm/core/runtime/restart-drain.companion.d.ts +107 -0
- package/dist/esm/core/runtime/restart-drain.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/restart-drain.companion.js +237 -0
- package/dist/esm/core/runtime/restart-drain.companion.js.map +1 -0
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.js +3 -2
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/utils/git-read-broker.companion.d.ts +62 -0
- package/dist/esm/core/utils/git-read-broker.companion.d.ts.map +1 -0
- package/dist/esm/core/utils/git-read-broker.companion.js +282 -0
- package/dist/esm/core/utils/git-read-broker.companion.js.map +1 -0
- package/dist/esm/core/utils/local-write-recording.companion.d.ts +8 -1
- package/dist/esm/core/utils/local-write-recording.companion.d.ts.map +1 -1
- package/dist/esm/core/utils/local-write-recording.companion.js +7 -23
- package/dist/esm/core/utils/local-write-recording.companion.js.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts +18 -1
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js +34 -8
- package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.d.ts +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.js +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.js.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.d.ts +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.js +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.d.ts +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.js +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.d.ts +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.js +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js +2 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js +2 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +2 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +3 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts +2 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js +3 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.d.ts +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts +2 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js +3 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts +3 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js +4 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +17 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +18 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts +17 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js +18 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts +206 -195
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js +206 -195
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts +10 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js +12 -2
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts +70 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js +70 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts +12 -2
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js +12 -2
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts +10 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js +10 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts +25 -20
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js +25 -20
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.d.ts +32 -32
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js +32 -32
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.d.ts +65 -65
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js +65 -65
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts +20 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js +20 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts +12 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js +13 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +40 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +13 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts +40 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js +40 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +5 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js +6 -0
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.fr.d.ts +175 -170
- package/dist/esm/i18n/system_enums/application-creation.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.fr.js +175 -170
- package/dist/esm/i18n/system_enums/application-creation.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.fr.d.ts +22 -22
- package/dist/esm/i18n/system_enums/flows-actors.fr.js +22 -22
- package/dist/esm/i18n/system_enums/flows-actors.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/run-records.fr.d.ts +21 -21
- package/dist/esm/i18n/system_enums/run-records.fr.js +21 -21
- package/dist/esm/i18n/system_enums/run-records.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +3 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.js +3 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts +37 -33
- package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.fr.js +37 -33
- package/dist/esm/i18n/system_enums/workbench-build.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts +18 -17
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js +18 -17
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts +7 -5
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.js +8 -6
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.d.ts +12 -12
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.js +12 -12
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js +2 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +3 -4
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +11 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js +21 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +5 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +5 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +12 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js +9 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +200 -20
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +1107 -230
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts +158 -16
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js +381 -46
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +58 -0
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +116 -2
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.d.ts +3 -3
- package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.js +3 -3
- package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.d.ts +9 -0
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.js +19 -0
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +12 -0
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +31 -7
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +4 -5
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +2 -2
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +10 -8
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +6 -3
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.js +3 -5
- package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +68 -3
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +281 -69
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/package.json +18 -18
package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js
CHANGED
|
@@ -7,6 +7,119 @@ import { resolveBuildTaskLandedProbes } from './application-build-task-coding-po
|
|
|
7
7
|
* the chain is one step long; what it leaves unmet is shown on its record.
|
|
8
8
|
*/
|
|
9
9
|
export const HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX = 'build-task-follow-up-';
|
|
10
|
+
/**
|
|
11
|
+
* What a task's TARGET can do about a requirement it reports unmet (#3701), total over {@link BuildPlanTaskTargetKind}: a
|
|
12
|
+
* kind added to the vocabulary does not compile until somebody says whether its follow-up can close a product gap.
|
|
13
|
+
*/
|
|
14
|
+
export var FollowUpTargetReach;
|
|
15
|
+
(function (FollowUpTargetReach) {
|
|
16
|
+
/** Its scope builds the product: a follow-up on it can close what the product lacks. */
|
|
17
|
+
FollowUpTargetReach["DELIVERS"] = "DELIVERS";
|
|
18
|
+
/**
|
|
19
|
+
* Its scope PRESENTS the product (the marketing website, the technical documentation): it can describe a feature, and
|
|
20
|
+
* never build one. A follow-up on it can only reword the page, which is how the reference run of 2026-11-10 landed 31
|
|
21
|
+
* follow-ups with the features they reported still missing.
|
|
22
|
+
*/
|
|
23
|
+
FollowUpTargetReach["PRESENTS"] = "PRESENTS";
|
|
24
|
+
/** A companion generation step: no coding run ever runs it. */
|
|
25
|
+
FollowUpTargetReach["GENERATES"] = "GENERATES";
|
|
26
|
+
})(FollowUpTargetReach || (FollowUpTargetReach = {}));
|
|
27
|
+
export const BUILD_TARGET_FOLLOW_UP_REACH = {
|
|
28
|
+
[BuildPlanTaskTargetKind.MODULE]: FollowUpTargetReach.DELIVERS,
|
|
29
|
+
[BuildPlanTaskTargetKind.RESOURCE_STAGE]: FollowUpTargetReach.DELIVERS,
|
|
30
|
+
[BuildPlanTaskTargetKind.RELATIONSHIP]: FollowUpTargetReach.DELIVERS,
|
|
31
|
+
[BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP]: FollowUpTargetReach.GENERATES,
|
|
32
|
+
[BuildPlanTaskTargetKind.SHELL_PLACEMENT]: FollowUpTargetReach.DELIVERS,
|
|
33
|
+
[BuildPlanTaskTargetKind.MODULE_FRONTEND]: FollowUpTargetReach.DELIVERS,
|
|
34
|
+
[BuildPlanTaskTargetKind.MODULE_BACKEND]: FollowUpTargetReach.DELIVERS,
|
|
35
|
+
[BuildPlanTaskTargetKind.APPLICATION_FRONTEND_CONFIG]: FollowUpTargetReach.DELIVERS,
|
|
36
|
+
[BuildPlanTaskTargetKind.WEBSITE]: FollowUpTargetReach.PRESENTS,
|
|
37
|
+
[BuildPlanTaskTargetKind.TECHNICAL_DOCUMENTATION]: FollowUpTargetReach.PRESENTS,
|
|
38
|
+
[BuildPlanTaskTargetKind.WORKER]: FollowUpTargetReach.DELIVERS,
|
|
39
|
+
[BuildPlanTaskTargetKind.MINION]: FollowUpTargetReach.DELIVERS,
|
|
40
|
+
[BuildPlanTaskTargetKind.PROVIDER_BINDING]: FollowUpTargetReach.DELIVERS,
|
|
41
|
+
[BuildPlanTaskTargetKind.BILLING_CATALOG]: FollowUpTargetReach.DELIVERS,
|
|
42
|
+
[BuildPlanTaskTargetKind.APPLICATION_ROLES]: FollowUpTargetReach.DELIVERS,
|
|
43
|
+
[BuildPlanTaskTargetKind.ORGANIZATION_MODEL]: FollowUpTargetReach.DELIVERS,
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* The skill a follow-up lifted to a whole MODULE carries beside its serving tasks' skills: the MODULE kind's own reason to
|
|
47
|
+
* exist is registering the module in every layer, and that is the skill that teaches it.
|
|
48
|
+
*/
|
|
49
|
+
export const MODULE_FOLLOW_UP_SKILL_REF = 'module-registration';
|
|
50
|
+
/**
|
|
51
|
+
* The scope that CLOSES a product gap on one serving task's target (#3701). Every module-scoped kind writes a subset of
|
|
52
|
+
* its module's MODULE scope (the coding policy's own prefixes: a resource stage, a relationship file, a module's frontend
|
|
53
|
+
* or backend layer), and only the MODULE scope reaches the module registries. A gap a presenting task reports can be
|
|
54
|
+
* anywhere in the module, so it goes to the module; an application-wide target closes in its own scope.
|
|
55
|
+
*/
|
|
56
|
+
export function productClosingTarget(target) {
|
|
57
|
+
switch (target.kind) {
|
|
58
|
+
case BuildPlanTaskTargetKind.MODULE:
|
|
59
|
+
case BuildPlanTaskTargetKind.RESOURCE_STAGE:
|
|
60
|
+
case BuildPlanTaskTargetKind.RELATIONSHIP:
|
|
61
|
+
case BuildPlanTaskTargetKind.MODULE_FRONTEND:
|
|
62
|
+
case BuildPlanTaskTargetKind.MODULE_BACKEND:
|
|
63
|
+
return { kind: BuildPlanTaskTargetKind.MODULE, moduleRef: target.moduleRef };
|
|
64
|
+
case BuildPlanTaskTargetKind.SHELL_PLACEMENT:
|
|
65
|
+
case BuildPlanTaskTargetKind.APPLICATION_FRONTEND_CONFIG:
|
|
66
|
+
case BuildPlanTaskTargetKind.WORKER:
|
|
67
|
+
case BuildPlanTaskTargetKind.MINION:
|
|
68
|
+
case BuildPlanTaskTargetKind.PROVIDER_BINDING:
|
|
69
|
+
case BuildPlanTaskTargetKind.BILLING_CATALOG:
|
|
70
|
+
case BuildPlanTaskTargetKind.APPLICATION_ROLES:
|
|
71
|
+
case BuildPlanTaskTargetKind.ORGANIZATION_MODEL:
|
|
72
|
+
return target;
|
|
73
|
+
case BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP:
|
|
74
|
+
case BuildPlanTaskTargetKind.WEBSITE:
|
|
75
|
+
case BuildPlanTaskTargetKind.TECHNICAL_DOCUMENTATION:
|
|
76
|
+
return undefined;
|
|
77
|
+
default: {
|
|
78
|
+
const unhandled = target;
|
|
79
|
+
throw new Error(`Unhandled build-plan target ${JSON.stringify(unhandled)}.`);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* WHERE a gap one origin reported is closed (#3701), through the decomposer's own mapping from a requirement to the work
|
|
85
|
+
* that delivers it: the plan's `servesRefs`.
|
|
86
|
+
*
|
|
87
|
+
* - An origin whose target DELIVERS the product closes its own gap: one scope, the origin's (unchanged since #2496).
|
|
88
|
+
* - An origin that PRESENTS the product (a website section, a documentation chapter) reported that the product does not
|
|
89
|
+
* do what the page describes. The gap goes to every product task serving the same requirement, lifted to the scope that
|
|
90
|
+
* closes it ({@link productClosingTarget}), one scope per distinct target, in plan order. The reference run's
|
|
91
|
+
* bid-records gap ("not registered in the backend or frontend module registries") was reported by a website section and
|
|
92
|
+
* went back to that section; it now goes to the bid-records MODULE.
|
|
93
|
+
* - A presenting origin whose requirement no product task serves is a requirement only pages deliver (a public case
|
|
94
|
+
* study): it stays on the origin's target.
|
|
95
|
+
*/
|
|
96
|
+
export function resolveFollowUpClosingScopes(origin, requirementRef, planTasks) {
|
|
97
|
+
const own = { target: origin.target, servingTaskRefs: [], skillRefs: origin.skillRefs, functionalTopic: origin.functionalTopic };
|
|
98
|
+
if (BUILD_TARGET_FOLLOW_UP_REACH[origin.target.kind] !== FollowUpTargetReach.PRESENTS)
|
|
99
|
+
return [own];
|
|
100
|
+
const scopes = new Map();
|
|
101
|
+
for (const task of planTasks) {
|
|
102
|
+
if (task.taskRef === origin.taskRef || !task.servesRefs.includes(requirementRef))
|
|
103
|
+
continue;
|
|
104
|
+
if (BUILD_TARGET_FOLLOW_UP_REACH[task.target.kind] !== FollowUpTargetReach.DELIVERS)
|
|
105
|
+
continue;
|
|
106
|
+
const target = productClosingTarget(task.target);
|
|
107
|
+
if (target === undefined)
|
|
108
|
+
continue;
|
|
109
|
+
const key = targetKey(target);
|
|
110
|
+
const entry = scopes.get(key) ?? { target, serving: [] };
|
|
111
|
+
entry.serving.push(task);
|
|
112
|
+
scopes.set(key, entry);
|
|
113
|
+
}
|
|
114
|
+
if (scopes.size === 0)
|
|
115
|
+
return [own];
|
|
116
|
+
return [...scopes.values()].map(({ target, serving }) => ({
|
|
117
|
+
target,
|
|
118
|
+
servingTaskRefs: serving.map((task) => task.taskRef),
|
|
119
|
+
skillRefs: [...new Set([...(target.kind === BuildPlanTaskTargetKind.MODULE ? [MODULE_FOLLOW_UP_SKILL_REF] : []), ...serving.flatMap((task) => task.skillRefs)])],
|
|
120
|
+
functionalTopic: serving[0].functionalTopic,
|
|
121
|
+
}));
|
|
122
|
+
}
|
|
10
123
|
/** Why a reported gap derives no follow-up task (#2496). */
|
|
11
124
|
export var FollowUpGapNotDerivedReason;
|
|
12
125
|
(function (FollowUpGapNotDerivedReason) {
|
|
@@ -21,11 +134,32 @@ export var FollowUpGapNotDerivedReason;
|
|
|
21
134
|
* selection and a run each. Only that positive statement drops a gap; silence and a malformed block never do.
|
|
22
135
|
*/
|
|
23
136
|
FollowUpGapNotDerivedReason["MET_SINCE"] = "MET_SINCE";
|
|
137
|
+
/**
|
|
138
|
+
* The follow-up that would carry it could not join the plan (#3204): its ref already names a task, or the plan refused
|
|
139
|
+
* it. Recorded so the gap still reads OPEN, with no follow-up, rather than falling out of every reading.
|
|
140
|
+
*/
|
|
141
|
+
FollowUpGapNotDerivedReason["FOLLOW_UP_NOT_APPENDED"] = "FOLLOW_UP_NOT_APPENDED";
|
|
142
|
+
/**
|
|
143
|
+
* The report said a PERSON must decide something first (#3886: `needsDecision`): no coding task can close it, so none is
|
|
144
|
+
* derived. It stays OPEN, for the maturity reading and on the creation Home's ASKED section. On reference run 43691253927
|
|
145
|
+
* six follow-up runs changed nothing for this reason ("the creator must decide the RESOURCE_DATA retention period").
|
|
146
|
+
*/
|
|
147
|
+
FollowUpGapNotDerivedReason["AWAITS_DECISION"] = "AWAITS_DECISION";
|
|
24
148
|
})(FollowUpGapNotDerivedReason || (FollowUpGapNotDerivedReason = {}));
|
|
25
149
|
/** The key one gap is addressed by: its origin, its reporting run and its requirement. */
|
|
26
150
|
export function followUpGapKey(gap) {
|
|
27
151
|
return `${gap.originTaskRef}\u0000${gap.reportingRunTaskId}\u0000${gap.requirementRef}`;
|
|
28
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* The reference a PERSON is shown for one report a derived follow-up covers (#3833): `<requirementRef>@<originTaskRef>/<run>`,
|
|
155
|
+
* so `wildo build tasks` can list it and `wildo build close|approve --covers` can send back what was seen. It names the
|
|
156
|
+
* same three parts as {@link followUpGapKey}, so two reports never share one. The requirement ref and the run id come
|
|
157
|
+
* from a run's report and the plan, so each part is percent-encoded: the result never holds a comma (the CLI splits
|
|
158
|
+
* `--covers` on commas), whitespace, or a separator of its own (`@`, `/`). A task ref is already a slug.
|
|
159
|
+
*/
|
|
160
|
+
export function followUpReportRefOf(gap) {
|
|
161
|
+
return `${encodeURIComponent(gap.requirementRef)}@${encodeURIComponent(gap.originTaskRef)}/${encodeURIComponent(gap.reportingRunTaskId)}`;
|
|
162
|
+
}
|
|
29
163
|
/**
|
|
30
164
|
* The follow-up ref of ONE origin's ONE reporting run: the origin, then a token of the run, so the same report derives the
|
|
31
165
|
* same task on every read while a later run reporting again derives a NEW task (the old follow-up's completed run must not
|
|
@@ -43,13 +177,14 @@ export function deriveFollowUpTaskRef(originTaskRef, reportingRunTaskId) {
|
|
|
43
177
|
return `${HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX}${origin}-${digest(reportingRunTaskId).slice(0, 6)}`;
|
|
44
178
|
}
|
|
45
179
|
/**
|
|
46
|
-
* A follow-up waiting on its
|
|
180
|
+
* A follow-up waiting on its first report's origin, on the planned task its gaps were reported as owned by (#3886, both in
|
|
181
|
+
* `ownPrerequisiteTaskRefs`) and, when there is one, on the follow-up before it on its target. One function, so the
|
|
47
182
|
* dispatch host can re-link a follow-up after one it could not append (a name collision, a schema refusal): a chain
|
|
48
183
|
* naming a task the plan does not hold would make the plan unreadable.
|
|
49
184
|
*/
|
|
50
185
|
export function chainFollowUpAfter(followUp, previousOnTarget) {
|
|
51
|
-
const
|
|
52
|
-
return { ...followUp, prerequisiteTaskRefs: previousOnTarget === undefined ?
|
|
186
|
+
const own = [...followUp.ownPrerequisiteTaskRefs];
|
|
187
|
+
return { ...followUp.task, prerequisiteTaskRefs: previousOnTarget === undefined ? own : [...own, previousOnTarget] };
|
|
53
188
|
}
|
|
54
189
|
/** A target's identity: two tasks with equal targets write the same scope (#3227). */
|
|
55
190
|
export function targetKey(target) {
|
|
@@ -60,31 +195,44 @@ export function targetKey(target) {
|
|
|
60
195
|
* The follow-up tasks the reported gaps derive (#2496, #3227). Pure: the dispatch host supplies the plan and each task's
|
|
61
196
|
* latest completed run.
|
|
62
197
|
*
|
|
63
|
-
* ## One follow-up per
|
|
198
|
+
* ## One follow-up per target for what is not dispatched yet, chained per target
|
|
64
199
|
*
|
|
65
200
|
* - **Every requirement one run reported is folded into one follow-up** (#3227): one scope, one worker, one set of
|
|
66
201
|
* checks, instead of the same task once per requirement.
|
|
67
|
-
* - **
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
202
|
+
* - **A follow-up not dispatched yet absorbs every later report on its target** (#3204): one worker reads the scope once,
|
|
203
|
+
* with every gap in front of it. The reference run of 2026-11-12 derived 225 follow-ups from website sections onto 24
|
|
204
|
+
* modules (17 requirements, each re-reported by up to 7 sections and routed to every module serving it), and 173 changed
|
|
205
|
+
* nothing. Absorption needs the dispatch record and the decisions (`absorption`); without them, one follow-up per report.
|
|
206
|
+
* - **Its identity is its FIRST report's origin and run, and nothing else**, so it is STABLE: a later report joins it
|
|
207
|
+
* rather than renaming it, and a follow-up the build is running, or has run, never leaves the plan because somebody
|
|
208
|
+
* else reported (#2530). Once dispatched it is FIXED: it carries exactly the gaps recorded on its runs at dispatch,
|
|
209
|
+
* which are the gaps its objective held, and a later report starts the next one. A follow-up a person closed or
|
|
210
|
+
* approved is fixed too, to the gaps the decision recorded ({@link FollowUpAbsorptionInputs}, #3832).
|
|
71
211
|
* - **Follow-ups on one target are chained IN THE ORDER THEIR REPORTS SETTLED** (then by origin ref), each waiting on the
|
|
72
212
|
* one before it: they write one scope, and two of them at once would overwrite each other (the interference that made
|
|
73
213
|
* the wave re-run each alone). Report order rather than plan order, so a new report always joins the TAIL: in plan
|
|
74
214
|
* order, an origin earlier in the plan reporting later went to the head, made a running follow-up wait on it, and was
|
|
75
215
|
* ready at once beside it (review of f077ae7db). A follow-up declares no product, so no interference check could see it.
|
|
216
|
+
* - **It waits on its first report's origin only**: the chain already holds a target's later follow-ups behind the earlier
|
|
217
|
+
* ones, so waiting on every absorbed origin would hold all their gaps behind any one of them that never lands.
|
|
218
|
+
* - **It does not wait on the other tasks serving its requirements**, only names them: a task that never lands would hold
|
|
219
|
+
* it for ever. Waiting was weighed again for #3204 and would not have helped: on the reference run the sections reported
|
|
220
|
+
* their gaps after most of the product tasks serving them had run.
|
|
76
221
|
*
|
|
77
222
|
* ## A gap a later run STATED met is dropped; silence drops nothing
|
|
78
223
|
*
|
|
79
224
|
* Dropping on ABSENCE was tried and withdrawn (review of 5e3ab7d76): a missing block, a malformed one and a run that never
|
|
80
225
|
* looked at the requirement all read the same, so it closed gaps nobody had closed. The worker contract now carries the
|
|
81
226
|
* positive half, a `wildo-requirements-met` block, and a gap is dropped only when {@link collectFollowUpGapsMetSince} finds
|
|
82
|
-
* a later run that states it and the host confirms that run LANDED and
|
|
227
|
+
* a later run that states it and the host confirms that run LANDED and no follow-up carrying the gap was ever attempted
|
|
228
|
+
* (`metSince`): neither its own report's nor one that absorbed it (#3204).
|
|
83
229
|
* Every drop is in `notDerived`, with the run and its evidence, so the host logs it. The follow-up's own worker is still
|
|
84
230
|
* told to read what was built since and change nothing when a gap is met.
|
|
85
231
|
*
|
|
86
|
-
* Unchanged: the chain is one step long (a follow-up's own report derives nothing),
|
|
87
|
-
*
|
|
232
|
+
* Unchanged: the chain is one step long (a follow-up's own report derives nothing), and an origin whose target lands by
|
|
233
|
+
* its own probe or is a generation step derives nothing. A follow-up keeps its origin's target and skills, EXCEPT when the
|
|
234
|
+
* origin only presents the product (#3701): its gaps go to the product scopes serving the requirement, see
|
|
235
|
+
* {@link resolveFollowUpClosingScopes}.
|
|
88
236
|
*/
|
|
89
237
|
export function deriveBuildPlanFollowUpTasks(input) {
|
|
90
238
|
const notDerived = [];
|
|
@@ -95,7 +243,14 @@ export function deriveBuildPlanFollowUpTasks(input) {
|
|
|
95
243
|
const reported = run?.unmetRequirements ?? [];
|
|
96
244
|
if (run === undefined || reported.length === 0)
|
|
97
245
|
continue;
|
|
98
|
-
const reportedGaps = reported.map((entry) => ({
|
|
246
|
+
const reportedGaps = reported.map((entry) => ({
|
|
247
|
+
originTaskRef: origin.taskRef,
|
|
248
|
+
reportingRunTaskId: run.runTaskId,
|
|
249
|
+
requirementRef: entry.requirementRef,
|
|
250
|
+
missing: entry.missing,
|
|
251
|
+
...(entry.ownedByTaskRef !== undefined ? { ownedByTaskRef: entry.ownedByTaskRef } : {}),
|
|
252
|
+
...(entry.needsDecision !== undefined ? { needsDecision: entry.needsDecision } : {}),
|
|
253
|
+
}));
|
|
99
254
|
if (origin.target.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {
|
|
100
255
|
notDerived.push(...reportedGaps.map((gap) => ({ ...gap, reason: FollowUpGapNotDerivedReason.GENERATION_STEP })));
|
|
101
256
|
continue;
|
|
@@ -111,6 +266,12 @@ export function deriveBuildPlanFollowUpTasks(input) {
|
|
|
111
266
|
return true;
|
|
112
267
|
notDerived.push({ ...gap, reason: FollowUpGapNotDerivedReason.MET_SINCE, metSince: { metByTaskRef: met.metByTaskRef, metByRunTaskId: met.metByRunTaskId, evidence: met.evidence } });
|
|
113
268
|
return false;
|
|
269
|
+
}).filter((gap) => {
|
|
270
|
+
// A decision only a person can make (#3886): no coding task, and the gap stays open on ASKED.
|
|
271
|
+
if (gap.needsDecision === undefined)
|
|
272
|
+
return true;
|
|
273
|
+
notDerived.push({ ...gap, reason: FollowUpGapNotDerivedReason.AWAITS_DECISION });
|
|
274
|
+
return false;
|
|
114
275
|
});
|
|
115
276
|
if (gaps.length === 0)
|
|
116
277
|
continue;
|
|
@@ -124,37 +285,197 @@ export function deriveBuildPlanFollowUpTasks(input) {
|
|
|
124
285
|
};
|
|
125
286
|
const byReportedAt = (left, right) => (left === right ? 0 : left < right ? -1 : 1);
|
|
126
287
|
reports.sort((left, right) => byReportedAt(reportedAt(left.run), reportedAt(right.run)) || left.origin.taskRef.localeCompare(right.origin.taskRef));
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
288
|
+
/*
|
|
289
|
+
* The owner a report named, when the plan can honour it (#3886): a planned task (never a follow-up), not the origin
|
|
290
|
+
* itself, that serves the very requirement. Anything else is ignored and the gap is an ordinary one: a worker's free text
|
|
291
|
+
* must never make a follow-up wait on a task that does not exist or does not do that work.
|
|
292
|
+
*/
|
|
293
|
+
const honouredOwner = (gap, origin) => honouredFollowUpOwner(gap, origin, planTasks);
|
|
294
|
+
const groupsByTarget = new Map();
|
|
130
295
|
for (const { origin, run, gaps } of reports) {
|
|
131
|
-
const
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
296
|
+
const byScope = new Map();
|
|
297
|
+
for (const gap of gaps) {
|
|
298
|
+
const owner = honouredOwner(gap, origin);
|
|
299
|
+
for (const scope of resolveFollowUpClosingScopes(origin, gap.requirementRef, planTasks)) {
|
|
300
|
+
const key = targetKey(scope.target);
|
|
301
|
+
const routed = scope.servingTaskRefs.length > 0;
|
|
302
|
+
// An owned gap is its own group, so waiting for its owner holds no other gap (#3886); unowned refs are unchanged.
|
|
303
|
+
const groupKey = owner === undefined ? key : `${key}\u0000owner:${owner}`;
|
|
304
|
+
const group = byScope.get(groupKey) ?? {
|
|
305
|
+
origin, run, scope, gaps: [],
|
|
306
|
+
taskRef: owner !== undefined ? deriveFollowUpTaskRef(origin.taskRef, `${run.runTaskId}\u0000${key}\u0000owner:${owner}`)
|
|
307
|
+
: routed ? deriveFollowUpTaskRef(origin.taskRef, `${run.runTaskId}\u0000${key}`) : deriveFollowUpTaskRef(origin.taskRef, run.runTaskId),
|
|
308
|
+
settledAtMs: reportedAt(run),
|
|
309
|
+
...(owner !== undefined ? { owner } : {}),
|
|
310
|
+
};
|
|
311
|
+
group.gaps.push(gap);
|
|
312
|
+
byScope.set(groupKey, group);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
for (const group of byScope.values()) {
|
|
316
|
+
const key = targetKey(group.scope.target);
|
|
317
|
+
groupsByTarget.set(key, [...(groupsByTarget.get(key) ?? []), group]);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
/*
|
|
321
|
+
* ONE follow-up per target for everything not yet dispatched (#3204). The reference run of 2026-11-12 derived 225
|
|
322
|
+
* follow-ups from website sections on 24 module scopes: 17 requirements, each reported by up to 7 sections and routed
|
|
323
|
+
* to every module serving it, all waiting at once, and 173 changed nothing.
|
|
324
|
+
*
|
|
325
|
+
* - A DISPATCHED follow-up carries its own report and exactly the gaps recorded on its runs (what its objective held).
|
|
326
|
+
* - A DECIDED follow-up (a person closed or approved it, or a decision holds it) carries its own report and exactly the
|
|
327
|
+
* gaps the decision recorded (#3832).
|
|
328
|
+
* - Every other gap on the target goes to ONE pending follow-up: the first report not yet dispatched, under its own ref,
|
|
329
|
+
* so it is never renamed (#2530). One worker reads the scope once, with every gap in front of it.
|
|
330
|
+
*
|
|
331
|
+
* Only the first report's origin is waited on: the chain already held every later follow-up on a target behind the
|
|
332
|
+
* earlier ones, so waiting on each absorbed origin as well would hold the gaps of all of them behind any one.
|
|
333
|
+
*/
|
|
334
|
+
const absorption = input.absorption;
|
|
335
|
+
const followUpsByTarget = [];
|
|
336
|
+
for (const [key, groups] of groupsByTarget) {
|
|
337
|
+
const members = [];
|
|
338
|
+
const closedToAbsorption = (group) => absorption === undefined || absorption.dispatched.has(group.taskRef) || absorption.decided.has(group.taskRef);
|
|
339
|
+
const anchoredAlone = new Map();
|
|
340
|
+
for (const group of groups) {
|
|
341
|
+
if (absorption === undefined || closedToAbsorption(group)) {
|
|
342
|
+
const member = { anchor: group, carried: new Map() };
|
|
343
|
+
members.push(member);
|
|
344
|
+
anchoredAlone.set(group, member);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
if (absorption !== undefined) {
|
|
348
|
+
// What each dispatched or decided follow-up carried, from its records; never a gap whose own report is either.
|
|
349
|
+
const claimedBy = new Map();
|
|
350
|
+
for (const member of members) {
|
|
351
|
+
const recorded = new Set([...(absorption.dispatched.get(member.anchor.taskRef) ?? []), ...(absorption.decided.get(member.anchor.taskRef) ?? [])]);
|
|
352
|
+
for (const group of groups) {
|
|
353
|
+
if (group === member.anchor || closedToAbsorption(group))
|
|
354
|
+
continue;
|
|
355
|
+
for (const gap of group.gaps) {
|
|
356
|
+
const gapKey = followUpGapKey(gap);
|
|
357
|
+
if (!recorded.has(gapKey) || claimedBy.has(gapKey))
|
|
358
|
+
continue;
|
|
359
|
+
claimedBy.set(gapKey, member);
|
|
360
|
+
member.carried.set(group, [...(member.carried.get(group) ?? []), gap]);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
// The decided anchors are already in the order their reports settled (pushed in report order above).
|
|
365
|
+
// Everything else: the first pending report anchors, every later one joins it. Its follow-up goes LAST on its target,
|
|
366
|
+
// after every dispatched or decided one, so a report that surfaced late never runs beside one already running.
|
|
367
|
+
// One pending follow-up for the target's unowned gaps, and one per owner (#3886), so an owner holds only its own gaps.
|
|
368
|
+
const pendingByOwner = new Map();
|
|
369
|
+
for (const group of groups) {
|
|
370
|
+
if (closedToAbsorption(group))
|
|
371
|
+
continue;
|
|
372
|
+
const remaining = group.gaps.filter((gap) => !claimedBy.has(followUpGapKey(gap)));
|
|
373
|
+
if (remaining.length === 0)
|
|
374
|
+
continue;
|
|
375
|
+
const pending = pendingByOwner.get(group.owner);
|
|
376
|
+
if (pending === undefined) {
|
|
377
|
+
const member = { anchor: { ...group, gaps: remaining }, carried: new Map() };
|
|
378
|
+
pendingByOwner.set(group.owner, member);
|
|
379
|
+
members.push(member);
|
|
380
|
+
}
|
|
381
|
+
else {
|
|
382
|
+
pending.carried.set(group, remaining);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
/*
|
|
387
|
+
* A follow-up waiting for its owner is on a CHAIN OF ITS OWN (#3886, review M1): it waits on the follow-up before it
|
|
388
|
+
* for the same owner on this target, never on another owner's or on the target's unowned follow-ups, and none of them
|
|
389
|
+
* waits on it. One chain per target would hold every gap behind any owner that never lands, #3204's objection one level
|
|
390
|
+
* down. Two follow-ups on one scope still never RUN at once: the dispatch's selection takes one follow-up per scope at a
|
|
391
|
+
* time (`followUpScopeBusy`), since they declare no product and nothing else could see them meet.
|
|
392
|
+
*/
|
|
393
|
+
const build = (anchor, contributions) => {
|
|
394
|
+
const all = contributions.map(([group]) => group);
|
|
395
|
+
const gaps = contributions.flatMap(([, contributed]) => contributed);
|
|
396
|
+
const requirementRefs = [...new Set(gaps.map((gap) => gap.requirementRef))];
|
|
397
|
+
const originRefs = [...new Set(all.map((group) => group.origin.taskRef))];
|
|
398
|
+
const servingTasks = [...new Set(planTasks
|
|
399
|
+
.filter((task) => !originRefs.includes(task.taskRef) && requirementRefs.some((ref) => task.servesRefs.includes(ref)))
|
|
400
|
+
.map((task) => task.taskRef))];
|
|
401
|
+
const builtBy = [...new Set(all.flatMap((group) => group.scope.servingTaskRefs))];
|
|
402
|
+
const describe = (groupGaps) => {
|
|
403
|
+
const byRequirement = new Map();
|
|
404
|
+
for (const gap of groupGaps)
|
|
405
|
+
byRequirement.set(gap.requirementRef, (byRequirement.get(gap.requirementRef) ?? new Set()).add(gap.missing));
|
|
406
|
+
return [...byRequirement].map(([ref, missing]) => `${ref}: ${[...missing].join(' / ')}`).join(' ');
|
|
407
|
+
};
|
|
408
|
+
const routed = contributions.filter(([group]) => group.scope.servingTaskRefs.length > 0);
|
|
409
|
+
const own = contributions.filter(([group]) => group.scope.servingTaskRefs.length === 0);
|
|
410
|
+
const presenters = [...new Set(routed.map(([group]) => group.origin.taskRef))];
|
|
411
|
+
const reporters = [...new Set(own.map(([group]) => group.origin.taskRef))];
|
|
412
|
+
const objective = (routed.length > 0
|
|
413
|
+
? `${presenters.join(', ')} ${presenters.length > 1 ? 'present' : 'presents'} the product and reported that the product does not yet deliver: `
|
|
414
|
+
+ describe(routed.flatMap(([, contributed]) => contributed))
|
|
415
|
+
+ ` Build what is missing in this scope, where ${builtBy.join(', ')} built the requirement; a page cannot. `
|
|
416
|
+
+ 'If what is missing lies outside this scope, change nothing and report it. '
|
|
417
|
+
: '')
|
|
418
|
+
+ (own.length > 0 ? `Meet what ${reporters.join(', ')} reported still unmet: ${describe(own.flatMap(([, contributed]) => contributed))} ` : '')
|
|
419
|
+
+ (contributions.length > 1 ? 'These reports were gathered into this one task because they concern this one scope: answer each. ' : '')
|
|
420
|
+
+ 'Read what is already built first: if a task that ran since has met one, change nothing for it and say so. '
|
|
421
|
+
+ (anchor.owner !== undefined ? `It was reported as ${anchor.owner}'s own work, so it runs once that task has landed: read what it built, and change nothing for a gap it met. ` : '')
|
|
144
422
|
+ (servingTasks.length > 0 ? `Other tasks serving them: ${servingTasks.join(', ')}; their work is theirs. ` : '')
|
|
145
|
-
+ 'Derived by the dispatch host from that run\'s closing report.'
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
423
|
+
+ (contributions.length > 1 ? 'Derived by the dispatch host from those runs\' closing reports.' : 'Derived by the dispatch host from that run\'s closing report.');
|
|
424
|
+
return {
|
|
425
|
+
task: {
|
|
426
|
+
taskRef: anchor.taskRef,
|
|
427
|
+
objective,
|
|
428
|
+
target: anchor.scope.target,
|
|
429
|
+
produces: [],
|
|
430
|
+
functionalTopic: anchor.scope.functionalTopic,
|
|
431
|
+
skillRefs: [...new Set(all.flatMap((group) => group.scope.skillRefs))],
|
|
432
|
+
// Its first report's origin (`followUpOf` reads it), and the owner its gaps were reported as (#3886); the follow-up
|
|
433
|
+
// before it on the same target is added by the chain.
|
|
434
|
+
prerequisiteTaskRefs: [anchor.origin.taskRef, ...(anchor.owner !== undefined ? [anchor.owner] : [])],
|
|
435
|
+
// Only refs an origin serves: a free-text ref would be a dangling citation in the plan.
|
|
436
|
+
servesRefs: requirementRefs.filter((ref) => all.some((group) => group.origin.servesRefs.includes(ref))),
|
|
437
|
+
},
|
|
438
|
+
gaps,
|
|
439
|
+
// The CHAIN it belongs to (#3886): its target's, or its target's for one owner, so owners never wait on each other.
|
|
440
|
+
targetKey: anchor.owner === undefined ? key : `${key}\u0000owner:${anchor.owner}`,
|
|
441
|
+
ownPrerequisiteTaskRefs: [anchor.origin.taskRef, ...(anchor.owner !== undefined ? [anchor.owner] : [])],
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
const previousOnChain = new Map();
|
|
445
|
+
for (const { anchor, carried } of members) {
|
|
446
|
+
const derived = {
|
|
447
|
+
...build(anchor, [[anchor, anchor.gaps], ...carried]),
|
|
448
|
+
absorbed: [...carried].map(([group, contributed]) => build(group, [[group, contributed]])),
|
|
449
|
+
};
|
|
450
|
+
const task = chainFollowUpAfter(derived, previousOnChain.get(derived.targetKey));
|
|
451
|
+
previousOnChain.set(derived.targetKey, task.taskRef);
|
|
452
|
+
followUpsByTarget.push({ ...derived, task });
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
return assembleFollowUpDerivation(followUpsByTarget, notDerived);
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* The owner a report named for a gap, when the plan can honour it (#3886): a planned task (never a follow-up), not the
|
|
459
|
+
* origin itself, that serves the very requirement. Anything else is ignored and the gap is an ordinary one.
|
|
460
|
+
*/
|
|
461
|
+
export function honouredFollowUpOwner(gap, origin, planTasks) {
|
|
462
|
+
if (gap.ownedByTaskRef === undefined)
|
|
463
|
+
return undefined;
|
|
464
|
+
const owner = planTasks.find((task) => task.taskRef === gap.ownedByTaskRef && !task.taskRef.startsWith(HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX));
|
|
465
|
+
return owner !== undefined && owner.taskRef !== origin.taskRef && owner.servesRefs.includes(gap.requirementRef) ? owner.taskRef : undefined;
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* A derivation's readers over a given set of follow-ups (#3204): what the plan holds, so a host that could not append one
|
|
469
|
+
* (and appended the reports it absorbed instead) answers from what it appended, and no reader names a task the plan lacks.
|
|
470
|
+
*/
|
|
471
|
+
export function assembleFollowUpDerivation(followUps, notDerived) {
|
|
472
|
+
const refByOriginRequirement = new Map();
|
|
473
|
+
for (const followUp of followUps) {
|
|
474
|
+
for (const gap of followUp.gaps) {
|
|
475
|
+
const originRequirement = `${gap.originTaskRef}\u0000${gap.requirementRef}`;
|
|
476
|
+
if (!refByOriginRequirement.has(originRequirement))
|
|
477
|
+
refByOriginRequirement.set(originRequirement, followUp.task.taskRef);
|
|
478
|
+
}
|
|
158
479
|
}
|
|
159
480
|
return {
|
|
160
481
|
followUps,
|
|
@@ -175,7 +496,8 @@ export function deriveBuildPlanFollowUpTasks(input) {
|
|
|
175
496
|
*
|
|
176
497
|
* EVERY such task is a candidate, in plan order, so a statement whose run has not landed does not hide one that has. A
|
|
177
498
|
* gap's own follow-up is never its verifier: once it has run, it is attempted and keeps the gap anyway. The host must
|
|
178
|
-
* still confirm that the stating run LANDED and that
|
|
499
|
+
* still confirm that the stating run LANDED and that no follow-up carrying the gap (its own, or one that absorbed it,
|
|
500
|
+
* #3204) was ever attempted before it passes a candidate on as
|
|
179
501
|
* `metSince`; this function only finds who said so.
|
|
180
502
|
*/
|
|
181
503
|
export function collectFollowUpGapsMetSince(input) {
|
|
@@ -191,12 +513,24 @@ export function collectFollowUpGapsMetSince(input) {
|
|
|
191
513
|
if (Number.isNaN(reportedAt))
|
|
192
514
|
continue;
|
|
193
515
|
const followUpTaskRef = deriveFollowUpTaskRef(origin.taskRef, run.runTaskId);
|
|
194
|
-
const key = targetKey(origin.target);
|
|
195
516
|
for (const entry of run.unmetRequirements ?? []) {
|
|
517
|
+
/*
|
|
518
|
+
* A statement counts from a task writing a scope that CLOSES the gap (#3701): the origin's own, or for a presenting
|
|
519
|
+
* origin the product scopes its gap is routed to, where a task's target is read through the same lift.
|
|
520
|
+
*/
|
|
521
|
+
const scopes = resolveFollowUpClosingScopes(origin, entry.requirementRef, planTasks);
|
|
522
|
+
const closingKeys = new Set(scopes.map((scope) => targetKey(scope.target)));
|
|
523
|
+
const routedRefs = new Set(scopes.filter((scope) => scope.servingTaskRefs.length > 0)
|
|
524
|
+
.map((scope) => deriveFollowUpTaskRef(origin.taskRef, `${run.runTaskId}\u0000${targetKey(scope.target)}`)));
|
|
525
|
+
const routed = routedRefs.size > 0;
|
|
526
|
+
// The follow-ups an owned gap derives (#3886, review LOW) are this report's own too: never a run that met it since.
|
|
527
|
+
const owner = honouredFollowUpOwner(entry, origin, planTasks);
|
|
528
|
+
const ownedRefs = new Set(owner === undefined ? [] : scopes.map((scope) => deriveFollowUpTaskRef(origin.taskRef, `${run.runTaskId}\u0000${targetKey(scope.target)}\u0000owner:${owner}`)));
|
|
196
529
|
for (const task of input.tasks) {
|
|
197
|
-
if (task.taskRef === origin.taskRef || task.taskRef === followUpTaskRef)
|
|
530
|
+
if (task.taskRef === origin.taskRef || task.taskRef === followUpTaskRef || routedRefs.has(task.taskRef) || ownedRefs.has(task.taskRef))
|
|
198
531
|
continue;
|
|
199
|
-
|
|
532
|
+
const taskScope = routed ? productClosingTarget(task.target) : task.target;
|
|
533
|
+
if (taskScope === undefined || !closingKeys.has(targetKey(taskScope)) || !task.servesRefs.includes(entry.requirementRef))
|
|
200
534
|
continue;
|
|
201
535
|
const later = input.latestCompletedRuns.get(task.taskRef);
|
|
202
536
|
if (later === undefined || !(Date.parse(later.startedAt) > reportedAt))
|
|
@@ -208,7 +542,8 @@ export function collectFollowUpGapsMetSince(input) {
|
|
|
208
542
|
continue;
|
|
209
543
|
candidates.push({
|
|
210
544
|
gap: { originTaskRef: origin.taskRef, reportingRunTaskId: run.runTaskId, requirementRef: entry.requirementRef, missing: entry.missing },
|
|
211
|
-
|
|
545
|
+
// A routed gap's first follow-up (#3701): the host keeps the gap when it was ever attempted.
|
|
546
|
+
followUpTaskRef: routed ? [...routedRefs][0] : followUpTaskRef,
|
|
212
547
|
metByTaskRef: task.taskRef,
|
|
213
548
|
metByRunTaskId: later.runTaskId,
|
|
214
549
|
evidence: met.evidence,
|