You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Child slice of #128. Keep KapiService.buildWorkflowPrompt as the shared renderer wrapper, then extract the remaining service-local authored artifact metadata/header sync helpers if they are still orchestration noise.
Evidence
Current PR branch evidence:
src/application/kapi-service.ts is still 1357 lines with 106 methods/helpers and 52 lines over 180 chars.
Summary
Child slice of #128. Keep
KapiService.buildWorkflowPromptas the shared renderer wrapper, then extract the remaining service-local authored artifact metadata/header sync helpers if they are still orchestration noise.Evidence
Current PR branch evidence:
src/application/kapi-service.tsis still 1357 lines with 106 methods/helpers and 52 lines over 180 chars.buildWorkflowPromptcorrectly delegates torenderRunContractPrompt; no prompt rewrite is needed after refactor: consolidate Track A RunContract formatting #132.AUTHORED_METADATA_ARTIFACTSauthoredArtifactMetadataHeadersyncAuthoredArtifactMetadatanormalizeDecisionReportOrderScope
KapiServiceas workflow orchestration, not artifact text-format owner.Non-goals
KapiServicein this slice..kapicompatibility.Acceptance criteria
KapiServicedelegates authored artifact header generation/sync to an extracted helper.npm run check,npm run check:unused, and relevant service tests pass.Suggested verification
Part of #128.