@fractary/core 0.7.24 → 0.7.26
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/docs/type-registry.d.ts.map +1 -1
- package/dist/docs/type-registry.js +4 -5
- package/dist/docs/type-registry.js.map +1 -1
- package/dist/logs/type-registry.d.ts.map +1 -1
- package/dist/logs/type-registry.js +4 -5
- package/dist/logs/type-registry.js.map +1 -1
- package/dist/work/providers/github.d.ts.map +1 -1
- package/dist/work/providers/github.js +10 -2
- package/dist/work/providers/github.js.map +1 -1
- package/package.json +4 -2
- package/templates/docs/adr/standards.md +29 -0
- package/templates/docs/adr/template.md +48 -0
- package/templates/docs/adr/type.yaml +74 -0
- package/templates/docs/api/standards.md +16 -0
- package/templates/docs/api/template.md +62 -0
- package/templates/docs/api/type.yaml +63 -0
- package/templates/docs/architecture/standards.md +15 -0
- package/templates/docs/architecture/template.md +58 -0
- package/templates/docs/architecture/type.yaml +63 -0
- package/templates/docs/audit/standards.md +15 -0
- package/templates/docs/audit/template.md +52 -0
- package/templates/docs/audit/type.yaml +61 -0
- package/templates/docs/changelog/standards.md +15 -0
- package/templates/docs/changelog/template.md +53 -0
- package/templates/docs/changelog/type.yaml +45 -0
- package/templates/docs/dataset/standards.md +15 -0
- package/templates/docs/dataset/template.md +65 -0
- package/templates/docs/dataset/type.yaml +63 -0
- package/templates/docs/etl/standards.md +15 -0
- package/templates/docs/etl/template.md +77 -0
- package/templates/docs/etl/type.yaml +66 -0
- package/templates/docs/guides/standards.md +16 -0
- package/templates/docs/guides/template.md +58 -0
- package/templates/docs/guides/type.yaml +61 -0
- package/templates/docs/infrastructure/standards.md +15 -0
- package/templates/docs/infrastructure/template.md +90 -0
- package/templates/docs/infrastructure/type.yaml +66 -0
- package/templates/docs/manifest.yaml +114 -0
- package/templates/docs/spec-api/standards.md +53 -0
- package/templates/docs/spec-api/template.md +96 -0
- package/templates/docs/spec-api/type.yaml +102 -0
- package/templates/docs/spec-basic/standards.md +24 -0
- package/templates/docs/spec-basic/template.md +51 -0
- package/templates/docs/spec-basic/type.yaml +92 -0
- package/templates/docs/spec-bug/standards.md +46 -0
- package/templates/docs/spec-bug/template.md +66 -0
- package/templates/docs/spec-bug/type.yaml +96 -0
- package/templates/docs/spec-feature/standards.md +53 -0
- package/templates/docs/spec-feature/template.md +105 -0
- package/templates/docs/spec-feature/type.yaml +106 -0
- package/templates/docs/spec-infrastructure/standards.md +58 -0
- package/templates/docs/spec-infrastructure/template.md +71 -0
- package/templates/docs/spec-infrastructure/type.yaml +102 -0
- package/templates/docs/standards/standards.md +15 -0
- package/templates/docs/standards/template.md +54 -0
- package/templates/docs/standards/type.yaml +61 -0
- package/templates/docs/testing/standards.md +15 -0
- package/templates/docs/testing/template.md +87 -0
- package/templates/docs/testing/type.yaml +65 -0
- package/templates/logs/audit/standards.md +33 -0
- package/templates/logs/audit/template.md +65 -0
- package/templates/logs/audit/type.yaml +85 -0
- package/templates/logs/build/standards.md +32 -0
- package/templates/logs/build/template.md +78 -0
- package/templates/logs/build/type.yaml +71 -0
- package/templates/logs/changelog/standards.md +34 -0
- package/templates/logs/changelog/template.md +71 -0
- package/templates/logs/changelog/type.yaml +70 -0
- package/templates/logs/debug/standards.md +33 -0
- package/templates/logs/debug/template.md +63 -0
- package/templates/logs/debug/type.yaml +77 -0
- package/templates/logs/deployment/standards.md +34 -0
- package/templates/logs/deployment/template.md +64 -0
- package/templates/logs/deployment/type.yaml +76 -0
- package/templates/logs/manifest.yaml +70 -0
- package/templates/logs/operational/standards.md +34 -0
- package/templates/logs/operational/template.md +71 -0
- package/templates/logs/operational/type.yaml +87 -0
- package/templates/logs/session/standards.md +34 -0
- package/templates/logs/session/template.md +81 -0
- package/templates/logs/session/type.yaml +69 -0
- package/templates/logs/test/standards.md +34 -0
- package/templates/logs/test/template.md +83 -0
- package/templates/logs/test/type.yaml +75 -0
- package/templates/logs/workflow/standards.md +35 -0
- package/templates/logs/workflow/template.md +95 -0
- package/templates/logs/workflow/type.yaml +91 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
log_type: workflow
|
|
3
|
+
title: {{title}}
|
|
4
|
+
workflow_id: {{workflow_id}}
|
|
5
|
+
timestamp: {{timestamp}}
|
|
6
|
+
status: {{status}}
|
|
7
|
+
{{#work_item_id}}
|
|
8
|
+
work_item_id: {{work_item_id}}
|
|
9
|
+
{{/work_item_id}}
|
|
10
|
+
{{#phase}}
|
|
11
|
+
phase: {{phase}}
|
|
12
|
+
{{/phase}}
|
|
13
|
+
{{#workflow_type}}
|
|
14
|
+
workflow_type: {{workflow_type}}
|
|
15
|
+
{{/workflow_type}}
|
|
16
|
+
{{#context}}
|
|
17
|
+
context:
|
|
18
|
+
{{#context.project}}
|
|
19
|
+
project: {{context.project}}
|
|
20
|
+
{{/context.project}}
|
|
21
|
+
{{#context.repository}}
|
|
22
|
+
repository: {{context.repository}}
|
|
23
|
+
{{/context.repository}}
|
|
24
|
+
{{#context.branch}}
|
|
25
|
+
branch: {{context.branch}}
|
|
26
|
+
{{/context.branch}}
|
|
27
|
+
{{/context}}
|
|
28
|
+
{{#work_id}}
|
|
29
|
+
work_id: {{work_id}}
|
|
30
|
+
{{/work_id}}
|
|
31
|
+
{{#tags}}
|
|
32
|
+
tags:
|
|
33
|
+
{{#tags}}
|
|
34
|
+
- {{.}}
|
|
35
|
+
{{/tags}}
|
|
36
|
+
{{/tags}}
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
# Workflow: {{title}}
|
|
40
|
+
|
|
41
|
+
{{#phase}}
|
|
42
|
+
## Current Phase: {{phase}}
|
|
43
|
+
{{/phase}}
|
|
44
|
+
|
|
45
|
+
## Operations
|
|
46
|
+
|
|
47
|
+
| Timestamp | Phase | Operation | Status | Duration |
|
|
48
|
+
|-----------|-------|-----------|--------|----------|
|
|
49
|
+
{{#operations}}
|
|
50
|
+
| {{timestamp}} | {{phase}} | {{operation}} | {{status}} | {{duration}}ms |
|
|
51
|
+
{{/operations}}
|
|
52
|
+
|
|
53
|
+
{{#decisions}}
|
|
54
|
+
## Decisions
|
|
55
|
+
|
|
56
|
+
{{#decisions}}
|
|
57
|
+
### {{title}}
|
|
58
|
+
|
|
59
|
+
- **Rationale**: {{rationale}}
|
|
60
|
+
{{#alternatives}}
|
|
61
|
+
- **Alternatives**: {{alternatives}}
|
|
62
|
+
{{/alternatives}}
|
|
63
|
+
|
|
64
|
+
{{/decisions}}
|
|
65
|
+
{{/decisions}}
|
|
66
|
+
|
|
67
|
+
{{#artifacts}}
|
|
68
|
+
## Artifacts
|
|
69
|
+
|
|
70
|
+
{{#artifacts}}
|
|
71
|
+
- {{.}}
|
|
72
|
+
{{/artifacts}}
|
|
73
|
+
{{/artifacts}}
|
|
74
|
+
|
|
75
|
+
{{#metrics}}
|
|
76
|
+
## Metrics
|
|
77
|
+
|
|
78
|
+
{{#total_duration}}
|
|
79
|
+
- **Duration**: {{total_duration}}
|
|
80
|
+
{{/total_duration}}
|
|
81
|
+
{{#operation_count}}
|
|
82
|
+
- **Operations**: {{operation_count}}
|
|
83
|
+
{{/operation_count}}
|
|
84
|
+
{{#success_rate}}
|
|
85
|
+
- **Success Rate**: {{success_rate}}%
|
|
86
|
+
{{/success_rate}}
|
|
87
|
+
{{/metrics}}
|
|
88
|
+
|
|
89
|
+
{{#next_steps}}
|
|
90
|
+
## Next Steps
|
|
91
|
+
|
|
92
|
+
{{#next_steps}}
|
|
93
|
+
- {{.}}
|
|
94
|
+
{{/next_steps}}
|
|
95
|
+
{{/next_steps}}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Workflow Log Type Definition
|
|
2
|
+
#
|
|
3
|
+
# This file defines the schema, frontmatter rules, and configuration
|
|
4
|
+
# for workflow execution log entries.
|
|
5
|
+
|
|
6
|
+
id: workflow
|
|
7
|
+
display_name: Workflow Log
|
|
8
|
+
description: FABER phases, ETL pipelines, data workflows, automation steps
|
|
9
|
+
|
|
10
|
+
# Output configuration
|
|
11
|
+
output_path: .fractary/logs/workflow
|
|
12
|
+
|
|
13
|
+
# File naming rules
|
|
14
|
+
file_naming:
|
|
15
|
+
pattern: "{date}-{workflow_id}.md"
|
|
16
|
+
date_format: "YYYYMMDD-HHmmss"
|
|
17
|
+
slug_source: workflow_id
|
|
18
|
+
slug_max_length: 36
|
|
19
|
+
|
|
20
|
+
# Frontmatter schema
|
|
21
|
+
frontmatter:
|
|
22
|
+
required_fields:
|
|
23
|
+
- log_type
|
|
24
|
+
- title
|
|
25
|
+
- workflow_id
|
|
26
|
+
- timestamp
|
|
27
|
+
- status
|
|
28
|
+
optional_fields:
|
|
29
|
+
- work_item_id
|
|
30
|
+
- phase
|
|
31
|
+
- workflow_type
|
|
32
|
+
- context
|
|
33
|
+
- work_id
|
|
34
|
+
- tags
|
|
35
|
+
defaults:
|
|
36
|
+
log_type: workflow
|
|
37
|
+
status: pending
|
|
38
|
+
|
|
39
|
+
# Document structure
|
|
40
|
+
structure:
|
|
41
|
+
required_sections:
|
|
42
|
+
- Operations
|
|
43
|
+
optional_sections:
|
|
44
|
+
- Current Phase
|
|
45
|
+
- Decisions
|
|
46
|
+
- Artifacts
|
|
47
|
+
- Metrics
|
|
48
|
+
- Next Steps
|
|
49
|
+
section_order:
|
|
50
|
+
- Current Phase
|
|
51
|
+
- Operations
|
|
52
|
+
- Decisions
|
|
53
|
+
- Artifacts
|
|
54
|
+
- Metrics
|
|
55
|
+
- Next Steps
|
|
56
|
+
|
|
57
|
+
# Status workflow
|
|
58
|
+
status:
|
|
59
|
+
allowed_values:
|
|
60
|
+
- pending
|
|
61
|
+
- running
|
|
62
|
+
- success
|
|
63
|
+
- failure
|
|
64
|
+
- partial
|
|
65
|
+
- cancelled
|
|
66
|
+
default: pending
|
|
67
|
+
|
|
68
|
+
# FABER phase classification
|
|
69
|
+
phase:
|
|
70
|
+
allowed_values:
|
|
71
|
+
- Frame
|
|
72
|
+
- Architect
|
|
73
|
+
- Build
|
|
74
|
+
- Evaluate
|
|
75
|
+
- Release
|
|
76
|
+
default: Frame
|
|
77
|
+
|
|
78
|
+
# Workflow type classification
|
|
79
|
+
workflow_type:
|
|
80
|
+
allowed_values:
|
|
81
|
+
- faber
|
|
82
|
+
- etl
|
|
83
|
+
- cicd
|
|
84
|
+
- data-pipeline
|
|
85
|
+
- custom
|
|
86
|
+
default: faber
|
|
87
|
+
|
|
88
|
+
# Retention policy
|
|
89
|
+
retention:
|
|
90
|
+
default_local_days: 30
|
|
91
|
+
default_cloud_days: 90
|