@wildo-ai/dev-companion 1.1.13 → 1.1.15
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 +89 -1
- 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 +114 -9
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +46 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +39 -2
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
- package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.d.ts +6 -0
- package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.js.map +1 -1
- package/dist/esm/claude-cli/models/verification-tool-availability.models.d.ts +19 -5
- package/dist/esm/claude-cli/models/verification-tool-availability.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/verification-tool-availability.models.js +17 -5
- package/dist/esm/claude-cli/models/verification-tool-availability.models.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +16 -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 +53 -6
- 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 +145 -6
- 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 +474 -47
- 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/claude-cli/services/research-evidence-store.companion.d.ts +14 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js +35 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.d.ts +36 -0
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.js +134 -0
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.js.map +1 -0
- 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 +7 -0
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +26 -12
- 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 +12 -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/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/translation-placement.companion.service.d.ts +3 -2
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +24 -14
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts +42 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.js +42 -0
- package/dist/esm/core/introspection/workspace-element-index.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/dev-compile-quiet.companion.d.ts +53 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js +119 -2
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- 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 +16 -3
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +2 -2
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +6 -6
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.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/email/services/email-template.companion.service.d.ts +5 -0
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +44 -11
- package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts +26 -2
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js +41 -2
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.d.ts +19 -0
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.d.ts.map +1 -0
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.js +171 -0
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.js.map +1 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.d.ts +75 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.d.ts.map +1 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.js +162 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.js.map +1 -0
- 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_AGENT_CONFIG.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js.map +1 -1
- 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/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.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 +35 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +12 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts +536 -531
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js +536 -531
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.fr.d.ts +170 -170
- package/dist/esm/i18n/system_enums/application-creation.fr.js +170 -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 -2
- 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 -2
- 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/email-template-labelling-units.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +7 -3
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.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/creation-journey-timeline.models.d.ts +9 -0
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js +18 -2
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +153 -22
- 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 +970 -208
- 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 +115 -13
- 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 +295 -56
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.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 +1 -1
- 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 +48 -26
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +12 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +30 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.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.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +12 -1
- 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 +8 -1
- 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 +119 -25
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts +55 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js +157 -10
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js.map +1 -1
- package/dist/esm/module-layout/module-layout-convention.companion.d.ts +158 -0
- package/dist/esm/module-layout/module-layout-convention.companion.d.ts.map +1 -0
- package/dist/esm/module-layout/module-layout-convention.companion.js +272 -0
- package/dist/esm/module-layout/module-layout-convention.companion.js.map +1 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.d.ts +42 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.d.ts.map +1 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.js +290 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.js.map +1 -0
- package/dist/esm/module-layout/module-source-files.companion.d.ts +3 -0
- package/dist/esm/module-layout/module-source-files.companion.d.ts.map +1 -0
- package/dist/esm/module-layout/module-source-files.companion.js +45 -0
- package/dist/esm/module-layout/module-source-files.companion.js.map +1 -0
- package/package.json +18 -18
package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js
CHANGED
|
@@ -134,11 +134,32 @@ export var FollowUpGapNotDerivedReason;
|
|
|
134
134
|
* selection and a run each. Only that positive statement drops a gap; silence and a malformed block never do.
|
|
135
135
|
*/
|
|
136
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";
|
|
137
148
|
})(FollowUpGapNotDerivedReason || (FollowUpGapNotDerivedReason = {}));
|
|
138
149
|
/** The key one gap is addressed by: its origin, its reporting run and its requirement. */
|
|
139
150
|
export function followUpGapKey(gap) {
|
|
140
151
|
return `${gap.originTaskRef}\u0000${gap.reportingRunTaskId}\u0000${gap.requirementRef}`;
|
|
141
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
|
+
}
|
|
142
163
|
/**
|
|
143
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
|
|
144
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
|
|
@@ -156,13 +177,14 @@ export function deriveFollowUpTaskRef(originTaskRef, reportingRunTaskId) {
|
|
|
156
177
|
return `${HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX}${origin}-${digest(reportingRunTaskId).slice(0, 6)}`;
|
|
157
178
|
}
|
|
158
179
|
/**
|
|
159
|
-
* A follow-up waiting on
|
|
180
|
+
* A follow-up waiting on what it waits on by itself (`ownPrerequisiteTaskRefs`: its first report's origin, its gaps' owner
|
|
181
|
+
* (#3886) or its routed scope's planned tasks (#3991)) and, when there is one, on the follow-up before it on its target. One function, so the
|
|
160
182
|
* dispatch host can re-link a follow-up after one it could not append (a name collision, a schema refusal): a chain
|
|
161
183
|
* naming a task the plan does not hold would make the plan unreadable.
|
|
162
184
|
*/
|
|
163
185
|
export function chainFollowUpAfter(followUp, previousOnTarget) {
|
|
164
|
-
const
|
|
165
|
-
return { ...followUp, prerequisiteTaskRefs: previousOnTarget === undefined ?
|
|
186
|
+
const own = [...followUp.ownPrerequisiteTaskRefs];
|
|
187
|
+
return { ...followUp.task, prerequisiteTaskRefs: previousOnTarget === undefined ? own : [...own, previousOnTarget] };
|
|
166
188
|
}
|
|
167
189
|
/** A target's identity: two tasks with equal targets write the same scope (#3227). */
|
|
168
190
|
export function targetKey(target) {
|
|
@@ -173,26 +195,43 @@ export function targetKey(target) {
|
|
|
173
195
|
* The follow-up tasks the reported gaps derive (#2496, #3227). Pure: the dispatch host supplies the plan and each task's
|
|
174
196
|
* latest completed run.
|
|
175
197
|
*
|
|
176
|
-
* ## One follow-up per
|
|
198
|
+
* ## One follow-up per target for what is not dispatched yet, chained per target
|
|
177
199
|
*
|
|
178
200
|
* - **Every requirement one run reported is folded into one follow-up** (#3227): one scope, one worker, one set of
|
|
179
201
|
* checks, instead of the same task once per requirement.
|
|
180
|
-
* - **
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
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).
|
|
184
211
|
* - **Follow-ups on one target are chained IN THE ORDER THEIR REPORTS SETTLED** (then by origin ref), each waiting on the
|
|
185
212
|
* one before it: they write one scope, and two of them at once would overwrite each other (the interference that made
|
|
186
213
|
* the wave re-run each alone). Report order rather than plan order, so a new report always joins the TAIL: in plan
|
|
187
214
|
* order, an origin earlier in the plan reporting later went to the head, made a running follow-up wait on it, and was
|
|
188
215
|
* ready at once beside it (review of f077ae7db). A follow-up declares no product, so no interference check could see it.
|
|
216
|
+
* - **Of the origins it carries, it waits on its first report's 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 across the plan**, only names them: a task that never
|
|
219
|
+
* lands would hold it for ever. Waiting was weighed again for #3204 and would not have helped: on that reference run the
|
|
220
|
+
* sections reported their gaps after most of the product tasks serving them had run.
|
|
221
|
+
* - **Except the tasks of the scope it was ROUTED to (#3991)**, when no owner was named. A routed follow-up writes their
|
|
222
|
+
* scope, so running before them does their work: on reference run 43876218697 a routed gap overtook the planned
|
|
223
|
+
* provider-binding task and did its whole job. Waiting on them costs only when one never lands, and then the gap is that
|
|
224
|
+
* task's and stays open under it; once they land, a run of theirs that states it met drops the gap (#3227). Absorbed
|
|
225
|
+
* reports add their scope's tasks too: they are the same scope. An OWNED gap waits on its named owner instead (#3886),
|
|
226
|
+
* so owners never wait on each other.
|
|
189
227
|
*
|
|
190
228
|
* ## A gap a later run STATED met is dropped; silence drops nothing
|
|
191
229
|
*
|
|
192
230
|
* Dropping on ABSENCE was tried and withdrawn (review of 5e3ab7d76): a missing block, a malformed one and a run that never
|
|
193
231
|
* looked at the requirement all read the same, so it closed gaps nobody had closed. The worker contract now carries the
|
|
194
232
|
* positive half, a `wildo-requirements-met` block, and a gap is dropped only when {@link collectFollowUpGapsMetSince} finds
|
|
195
|
-
* a later run that states it and the host confirms that run LANDED and
|
|
233
|
+
* a later run that states it and the host confirms that run LANDED and no follow-up carrying the gap was ever attempted
|
|
234
|
+
* (`metSince`): neither its own report's nor one that absorbed it (#3204).
|
|
196
235
|
* Every drop is in `notDerived`, with the run and its evidence, so the host logs it. The follow-up's own worker is still
|
|
197
236
|
* told to read what was built since and change nothing when a gap is met.
|
|
198
237
|
*
|
|
@@ -210,7 +249,14 @@ export function deriveBuildPlanFollowUpTasks(input) {
|
|
|
210
249
|
const reported = run?.unmetRequirements ?? [];
|
|
211
250
|
if (run === undefined || reported.length === 0)
|
|
212
251
|
continue;
|
|
213
|
-
const reportedGaps = reported.map((entry) => ({
|
|
252
|
+
const reportedGaps = reported.map((entry) => ({
|
|
253
|
+
originTaskRef: origin.taskRef,
|
|
254
|
+
reportingRunTaskId: run.runTaskId,
|
|
255
|
+
requirementRef: entry.requirementRef,
|
|
256
|
+
missing: entry.missing,
|
|
257
|
+
...(entry.ownedByTaskRef !== undefined ? { ownedByTaskRef: entry.ownedByTaskRef } : {}),
|
|
258
|
+
...(entry.needsDecision !== undefined ? { needsDecision: entry.needsDecision } : {}),
|
|
259
|
+
}));
|
|
214
260
|
if (origin.target.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {
|
|
215
261
|
notDerived.push(...reportedGaps.map((gap) => ({ ...gap, reason: FollowUpGapNotDerivedReason.GENERATION_STEP })));
|
|
216
262
|
continue;
|
|
@@ -226,6 +272,12 @@ export function deriveBuildPlanFollowUpTasks(input) {
|
|
|
226
272
|
return true;
|
|
227
273
|
notDerived.push({ ...gap, reason: FollowUpGapNotDerivedReason.MET_SINCE, metSince: { metByTaskRef: met.metByTaskRef, metByRunTaskId: met.metByRunTaskId, evidence: met.evidence } });
|
|
228
274
|
return false;
|
|
275
|
+
}).filter((gap) => {
|
|
276
|
+
// A decision only a person can make (#3886): no coding task, and the gap stays open on ASKED.
|
|
277
|
+
if (gap.needsDecision === undefined)
|
|
278
|
+
return true;
|
|
279
|
+
notDerived.push({ ...gap, reason: FollowUpGapNotDerivedReason.AWAITS_DECISION });
|
|
280
|
+
return false;
|
|
229
281
|
});
|
|
230
282
|
if (gaps.length === 0)
|
|
231
283
|
continue;
|
|
@@ -239,62 +291,245 @@ export function deriveBuildPlanFollowUpTasks(input) {
|
|
|
239
291
|
};
|
|
240
292
|
const byReportedAt = (left, right) => (left === right ? 0 : left < right ? -1 : 1);
|
|
241
293
|
reports.sort((left, right) => byReportedAt(reportedAt(left.run), reportedAt(right.run)) || left.origin.taskRef.localeCompare(right.origin.taskRef));
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
294
|
+
/*
|
|
295
|
+
* The owner a report named, when the plan can honour it (#3886): a planned task (never a follow-up), not the origin
|
|
296
|
+
* itself, that serves the very requirement. Anything else is ignored and the gap is an ordinary one: a worker's free text
|
|
297
|
+
* must never make a follow-up wait on a task that does not exist or does not do that work.
|
|
298
|
+
*/
|
|
299
|
+
const honouredOwner = (gap, origin) => honouredFollowUpOwner(gap, origin, planTasks);
|
|
300
|
+
const groupsByTarget = new Map();
|
|
245
301
|
for (const { origin, run, gaps } of reports) {
|
|
246
|
-
/*
|
|
247
|
-
* One follow-up per CLOSING SCOPE of this report (#3701): the origin's own, unless the origin only presents the product,
|
|
248
|
-
* in which case each product scope serving a reported requirement gets the gaps it can close. A routed follow-up's ref
|
|
249
|
-
* adds its scope to the run's token, so the same report keeps deriving the same tasks.
|
|
250
|
-
*/
|
|
251
302
|
const byScope = new Map();
|
|
252
303
|
for (const gap of gaps) {
|
|
304
|
+
const owner = honouredOwner(gap, origin);
|
|
253
305
|
for (const scope of resolveFollowUpClosingScopes(origin, gap.requirementRef, planTasks)) {
|
|
254
306
|
const key = targetKey(scope.target);
|
|
255
|
-
const
|
|
256
|
-
|
|
257
|
-
|
|
307
|
+
const routed = scope.servingTaskRefs.length > 0;
|
|
308
|
+
// An owned gap is its own group, so waiting for its owner holds no other gap (#3886); unowned refs are unchanged.
|
|
309
|
+
const groupKey = owner === undefined ? key : `${key}\u0000owner:${owner}`;
|
|
310
|
+
const group = byScope.get(groupKey) ?? {
|
|
311
|
+
origin, run, scope, gaps: [],
|
|
312
|
+
taskRef: owner !== undefined ? deriveFollowUpTaskRef(origin.taskRef, `${run.runTaskId}\u0000${key}\u0000owner:${owner}`)
|
|
313
|
+
: routed ? deriveFollowUpTaskRef(origin.taskRef, `${run.runTaskId}\u0000${key}`) : deriveFollowUpTaskRef(origin.taskRef, run.runTaskId),
|
|
314
|
+
settledAtMs: reportedAt(run),
|
|
315
|
+
...(owner !== undefined ? { owner } : {}),
|
|
316
|
+
};
|
|
317
|
+
group.gaps.push(gap);
|
|
318
|
+
byScope.set(groupKey, group);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
for (const group of byScope.values()) {
|
|
322
|
+
const key = targetKey(group.scope.target);
|
|
323
|
+
groupsByTarget.set(key, [...(groupsByTarget.get(key) ?? []), group]);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
/*
|
|
327
|
+
* ONE follow-up per target for everything not yet dispatched (#3204). The reference run of 2026-11-12 derived 225
|
|
328
|
+
* follow-ups from website sections on 24 module scopes: 17 requirements, each reported by up to 7 sections and routed
|
|
329
|
+
* to every module serving it, all waiting at once, and 173 changed nothing.
|
|
330
|
+
*
|
|
331
|
+
* - A DISPATCHED follow-up carries its own report and exactly the gaps recorded on its runs (what its objective held).
|
|
332
|
+
* - A DECIDED follow-up (a person closed or approved it, or a decision holds it) carries its own report and exactly the
|
|
333
|
+
* gaps the decision recorded (#3832).
|
|
334
|
+
* - Every other gap on the target goes to ONE pending follow-up: the first report not yet dispatched, under its own ref,
|
|
335
|
+
* so it is never renamed (#2530). One worker reads the scope once, with every gap in front of it.
|
|
336
|
+
*
|
|
337
|
+
* Only the first report's origin is waited on: the chain already held every later follow-up on a target behind the
|
|
338
|
+
* earlier ones, so waiting on each absorbed origin as well would hold the gaps of all of them behind any one.
|
|
339
|
+
*/
|
|
340
|
+
const absorption = input.absorption;
|
|
341
|
+
const followUpsByTarget = [];
|
|
342
|
+
for (const [key, groups] of groupsByTarget) {
|
|
343
|
+
const members = [];
|
|
344
|
+
const closedToAbsorption = (group) => absorption === undefined || absorption.dispatched.has(group.taskRef) || absorption.decided.has(group.taskRef);
|
|
345
|
+
const anchoredAlone = new Map();
|
|
346
|
+
for (const group of groups) {
|
|
347
|
+
if (absorption === undefined || closedToAbsorption(group)) {
|
|
348
|
+
const member = { anchor: group, carried: new Map() };
|
|
349
|
+
members.push(member);
|
|
350
|
+
anchoredAlone.set(group, member);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
if (absorption !== undefined) {
|
|
354
|
+
// What each dispatched or decided follow-up carried, from its records; never a gap whose own report is either.
|
|
355
|
+
const claimedBy = new Map();
|
|
356
|
+
for (const member of members) {
|
|
357
|
+
const recorded = new Set([...(absorption.dispatched.get(member.anchor.taskRef) ?? []), ...(absorption.decided.get(member.anchor.taskRef) ?? [])]);
|
|
358
|
+
for (const group of groups) {
|
|
359
|
+
if (group === member.anchor || closedToAbsorption(group))
|
|
360
|
+
continue;
|
|
361
|
+
for (const gap of group.gaps) {
|
|
362
|
+
const gapKey = followUpGapKey(gap);
|
|
363
|
+
if (!recorded.has(gapKey) || claimedBy.has(gapKey))
|
|
364
|
+
continue;
|
|
365
|
+
claimedBy.set(gapKey, member);
|
|
366
|
+
member.carried.set(group, [...(member.carried.get(group) ?? []), gap]);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
// The decided anchors are already in the order their reports settled (pushed in report order above).
|
|
371
|
+
// Everything else: the first pending report anchors, every later one joins it. Its follow-up goes LAST on its target,
|
|
372
|
+
// after every dispatched or decided one, so a report that surfaced late never runs beside one already running.
|
|
373
|
+
// One pending follow-up for the target's unowned gaps, and one per owner (#3886), so an owner holds only its own gaps.
|
|
374
|
+
const pendingByOwner = new Map();
|
|
375
|
+
for (const group of groups) {
|
|
376
|
+
if (closedToAbsorption(group))
|
|
377
|
+
continue;
|
|
378
|
+
const remaining = group.gaps.filter((gap) => !claimedBy.has(followUpGapKey(gap)));
|
|
379
|
+
if (remaining.length === 0)
|
|
380
|
+
continue;
|
|
381
|
+
const pending = pendingByOwner.get(group.owner);
|
|
382
|
+
if (pending === undefined) {
|
|
383
|
+
const member = { anchor: { ...group, gaps: remaining }, carried: new Map() };
|
|
384
|
+
pendingByOwner.set(group.owner, member);
|
|
385
|
+
members.push(member);
|
|
386
|
+
}
|
|
387
|
+
else {
|
|
388
|
+
pending.carried.set(group, remaining);
|
|
389
|
+
}
|
|
258
390
|
}
|
|
259
391
|
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
392
|
+
/*
|
|
393
|
+
* 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
|
|
394
|
+
* for the same owner on this target, never on another owner's or on the target's unowned follow-ups, and none of them
|
|
395
|
+
* waits on it. One chain per target would hold every gap behind any owner that never lands, #3204's objection one level
|
|
396
|
+
* down. Two follow-ups on one scope still never RUN at once: the dispatch's selection takes one follow-up per scope at a
|
|
397
|
+
* time (`followUpScopeBusy`), since they declare no product and nothing else could see them meet.
|
|
398
|
+
*/
|
|
399
|
+
const build = (anchor, contributions) => {
|
|
400
|
+
const all = contributions.map(([group]) => group);
|
|
401
|
+
const gaps = contributions.flatMap(([, contributed]) => contributed);
|
|
402
|
+
const requirementRefs = [...new Set(gaps.map((gap) => gap.requirementRef))];
|
|
403
|
+
const originRefs = [...new Set(all.map((group) => group.origin.taskRef))];
|
|
266
404
|
const servingTasks = [...new Set(planTasks
|
|
267
|
-
.filter((task) => task.taskRef
|
|
405
|
+
.filter((task) => !originRefs.includes(task.taskRef) && requirementRefs.some((ref) => task.servesRefs.includes(ref)))
|
|
268
406
|
.map((task) => task.taskRef))];
|
|
269
|
-
const
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
407
|
+
const builtBy = [...new Set(all.flatMap((group) => group.scope.servingTaskRefs))];
|
|
408
|
+
const downstreamOfOrigins = planTasksDownstreamOf(originRefs, planTasks);
|
|
409
|
+
const describe = (groupGaps) => {
|
|
410
|
+
const byRequirement = new Map();
|
|
411
|
+
for (const gap of groupGaps)
|
|
412
|
+
byRequirement.set(gap.requirementRef, (byRequirement.get(gap.requirementRef) ?? new Set()).add(gap.missing));
|
|
413
|
+
return [...byRequirement].map(([ref, missing]) => `${ref}: ${[...missing].join(' / ')}`).join(' ');
|
|
414
|
+
};
|
|
415
|
+
const routed = contributions.filter(([group]) => group.scope.servingTaskRefs.length > 0);
|
|
416
|
+
const own = contributions.filter(([group]) => group.scope.servingTaskRefs.length === 0);
|
|
417
|
+
const presenters = [...new Set(routed.map(([group]) => group.origin.taskRef))];
|
|
418
|
+
const reporters = [...new Set(own.map(([group]) => group.origin.taskRef))];
|
|
419
|
+
/*
|
|
420
|
+
* A ROUTED follow-up waits for the planned tasks whose scope it writes (#3991), as an owned one waits for its named
|
|
421
|
+
* owner (#3886). Measured on reference run 43876218697: a website page reported that the daily digest reached no
|
|
422
|
+
* inbox, the gap was routed to `build-task-brevo-provider-binding`'s scope while that task was still blocked, and the
|
|
423
|
+
* follow-up did the whole binding itself (installed the provider, bound it) ahead of the task planned for it.
|
|
424
|
+
*
|
|
425
|
+
* Narrower than what #3204 refused: not every task serving the requirement across the plan, only those whose own
|
|
426
|
+
* scope this follow-up writes, so the work it would do is exactly theirs. One that never lands leaves the gap open
|
|
427
|
+
* under it. Once they land, a run of theirs that states the requirement met drops the gap (#3227) at no run's cost.
|
|
428
|
+
*/
|
|
429
|
+
/*
|
|
430
|
+
* An UNOWNED follow-up also waits for the planned tasks DOWNSTREAM of its origins that serve the same requirement
|
|
431
|
+
* (#3999). What a stage reports missing lies outside its own scope, and planned later work is what delivers it.
|
|
432
|
+
* Measured on reference run 43961156770: a communication schema reported its resource "not yet linked to its
|
|
433
|
+
* contact, customer…", and the follow-up wrote the module's relationships before the planned relationships task,
|
|
434
|
+
* whose prerequisites (the customer, contact and job configs) had not landed. Once they land, a run of theirs that
|
|
435
|
+
* states the requirement met drops the gap at no run's cost (#3227).
|
|
436
|
+
*/
|
|
437
|
+
const downstreamServing = anchor.owner !== undefined ? [] : servingTasks.filter((ref) => downstreamOfOrigins.has(ref));
|
|
438
|
+
// Owned: the named owner (#3886), so one owner never holds another's gaps. Routed and unowned: the scope's tasks.
|
|
439
|
+
const ownPrerequisiteTaskRefs = [...new Set([anchor.origin.taskRef, ...(anchor.owner !== undefined ? [anchor.owner] : [...builtBy, ...downstreamServing])])];
|
|
440
|
+
const objective = (routed.length > 0
|
|
441
|
+
? `${presenters.join(', ')} ${presenters.length > 1 ? 'present' : 'presents'} the product and reported that the product does not yet deliver: `
|
|
442
|
+
+ describe(routed.flatMap(([, contributed]) => contributed))
|
|
443
|
+
// Only an UNOWNED routed follow-up waits for the scope's tasks, so only it may say they built it (#3991).
|
|
444
|
+
+ (anchor.owner === undefined
|
|
445
|
+
? ` Build what is missing in this scope, where ${builtBy.join(', ')} ${builtBy.length > 1 ? 'have' : 'has'} built the requirement; a page cannot. `
|
|
446
|
+
: ` Build what is missing in the scope of ${builtBy.join(', ')}; a page cannot. `)
|
|
447
|
+
+ 'If what is missing lies outside this scope, change nothing and report it. '
|
|
448
|
+
: '')
|
|
449
|
+
+ (own.length > 0 ? `Meet what ${reporters.join(', ')} reported still unmet: ${describe(own.flatMap(([, contributed]) => contributed))} ` : '')
|
|
450
|
+
+ (contributions.length > 1 ? 'These reports were gathered into this one task because they concern this one scope: answer each. ' : '')
|
|
451
|
+
+ 'Read what is already built first: if a task that ran since has met one, change nothing for it and say so. '
|
|
452
|
+
+ (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. ` : '')
|
|
453
|
+
// Every serving task it does not wait on: their work is theirs, whether or not it has run yet.
|
|
454
|
+
+ (servingTasks.some((ref) => !ownPrerequisiteTaskRefs.includes(ref)) ? `Other tasks serving them: ${servingTasks.filter((ref) => !ownPrerequisiteTaskRefs.includes(ref)).join(', ')}; their work is theirs. ` : '')
|
|
455
|
+
+ (contributions.length > 1 ? 'Derived by the dispatch host from those runs\' closing reports.' : 'Derived by the dispatch host from that run\'s closing report.');
|
|
456
|
+
return {
|
|
457
|
+
task: {
|
|
458
|
+
taskRef: anchor.taskRef,
|
|
459
|
+
objective,
|
|
460
|
+
target: anchor.scope.target,
|
|
461
|
+
produces: [],
|
|
462
|
+
functionalTopic: anchor.scope.functionalTopic,
|
|
463
|
+
skillRefs: [...new Set(all.flatMap((group) => group.scope.skillRefs))],
|
|
464
|
+
// Its first report's origin (`followUpOf` reads it), then EITHER the owner its gaps were reported as (#3886) OR, when
|
|
465
|
+
// routed with no owner, the planned tasks of its scope (#3991); the follow-up before it on its target is added by the chain.
|
|
466
|
+
prerequisiteTaskRefs: ownPrerequisiteTaskRefs,
|
|
467
|
+
// Only refs an origin serves: a free-text ref would be a dangling citation in the plan.
|
|
468
|
+
servesRefs: requirementRefs.filter((ref) => all.some((group) => group.origin.servesRefs.includes(ref))),
|
|
469
|
+
},
|
|
470
|
+
gaps,
|
|
471
|
+
// The CHAIN it belongs to (#3886): its target's, or its target's for one owner, so owners never wait on each other.
|
|
472
|
+
targetKey: anchor.owner === undefined ? key : `${key}\u0000owner:${anchor.owner}`,
|
|
473
|
+
ownPrerequisiteTaskRefs,
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
const previousOnChain = new Map();
|
|
477
|
+
for (const { anchor, carried } of members) {
|
|
478
|
+
const derived = {
|
|
479
|
+
...build(anchor, [[anchor, anchor.gaps], ...carried]),
|
|
480
|
+
absorbed: [...carried].map(([group, contributed]) => build(group, [[group, contributed]])),
|
|
481
|
+
};
|
|
482
|
+
const task = chainFollowUpAfter(derived, previousOnChain.get(derived.targetKey));
|
|
483
|
+
previousOnChain.set(derived.targetKey, task.taskRef);
|
|
484
|
+
followUpsByTarget.push({ ...derived, task });
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
return assembleFollowUpDerivation(followUpsByTarget, notDerived);
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Every planned task that waits, directly or through others, on one of `taskRefs` (#3999): the plan's later work on what
|
|
491
|
+
* they built. Follow-ups are never in it, so a follow-up waiting on these can close no cycle.
|
|
492
|
+
*/
|
|
493
|
+
export function planTasksDownstreamOf(taskRefs, planTasks) {
|
|
494
|
+
const downstream = new Set();
|
|
495
|
+
const reached = new Set(taskRefs);
|
|
496
|
+
for (let grew = true; grew;) {
|
|
497
|
+
grew = false;
|
|
498
|
+
for (const task of planTasks) {
|
|
499
|
+
if (reached.has(task.taskRef) || task.taskRef.startsWith(HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX))
|
|
500
|
+
continue;
|
|
501
|
+
if (task.prerequisiteTaskRefs.some((ref) => reached.has(ref))) {
|
|
502
|
+
reached.add(task.taskRef);
|
|
503
|
+
downstream.add(task.taskRef);
|
|
504
|
+
grew = true;
|
|
295
505
|
}
|
|
296
506
|
}
|
|
297
507
|
}
|
|
508
|
+
return downstream;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* The owner a report named for a gap, when the plan can honour it (#3886): a planned task (never a follow-up), not the
|
|
512
|
+
* origin itself, that serves the very requirement. Anything else is ignored and the gap is an ordinary one.
|
|
513
|
+
*/
|
|
514
|
+
export function honouredFollowUpOwner(gap, origin, planTasks) {
|
|
515
|
+
if (gap.ownedByTaskRef === undefined)
|
|
516
|
+
return undefined;
|
|
517
|
+
const owner = planTasks.find((task) => task.taskRef === gap.ownedByTaskRef && !task.taskRef.startsWith(HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX));
|
|
518
|
+
return owner !== undefined && owner.taskRef !== origin.taskRef && owner.servesRefs.includes(gap.requirementRef) ? owner.taskRef : undefined;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* A derivation's readers over a given set of follow-ups (#3204): what the plan holds, so a host that could not append one
|
|
522
|
+
* (and appended the reports it absorbed instead) answers from what it appended, and no reader names a task the plan lacks.
|
|
523
|
+
*/
|
|
524
|
+
export function assembleFollowUpDerivation(followUps, notDerived) {
|
|
525
|
+
const refByOriginRequirement = new Map();
|
|
526
|
+
for (const followUp of followUps) {
|
|
527
|
+
for (const gap of followUp.gaps) {
|
|
528
|
+
const originRequirement = `${gap.originTaskRef}\u0000${gap.requirementRef}`;
|
|
529
|
+
if (!refByOriginRequirement.has(originRequirement))
|
|
530
|
+
refByOriginRequirement.set(originRequirement, followUp.task.taskRef);
|
|
531
|
+
}
|
|
532
|
+
}
|
|
298
533
|
return {
|
|
299
534
|
followUps,
|
|
300
535
|
notDerived,
|
|
@@ -314,7 +549,8 @@ export function deriveBuildPlanFollowUpTasks(input) {
|
|
|
314
549
|
*
|
|
315
550
|
* EVERY such task is a candidate, in plan order, so a statement whose run has not landed does not hide one that has. A
|
|
316
551
|
* gap's own follow-up is never its verifier: once it has run, it is attempted and keeps the gap anyway. The host must
|
|
317
|
-
* still confirm that the stating run LANDED and that
|
|
552
|
+
* still confirm that the stating run LANDED and that no follow-up carrying the gap (its own, or one that absorbed it,
|
|
553
|
+
* #3204) was ever attempted before it passes a candidate on as
|
|
318
554
|
* `metSince`; this function only finds who said so.
|
|
319
555
|
*/
|
|
320
556
|
export function collectFollowUpGapsMetSince(input) {
|
|
@@ -340,8 +576,11 @@ export function collectFollowUpGapsMetSince(input) {
|
|
|
340
576
|
const routedRefs = new Set(scopes.filter((scope) => scope.servingTaskRefs.length > 0)
|
|
341
577
|
.map((scope) => deriveFollowUpTaskRef(origin.taskRef, `${run.runTaskId}\u0000${targetKey(scope.target)}`)));
|
|
342
578
|
const routed = routedRefs.size > 0;
|
|
579
|
+
// The follow-ups an owned gap derives (#3886, review LOW) are this report's own too: never a run that met it since.
|
|
580
|
+
const owner = honouredFollowUpOwner(entry, origin, planTasks);
|
|
581
|
+
const ownedRefs = new Set(owner === undefined ? [] : scopes.map((scope) => deriveFollowUpTaskRef(origin.taskRef, `${run.runTaskId}\u0000${targetKey(scope.target)}\u0000owner:${owner}`)));
|
|
343
582
|
for (const task of input.tasks) {
|
|
344
|
-
if (task.taskRef === origin.taskRef || task.taskRef === followUpTaskRef || routedRefs.has(task.taskRef))
|
|
583
|
+
if (task.taskRef === origin.taskRef || task.taskRef === followUpTaskRef || routedRefs.has(task.taskRef) || ownedRefs.has(task.taskRef))
|
|
345
584
|
continue;
|
|
346
585
|
const taskScope = routed ? productClosingTarget(task.target) : task.target;
|
|
347
586
|
if (taskScope === undefined || !closingKeys.has(targetKey(taskScope)) || !task.servesRefs.includes(entry.requirementRef))
|