Artifact Lifecycle Specification
Overview
CFSE artifacts (Concepts, Interactions, Flows, Scenarios, Explorations, Traces, Findings, Invariants, Predicates, Patches) follow a defined lifecycle. This specification defines the lifecycle states and transition rules that govern artifact authority and usage.
State Definitions
ArtifactStatus Enumeration
| State | Description | Authoritative |
|---|---|---|
DRAFT | Initial creation, not reviewed | No |
REVIEW | Under review | No |
PLANNED | Approved future state (not yet current reality) | No |
ACTIVE | Approved and in use | Yes |
DEPRECATED | Being phased out | Partial |
ARCHIVED | No longer in use | No |
DRAFT
Definition
The DRAFT state indicates that an artifact is work in progress and not yet authoritative.
Semantic Interpretation
When an artifact is in DRAFT state:
- Content is incomplete or unvalidated
- The artifact MUST NOT be used as authoritative reference
- Other artifacts SHOULD NOT reference draft artifacts in production
- The artifact is subject to significant change without notice
Usage Criteria
An artifact SHOULD be marked DRAFT when ANY of the following conditions apply:
- Initial creation, content not complete
- Significant revision underway
- Awaiting review or validation
- Experimental or prototype content
Allowed References
| Referencing Artifact State | Can Reference DRAFT? |
|---|---|
| DRAFT | YES |
| REVIEW | YES |
| PLANNED | SHOULD NOT |
| ACTIVE | NO (SHOULD NOT) |
| DEPRECATED | NO |
| ARCHIVED | NO |
Example
---
id: C-AWS-LAMBDA-FUNCTION
status: DRAFT
version: 0.1.0
created: 2025-01-15
notes: "Initial concept definition; awaiting security review"
---Transition Rules
From DRAFT, an artifact MAY transition to:
REVIEW- When ready for reviewACTIVE- After review and approvalDEPRECATED- If abandoned before activation (rare)
REVIEW
Definition
The REVIEW state indicates that an artifact is complete enough to review, but is not yet authoritative.
Transition Rules
From REVIEW, an artifact MAY transition to:
ACTIVE- After approvalDRAFT- If significant revision is needed
PLANNED
Definition
The PLANNED state indicates that an artifact represents an approved future state, but is not yet current reality.
This is useful for modeling changes ahead of implementation (e.g., feature branches, planned migrations).
Semantic Interpretation
When an artifact is in PLANNED state:
- Content SHOULD be complete and reviewable
- The artifact MUST NOT be treated as the current authoritative source for “what exists today”
- Other
PLANNEDartifacts MAY reference it ACTIVEartifacts SHOULD NOT reference it (to avoid mixing planned state into current reality)
Transition Rules
From PLANNED, an artifact MAY transition to:
ACTIVE- When the planned state becomes current realityDEPRECATED- If the plan is superseded before becoming active
ACTIVE
Definition
The ACTIVE state indicates that an artifact is approved, in use, and authoritative.
Semantic Interpretation
When an artifact is in ACTIVE state:
- Content is complete and validated
- The artifact is the authoritative reference for its subject
- Other artifacts SHOULD reference active artifacts
- Changes MUST follow versioning and review processes
Usage Criteria
An artifact MUST be marked ACTIVE when ALL of the following conditions are met:
- Content is complete and accurate
- Artifact has been reviewed and approved
- Artifact is the current authoritative source
- Artifact is actively used in explorations or referenced by other artifacts
Allowed References
| Referencing Artifact State | Can Reference ACTIVE? |
|---|---|
| DRAFT | YES |
| REVIEW | YES |
| PLANNED | YES |
| ACTIVE | YES |
| DEPRECATED | YES |
| ARCHIVED | NO |
Example
---
id: INV-FILE-OWNER-DELETE
status: ACTIVE
version: 1.0.0
created: 2025-01-10
approved: 2025-01-12
approver: security-team
notes: "Authoritative invariant for file ownership deletion checks"
---Transition Rules
From ACTIVE, an artifact MAY transition to:
DEPRECATED- When superseded or no longer applicableDRAFT- Only for major revision (creates new version branch)
DEPRECATED
Definition
The DEPRECATED state indicates that an artifact is being phased out and should not be used for new work.
Semantic Interpretation
When an artifact is in DEPRECATED state:
- Content remains valid but is being superseded
- Existing references MAY continue but SHOULD be updated
- New artifacts MUST NOT reference deprecated artifacts
- A successor artifact SHOULD be identified
Usage Criteria
An artifact SHOULD be marked DEPRECATED when ANY of the following conditions apply:
- A newer version or replacement exists
- The subject matter is no longer applicable
- The artifact contains outdated information
- Security policy has changed, invalidating the artifact
Deprecation Requirements
When deprecating an artifact:
- A
deprecated_dateMUST be recorded - A
superseded_byreference SHOULD be provided when applicable - A deprecation notice SHOULD explain the reason
- Dependent artifacts SHOULD be notified/updated
Allowed References
| Referencing Artifact State | Can Reference DEPRECATED? |
|---|---|
| DRAFT | SHOULD NOT |
| REVIEW | SHOULD NOT |
| PLANNED | SHOULD NOT |
| ACTIVE | SHOULD NOT (migrate) |
| DEPRECATED | MAY (legacy chains) |
| ARCHIVED | NO |
Example
---
id: INV-LEGACY-AUTH-CHECK
status: DEPRECATED
version: 1.0.0
deprecated_date: 2025-01-20
superseded_by: INV-MODERN-AUTH-CHECK
deprecation_reason: "Legacy authentication flow replaced with OAuth 2.0"
notes: "Maintain for historical reference only"
---Transition Rules
From DEPRECATED, an artifact MAY transition to:
ARCHIVED- When all references have been migratedACTIVE- If deprecation is reversed (rare, requires justification)
State Transition Diagram
+----------+ review +---------+
| DRAFT | --------------> | REVIEW |
+----+-----+ +----+----+
| |
| | approve
| v
| +----------+ +----+----+
+--->| ACTIVE |<------| ACTIVE |
+----+-----+ +---------+
|
| supersede
v
+----+-----+ archive +----------+
|DEPRECATED| --------------> | ARCHIVED |
+----------+ +----------+
Simplified Transition Matrix
| From State | To State | Trigger | Requirements |
|---|---|---|---|
| DRAFT | REVIEW | Review started | Artifact is ready for review |
| REVIEW | ACTIVE | Approval | Review complete, content valid |
| REVIEW | DRAFT | Rework | Significant revision needed |
| DRAFT | DEPRECATED | Abandonment | Documented reason |
| ACTIVE | DEPRECATED | Supersession | Successor identified |
| ACTIVE | DRAFT | Major revision | Creates version branch |
| DEPRECATED | ARCHIVED | Migration complete | No active references |
| DEPRECATED | ACTIVE | Reversal | Justification documented |
Governance Considerations
Authority Levels
| State | Write Access | Reference Authority | Usage in Production |
|---|---|---|---|
| DRAFT | Author | None | Prohibited |
| REVIEW | Maintainer + Review | None | Prohibited |
| PLANNED | Maintainer + Review | Planned only | Prohibited as current reality |
| ACTIVE | Maintainer + Review | Full | Permitted |
| DEPRECATED | Maintainer | Historical only | Migrate away |
| ARCHIVED | Maintainer | None | Prohibited |
Version Management
DRAFTartifacts MAY use pre-release versions (e.g.,0.1.0,1.0.0-alpha)ACTIVEartifacts MUST use semantic versioning (e.g.,1.0.0,1.1.0)DEPRECATEDartifacts retain their final version number- Version changes within
ACTIVEstate follow semver rules
Audit Requirements
| State Transition | Audit Required | Approval Required |
|---|---|---|
| REVIEW -> ACTIVE | Yes | Yes |
| ACTIVE -> DEPRECATED | Yes | Yes |
| DEPRECATED -> ARCHIVED | No | No |
| any -> DRAFT (revision) | Yes | Depends on scope |
Artifact-Specific Lifecycle Rules
Concepts
- SHOULD remain
ACTIVEas long as the concept exists in the system - Deprecation implies concept removal from system model
Invariants
- MUST be
ACTIVEto be used in explorations - Deprecation requires review of all dependent scenarios
Findings
- SHOULD transition: DRAFT -> ACTIVE -> (resolved) -> ARCHIVED
DEPRECATEDis typically not used for Findings
Patches
- MUST reference exactly one Finding
- Lifecycle tracks with the Finding it addresses
Common Mistakes
Review this checklist when managing lifecycle states:
DRAFT Mistakes
- [] Using DRAFT artifacts as authoritative references in production
- [] Leaving artifacts in DRAFT state indefinitely without review
- [] Not documenting the reason for DRAFT status
ACTIVE Mistakes
- [] Marking artifacts ACTIVE without proper review
- [] Making breaking changes to ACTIVE artifacts without versioning
- [] Not updating dependent artifacts when ACTIVE content changes
DEPRECATED Mistakes
- [] Deprecating without providing a successor reference
- [] Not communicating deprecation to artifact consumers
- [] Creating new references to deprecated artifacts
- [] Leaving deprecated artifacts without migration plan
General Mistakes
- [] Not recording state transition timestamps
- [] Skipping required approvals for state transitions
- [] Not maintaining version history across transitions
Validation Rules
Schema Compliance
ArtifactLifecycle:
type: object
required: [id, status]
properties:
id:
$ref: "#/$defs/ArtifactID"
status:
type: string
enum: [DRAFT, REVIEW, PLANNED, ACTIVE, DEPRECATED, ARCHIVED]
version:
type: string
pattern: "^[0-9]+\\.[0-9]+\\.[0-9]+(-[a-z]+)?$"
created:
type: string
format: date
approved:
type: string
format: date
deprecated_date:
type: string
format: date
superseded_by:
$ref: "#/$defs/ArtifactID"
deprecation_reason:
type: stringConsistency Checks
Validators MUST enforce:
ACTIVEartifacts MUST have anapproveddateDEPRECATEDartifacts MUST have adeprecated_dateDEPRECATEDartifacts SHOULD havesuperseded_bywhen applicable- References to
DEPRECATEDartifacts MUST generate warnings - References from
ACTIVEtoDRAFTMUST generate errors
Related Specifications
- [[../grammar/04-field-types]] - ArtifactStatus enum definition
- [[04-traceability]] - Reference rules between artifacts
- [[01-invariant-states]] - Invariant-specific states
- [[02-exploration-verdicts]] - Exploration-specific outcomes