Skip to content

feat(gates): T-036 phase 3 — criteria artifactType/fieldPath from Core catalog#71

Merged
beyondnetPeru merged 1 commit into
developfrom
feat/t-036-3-criteria-from-catalog
Jul 8, 2026
Merged

feat(gates): T-036 phase 3 — criteria artifactType/fieldPath from Core catalog#71
beyondnetPeru merged 1 commit into
developfrom
feat/t-036-3-criteria-from-catalog

Conversation

@beyondnetPeru

Copy link
Copy Markdown
Contributor

Implements T-036 §2.2/§5 design point 5.

  • artifactType phase-aware: intake→opportunity (locked); phase gates→phase's Core deliverable artifacts.
  • fieldPath is a Select over baseFields ∪ custom. from ArtifactFieldSchema (no free text); empty-state when the artifact has no catalog fields.
  • reset fieldPath on artifactType change; addCriterion phase-gate default = first phase artifact.
  • removed hardcoded CRITERION_ARTIFACTS.

Save contract unchanged. Gates green (lint 0 err / typecheck / build). Live-verified: Discovery editor artifactType offers PRD/Feasibility/Build-vs-Compose/Business Case; fieldPath is not free text.

🤖 Generated with Claude Code

…e catalog

Criteria editor no longer accepts arbitrary artifactType/fieldPath:
- artifactType is phase-aware: intake→opportunity (locked, single option),
  phase gates→the phase's Core deliverable artifacts (PhaseArtifactProfile).
- fieldPath is a Select over baseFields ∪ custom.<name> from
  ArtifactFieldSchema (no free text); empty-state hint when the artifact
  has no catalog fields.
- reset fieldPath on artifactType change; addCriterion phase-gate default
  = first phase artifact instead of hardcoded 'initiative'.
- removed hardcoded CRITERION_ARTIFACTS constant.

Implements T-036 §2.2/§5 (design point 5). Save contract unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@beyondnetPeru beyondnetPeru merged commit a8f5351 into develop Jul 8, 2026
2 checks passed
@beyondnetPeru beyondnetPeru deleted the feat/t-036-3-criteria-from-catalog branch July 8, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant