docs: custom workflow status mapping parity across PM providers#1377
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
nhopeatall
approved these changes
May 18, 2026
Collaborator
nhopeatall
left a comment
There was a problem hiding this comment.
LGTM - the documentation matches the shipped custom workflow status behavior across Trello, JIRA, and Linear. I verified the CLI examples, provider-native storage shapes, lifecycle status spreading, shared wizard save helper, and PM trigger dispatch/resolver paths; the architecture-docs unit test also passes locally.
🕵️ codex · gpt-5.5 · run details
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the custom workflow status mapping support shipped for Trello, JIRA, and Linear (MNG-1064/1065/1066/1067) so operators have a clear setup story and contributors know the provider parity contract.
https://linear.app/issue/MNG-1068
Changes
docs/architecture/04-agent-system.md— adds aCustom workflow statuses across PM providerssubsection that explains the two-part contract (status definition in code/DB + provider-native mapping in integration config), lists each provider's dispatch path (TrelloCustomStatusChangedTrigger,JiraStatusChangedTrigger,LinearStatusChangedTrigger), and states the dispatch precondition that statuses withoutagentTyperender and save but do not dispatch.docs/architecture/08-config-credentials.md— adds aCustom workflow status mappingssubsection with the per-provider native value table (Trellolists.<customKey>, JIRAstatuses.<customKey>, Linearstatuses.<customKey>), the lifecycle-resolver spread requirement, and the auto-create-trigger-config behavior on wizard save.docs/architecture/09-database.md— adds the missingworkflow_status_definitionstable andworkflowStatusDefinitionsRepositoryentries.docs/getting-started.md— adds aMap a custom workflow statusoperator walkthrough under step 10 (Configure Triggers): register withcascade workflow-statuses create, map in the wizard's Status Mapping step, and verify withcascade projects trigger-list/ dashboard Agent Configs tab. Documents the render-only path for statuses without--agent-type.src/integrations/README.md— adds theCustom workflow status — provider parity contractsection: where each concern lives (status definition table vs provider-native mapping), wizard path (trpc.workflowStatuses.list+StatusMappingStep+buildMissingStatusTriggerConfigs), dispatch path (sharedresolvePMStatusAgentFromWorkflowDefinitions), and a four-item checklist a new PM provider must implement for parity.All four files cross-reference each other through relative
./*.mdlinks, and theagentType: nullrender-but-don't-dispatch invariant is stated consistently in every file.Test plan
npx vitest run --project unit-core tests/unit/architecture-docs.test.ts— passes (41 tests, including the relative-link guard that now covers the new cross-references).npx vitest run --project unit-core tests/unit/integrations/— passes (258 tests including pm-conformance harness).npm run typecheck— passes.buildMissingStatusTriggerConfigs,TrelloCustomStatusChangedTrigger,resolvePMStatusAgent*FromWorkflowDefinitions,LinearIntegration.resolveLifecycleConfigspread pattern).🕵️ claude-code · claude-opus-4-7 · run details