@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.
Files changed (87) hide show
  1. package/dist/docs/type-registry.d.ts.map +1 -1
  2. package/dist/docs/type-registry.js +4 -5
  3. package/dist/docs/type-registry.js.map +1 -1
  4. package/dist/logs/type-registry.d.ts.map +1 -1
  5. package/dist/logs/type-registry.js +4 -5
  6. package/dist/logs/type-registry.js.map +1 -1
  7. package/dist/work/providers/github.d.ts.map +1 -1
  8. package/dist/work/providers/github.js +10 -2
  9. package/dist/work/providers/github.js.map +1 -1
  10. package/package.json +4 -2
  11. package/templates/docs/adr/standards.md +29 -0
  12. package/templates/docs/adr/template.md +48 -0
  13. package/templates/docs/adr/type.yaml +74 -0
  14. package/templates/docs/api/standards.md +16 -0
  15. package/templates/docs/api/template.md +62 -0
  16. package/templates/docs/api/type.yaml +63 -0
  17. package/templates/docs/architecture/standards.md +15 -0
  18. package/templates/docs/architecture/template.md +58 -0
  19. package/templates/docs/architecture/type.yaml +63 -0
  20. package/templates/docs/audit/standards.md +15 -0
  21. package/templates/docs/audit/template.md +52 -0
  22. package/templates/docs/audit/type.yaml +61 -0
  23. package/templates/docs/changelog/standards.md +15 -0
  24. package/templates/docs/changelog/template.md +53 -0
  25. package/templates/docs/changelog/type.yaml +45 -0
  26. package/templates/docs/dataset/standards.md +15 -0
  27. package/templates/docs/dataset/template.md +65 -0
  28. package/templates/docs/dataset/type.yaml +63 -0
  29. package/templates/docs/etl/standards.md +15 -0
  30. package/templates/docs/etl/template.md +77 -0
  31. package/templates/docs/etl/type.yaml +66 -0
  32. package/templates/docs/guides/standards.md +16 -0
  33. package/templates/docs/guides/template.md +58 -0
  34. package/templates/docs/guides/type.yaml +61 -0
  35. package/templates/docs/infrastructure/standards.md +15 -0
  36. package/templates/docs/infrastructure/template.md +90 -0
  37. package/templates/docs/infrastructure/type.yaml +66 -0
  38. package/templates/docs/manifest.yaml +114 -0
  39. package/templates/docs/spec-api/standards.md +53 -0
  40. package/templates/docs/spec-api/template.md +96 -0
  41. package/templates/docs/spec-api/type.yaml +102 -0
  42. package/templates/docs/spec-basic/standards.md +24 -0
  43. package/templates/docs/spec-basic/template.md +51 -0
  44. package/templates/docs/spec-basic/type.yaml +92 -0
  45. package/templates/docs/spec-bug/standards.md +46 -0
  46. package/templates/docs/spec-bug/template.md +66 -0
  47. package/templates/docs/spec-bug/type.yaml +96 -0
  48. package/templates/docs/spec-feature/standards.md +53 -0
  49. package/templates/docs/spec-feature/template.md +105 -0
  50. package/templates/docs/spec-feature/type.yaml +106 -0
  51. package/templates/docs/spec-infrastructure/standards.md +58 -0
  52. package/templates/docs/spec-infrastructure/template.md +71 -0
  53. package/templates/docs/spec-infrastructure/type.yaml +102 -0
  54. package/templates/docs/standards/standards.md +15 -0
  55. package/templates/docs/standards/template.md +54 -0
  56. package/templates/docs/standards/type.yaml +61 -0
  57. package/templates/docs/testing/standards.md +15 -0
  58. package/templates/docs/testing/template.md +87 -0
  59. package/templates/docs/testing/type.yaml +65 -0
  60. package/templates/logs/audit/standards.md +33 -0
  61. package/templates/logs/audit/template.md +65 -0
  62. package/templates/logs/audit/type.yaml +85 -0
  63. package/templates/logs/build/standards.md +32 -0
  64. package/templates/logs/build/template.md +78 -0
  65. package/templates/logs/build/type.yaml +71 -0
  66. package/templates/logs/changelog/standards.md +34 -0
  67. package/templates/logs/changelog/template.md +71 -0
  68. package/templates/logs/changelog/type.yaml +70 -0
  69. package/templates/logs/debug/standards.md +33 -0
  70. package/templates/logs/debug/template.md +63 -0
  71. package/templates/logs/debug/type.yaml +77 -0
  72. package/templates/logs/deployment/standards.md +34 -0
  73. package/templates/logs/deployment/template.md +64 -0
  74. package/templates/logs/deployment/type.yaml +76 -0
  75. package/templates/logs/manifest.yaml +70 -0
  76. package/templates/logs/operational/standards.md +34 -0
  77. package/templates/logs/operational/template.md +71 -0
  78. package/templates/logs/operational/type.yaml +87 -0
  79. package/templates/logs/session/standards.md +34 -0
  80. package/templates/logs/session/template.md +81 -0
  81. package/templates/logs/session/type.yaml +69 -0
  82. package/templates/logs/test/standards.md +34 -0
  83. package/templates/logs/test/template.md +83 -0
  84. package/templates/logs/test/type.yaml +75 -0
  85. package/templates/logs/workflow/standards.md +35 -0
  86. package/templates/logs/workflow/template.md +95 -0
  87. 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