@fractary/core 0.7.23 → 0.7.25

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 (84) 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/package.json +4 -2
  8. package/templates/docs/adr/standards.md +29 -0
  9. package/templates/docs/adr/template.md +48 -0
  10. package/templates/docs/adr/type.yaml +74 -0
  11. package/templates/docs/api/standards.md +16 -0
  12. package/templates/docs/api/template.md +62 -0
  13. package/templates/docs/api/type.yaml +63 -0
  14. package/templates/docs/architecture/standards.md +15 -0
  15. package/templates/docs/architecture/template.md +58 -0
  16. package/templates/docs/architecture/type.yaml +63 -0
  17. package/templates/docs/audit/standards.md +15 -0
  18. package/templates/docs/audit/template.md +52 -0
  19. package/templates/docs/audit/type.yaml +61 -0
  20. package/templates/docs/changelog/standards.md +15 -0
  21. package/templates/docs/changelog/template.md +53 -0
  22. package/templates/docs/changelog/type.yaml +45 -0
  23. package/templates/docs/dataset/standards.md +15 -0
  24. package/templates/docs/dataset/template.md +65 -0
  25. package/templates/docs/dataset/type.yaml +63 -0
  26. package/templates/docs/etl/standards.md +15 -0
  27. package/templates/docs/etl/template.md +77 -0
  28. package/templates/docs/etl/type.yaml +66 -0
  29. package/templates/docs/guides/standards.md +16 -0
  30. package/templates/docs/guides/template.md +58 -0
  31. package/templates/docs/guides/type.yaml +61 -0
  32. package/templates/docs/infrastructure/standards.md +15 -0
  33. package/templates/docs/infrastructure/template.md +90 -0
  34. package/templates/docs/infrastructure/type.yaml +66 -0
  35. package/templates/docs/manifest.yaml +114 -0
  36. package/templates/docs/spec-api/standards.md +53 -0
  37. package/templates/docs/spec-api/template.md +96 -0
  38. package/templates/docs/spec-api/type.yaml +102 -0
  39. package/templates/docs/spec-basic/standards.md +24 -0
  40. package/templates/docs/spec-basic/template.md +51 -0
  41. package/templates/docs/spec-basic/type.yaml +92 -0
  42. package/templates/docs/spec-bug/standards.md +46 -0
  43. package/templates/docs/spec-bug/template.md +66 -0
  44. package/templates/docs/spec-bug/type.yaml +96 -0
  45. package/templates/docs/spec-feature/standards.md +53 -0
  46. package/templates/docs/spec-feature/template.md +105 -0
  47. package/templates/docs/spec-feature/type.yaml +106 -0
  48. package/templates/docs/spec-infrastructure/standards.md +58 -0
  49. package/templates/docs/spec-infrastructure/template.md +71 -0
  50. package/templates/docs/spec-infrastructure/type.yaml +102 -0
  51. package/templates/docs/standards/standards.md +15 -0
  52. package/templates/docs/standards/template.md +54 -0
  53. package/templates/docs/standards/type.yaml +61 -0
  54. package/templates/docs/testing/standards.md +15 -0
  55. package/templates/docs/testing/template.md +87 -0
  56. package/templates/docs/testing/type.yaml +65 -0
  57. package/templates/logs/audit/standards.md +33 -0
  58. package/templates/logs/audit/template.md +65 -0
  59. package/templates/logs/audit/type.yaml +85 -0
  60. package/templates/logs/build/standards.md +32 -0
  61. package/templates/logs/build/template.md +78 -0
  62. package/templates/logs/build/type.yaml +71 -0
  63. package/templates/logs/changelog/standards.md +34 -0
  64. package/templates/logs/changelog/template.md +71 -0
  65. package/templates/logs/changelog/type.yaml +70 -0
  66. package/templates/logs/debug/standards.md +33 -0
  67. package/templates/logs/debug/template.md +63 -0
  68. package/templates/logs/debug/type.yaml +77 -0
  69. package/templates/logs/deployment/standards.md +34 -0
  70. package/templates/logs/deployment/template.md +64 -0
  71. package/templates/logs/deployment/type.yaml +76 -0
  72. package/templates/logs/manifest.yaml +70 -0
  73. package/templates/logs/operational/standards.md +34 -0
  74. package/templates/logs/operational/template.md +71 -0
  75. package/templates/logs/operational/type.yaml +87 -0
  76. package/templates/logs/session/standards.md +34 -0
  77. package/templates/logs/session/template.md +81 -0
  78. package/templates/logs/session/type.yaml +69 -0
  79. package/templates/logs/test/standards.md +34 -0
  80. package/templates/logs/test/template.md +83 -0
  81. package/templates/logs/test/type.yaml +75 -0
  82. package/templates/logs/workflow/standards.md +35 -0
  83. package/templates/logs/workflow/template.md +95 -0
  84. package/templates/logs/workflow/type.yaml +91 -0
@@ -0,0 +1,52 @@
1
+ # {{title}}
2
+
3
+ ## Executive Summary
4
+
5
+ {{summary}}
6
+
7
+ ## Scope
8
+
9
+ {{scope}}
10
+
11
+ ## Methodology
12
+
13
+ {{methodology}}
14
+
15
+ ## Findings
16
+
17
+ {{#findings}}
18
+ ### {{id}}: {{title}}
19
+
20
+ **Severity:** {{severity}}
21
+ **Status:** {{status}}
22
+
23
+ **Description:**
24
+ {{description}}
25
+
26
+ **Impact:**
27
+ {{impact}}
28
+
29
+ **Recommendation:**
30
+ {{recommendation}}
31
+
32
+ {{/findings}}
33
+
34
+ ## Summary
35
+
36
+ | Severity | Count |
37
+ |----------|-------|
38
+ | Critical | {{counts.critical}} |
39
+ | High | {{counts.high}} |
40
+ | Medium | {{counts.medium}} |
41
+ | Low | {{counts.low}} |
42
+ | Info | {{counts.info}} |
43
+
44
+ ## Recommendations
45
+
46
+ {{#recommendations}}
47
+ 1. {{.}}
48
+ {{/recommendations}}
49
+
50
+ ## Appendix
51
+
52
+ {{appendix}}
@@ -0,0 +1,61 @@
1
+ # Audit Report Type Definition
2
+
3
+ id: audit
4
+ display_name: Audit Report
5
+ description: Security audits, compliance checks, and quality assessments
6
+
7
+ output_path: docs/audits
8
+
9
+ file_naming:
10
+ pattern: "AUDIT-{date}-{slug}.md"
11
+ slug_source: title
12
+ slug_max_length: 40
13
+
14
+ frontmatter:
15
+ required_fields:
16
+ - title
17
+ - type
18
+ - status
19
+ - date
20
+ - auditor
21
+ optional_fields:
22
+ - scope
23
+ - tags
24
+ - related
25
+ - next_audit_date
26
+ defaults:
27
+ type: audit
28
+ status: draft
29
+
30
+ structure:
31
+ required_sections:
32
+ - Executive Summary
33
+ - Scope
34
+ - Findings
35
+ - Summary
36
+ optional_sections:
37
+ - Methodology
38
+ - Recommendations
39
+ - Appendix
40
+ section_order:
41
+ - Executive Summary
42
+ - Scope
43
+ - Methodology
44
+ - Findings
45
+ - Summary
46
+ - Recommendations
47
+ - Appendix
48
+
49
+ status:
50
+ allowed_values:
51
+ - draft
52
+ - review
53
+ - final
54
+ - archived
55
+ default: draft
56
+
57
+ index_config:
58
+ index_file: docs/audits/README.md
59
+ sort_by: date
60
+ sort_order: desc
61
+ entry_template: "- [{{title}}]({{relative_path}}) - {{date}} ({{status}})"
@@ -0,0 +1,15 @@
1
+ # Changelog Documentation Standards
2
+
3
+ ## Required Conventions
4
+
5
+ - Follow Keep a Changelog format
6
+ - Use Semantic Versioning
7
+ - Group changes by type (Added, Changed, etc.)
8
+ - Include dates for each release
9
+
10
+ ## Best Practices
11
+
12
+ - Write user-facing descriptions
13
+ - Link to issues/PRs where applicable
14
+ - Document breaking changes clearly
15
+ - Keep entries concise
@@ -0,0 +1,53 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ {{#releases}}
9
+ ## [{{version}}] - {{date}}
10
+
11
+ {{#added}}
12
+ ### Added
13
+ {{#added}}
14
+ - {{.}}
15
+ {{/added}}
16
+ {{/added}}
17
+
18
+ {{#changed}}
19
+ ### Changed
20
+ {{#changed}}
21
+ - {{.}}
22
+ {{/changed}}
23
+ {{/changed}}
24
+
25
+ {{#deprecated}}
26
+ ### Deprecated
27
+ {{#deprecated}}
28
+ - {{.}}
29
+ {{/deprecated}}
30
+ {{/deprecated}}
31
+
32
+ {{#removed}}
33
+ ### Removed
34
+ {{#removed}}
35
+ - {{.}}
36
+ {{/removed}}
37
+ {{/removed}}
38
+
39
+ {{#fixed}}
40
+ ### Fixed
41
+ {{#fixed}}
42
+ - {{.}}
43
+ {{/fixed}}
44
+ {{/fixed}}
45
+
46
+ {{#security}}
47
+ ### Security
48
+ {{#security}}
49
+ - {{.}}
50
+ {{/security}}
51
+ {{/security}}
52
+
53
+ {{/releases}}
@@ -0,0 +1,45 @@
1
+ # Changelog Type Definition
2
+
3
+ id: changelog
4
+ display_name: Changelog
5
+ description: Version history and release notes
6
+
7
+ output_path: docs
8
+
9
+ file_naming:
10
+ pattern: "CHANGELOG.md"
11
+ slug_source: title
12
+ slug_max_length: 50
13
+
14
+ frontmatter:
15
+ required_fields:
16
+ - title
17
+ - type
18
+ optional_fields:
19
+ - version
20
+ - date
21
+ defaults:
22
+ type: changelog
23
+ title: Changelog
24
+
25
+ structure:
26
+ required_sections: []
27
+ optional_sections:
28
+ - Added
29
+ - Changed
30
+ - Deprecated
31
+ - Removed
32
+ - Fixed
33
+ - Security
34
+ section_order:
35
+ - Added
36
+ - Changed
37
+ - Deprecated
38
+ - Removed
39
+ - Fixed
40
+ - Security
41
+
42
+ status:
43
+ allowed_values:
44
+ - current
45
+ default: current
@@ -0,0 +1,15 @@
1
+ # Dataset Documentation Standards
2
+
3
+ ## Required Conventions
4
+
5
+ - ALWAYS document all fields with types
6
+ - ALWAYS specify required vs optional fields
7
+ - ALWAYS include field descriptions
8
+ - ALWAYS document relationships
9
+
10
+ ## Best Practices
11
+
12
+ - Include sample data
13
+ - Document validation rules
14
+ - Note data sources
15
+ - Keep schema documentation in sync with code
@@ -0,0 +1,65 @@
1
+ # {{title}}
2
+
3
+ ## Overview
4
+
5
+ {{description}}
6
+
7
+ ## Schema
8
+
9
+ | Field | Type | Required | Description |
10
+ |-------|------|----------|-------------|
11
+ {{#fields}}
12
+ | {{name}} | {{type}} | {{required}} | {{description}} |
13
+ {{/fields}}
14
+
15
+ ## Relationships
16
+
17
+ {{#relationships}}
18
+ ### {{name}}
19
+
20
+ - **Type:** {{type}}
21
+ - **Target:** {{target}}
22
+ - **Description:** {{description}}
23
+ {{/relationships}}
24
+
25
+ ## Indexes
26
+
27
+ {{#indexes}}
28
+ | Name | Fields | Type |
29
+ |------|--------|------|
30
+ {{#indexes}}
31
+ | {{name}} | {{fields}} | {{type}} |
32
+ {{/indexes}}
33
+ {{/indexes}}
34
+
35
+ ## Data Sources
36
+
37
+ {{#sources}}
38
+ - **{{name}}**: {{description}}
39
+ {{/sources}}
40
+
41
+ ## Data Quality
42
+
43
+ ### Validation Rules
44
+
45
+ {{#validation_rules}}
46
+ - {{.}}
47
+ {{/validation_rules}}
48
+
49
+ ### Constraints
50
+
51
+ {{#constraints}}
52
+ - {{.}}
53
+ {{/constraints}}
54
+
55
+ ## Sample Data
56
+
57
+ ```json
58
+ {{sample_data}}
59
+ ```
60
+
61
+ ## Related Datasets
62
+
63
+ {{#related}}
64
+ - [{{name}}]({{path}})
65
+ {{/related}}
@@ -0,0 +1,63 @@
1
+ # Dataset Documentation Type Definition
2
+
3
+ id: dataset
4
+ display_name: Dataset Documentation
5
+ description: Data schema documentation and field definitions
6
+
7
+ output_path: docs/data
8
+
9
+ file_naming:
10
+ pattern: "DATA-{slug}.md"
11
+ slug_source: title
12
+ slug_max_length: 50
13
+
14
+ frontmatter:
15
+ required_fields:
16
+ - title
17
+ - type
18
+ - status
19
+ - date
20
+ optional_fields:
21
+ - owner
22
+ - version
23
+ - tags
24
+ - related
25
+ - source
26
+ defaults:
27
+ type: dataset
28
+ status: draft
29
+
30
+ structure:
31
+ required_sections:
32
+ - Overview
33
+ - Schema
34
+ optional_sections:
35
+ - Relationships
36
+ - Indexes
37
+ - Data Sources
38
+ - Data Quality
39
+ - Sample Data
40
+ - Related Datasets
41
+ section_order:
42
+ - Overview
43
+ - Schema
44
+ - Relationships
45
+ - Indexes
46
+ - Data Sources
47
+ - Data Quality
48
+ - Sample Data
49
+ - Related Datasets
50
+
51
+ status:
52
+ allowed_values:
53
+ - draft
54
+ - review
55
+ - approved
56
+ - deprecated
57
+ default: draft
58
+
59
+ index_config:
60
+ index_file: docs/data/README.md
61
+ sort_by: title
62
+ sort_order: asc
63
+ entry_template: "- [{{title}}]({{relative_path}}) - {{status}}"
@@ -0,0 +1,15 @@
1
+ # ETL Pipeline Documentation Standards
2
+
3
+ ## Required Conventions
4
+
5
+ - ALWAYS document data sources
6
+ - ALWAYS document transformations
7
+ - ALWAYS document destinations
8
+ - ALWAYS include scheduling information
9
+
10
+ ## Best Practices
11
+
12
+ - Include pipeline diagrams
13
+ - Document error handling
14
+ - Set up monitoring and alerts
15
+ - Track data lineage
@@ -0,0 +1,77 @@
1
+ # {{title}}
2
+
3
+ ## Overview
4
+
5
+ {{description}}
6
+
7
+ ## Pipeline Diagram
8
+
9
+ ```mermaid
10
+ {{diagram}}
11
+ ```
12
+
13
+ ## Sources
14
+
15
+ {{#sources}}
16
+ ### {{name}}
17
+
18
+ - **Type:** {{type}}
19
+ - **Connection:** {{connection}}
20
+ - **Schedule:** {{schedule}}
21
+ - **Description:** {{description}}
22
+ {{/sources}}
23
+
24
+ ## Transformations
25
+
26
+ {{#transformations}}
27
+ ### {{name}}
28
+
29
+ **Input:** {{input}}
30
+ **Output:** {{output}}
31
+
32
+ {{description}}
33
+
34
+ ```{{language}}
35
+ {{code}}
36
+ ```
37
+ {{/transformations}}
38
+
39
+ ## Destinations
40
+
41
+ {{#destinations}}
42
+ ### {{name}}
43
+
44
+ - **Type:** {{type}}
45
+ - **Connection:** {{connection}}
46
+ - **Mode:** {{mode}}
47
+ {{/destinations}}
48
+
49
+ ## Schedule
50
+
51
+ - **Frequency:** {{schedule.frequency}}
52
+ - **Timezone:** {{schedule.timezone}}
53
+ - **Dependencies:** {{schedule.dependencies}}
54
+
55
+ ## Monitoring
56
+
57
+ ### Alerts
58
+
59
+ {{#alerts}}
60
+ - **{{name}}**: {{condition}} → {{action}}
61
+ {{/alerts}}
62
+
63
+ ### Metrics
64
+
65
+ {{#metrics}}
66
+ - {{name}}: {{description}}
67
+ {{/metrics}}
68
+
69
+ ## Error Handling
70
+
71
+ {{error_handling}}
72
+
73
+ ## Related Pipelines
74
+
75
+ {{#related}}
76
+ - [{{name}}]({{path}})
77
+ {{/related}}
@@ -0,0 +1,66 @@
1
+ # ETL Pipeline Documentation Type Definition
2
+
3
+ id: etl
4
+ display_name: ETL Pipeline Documentation
5
+ description: Data pipeline and ETL job documentation
6
+
7
+ output_path: docs/etl
8
+
9
+ file_naming:
10
+ pattern: "ETL-{slug}.md"
11
+ slug_source: title
12
+ slug_max_length: 50
13
+
14
+ frontmatter:
15
+ required_fields:
16
+ - title
17
+ - type
18
+ - status
19
+ - date
20
+ optional_fields:
21
+ - owner
22
+ - schedule
23
+ - tags
24
+ - related
25
+ - dependencies
26
+ defaults:
27
+ type: etl
28
+ status: draft
29
+
30
+ structure:
31
+ required_sections:
32
+ - Overview
33
+ - Sources
34
+ - Transformations
35
+ - Destinations
36
+ optional_sections:
37
+ - Pipeline Diagram
38
+ - Schedule
39
+ - Monitoring
40
+ - Error Handling
41
+ - Related Pipelines
42
+ section_order:
43
+ - Overview
44
+ - Pipeline Diagram
45
+ - Sources
46
+ - Transformations
47
+ - Destinations
48
+ - Schedule
49
+ - Monitoring
50
+ - Error Handling
51
+ - Related Pipelines
52
+
53
+ status:
54
+ allowed_values:
55
+ - draft
56
+ - development
57
+ - staging
58
+ - production
59
+ - deprecated
60
+ default: draft
61
+
62
+ index_config:
63
+ index_file: docs/etl/README.md
64
+ sort_by: title
65
+ sort_order: asc
66
+ entry_template: "- [{{title}}]({{relative_path}}) - {{status}}"
@@ -0,0 +1,16 @@
1
+ # Guide Documentation Standards
2
+
3
+ ## Required Conventions
4
+
5
+ - ALWAYS include clear overview
6
+ - ALWAYS list prerequisites
7
+ - ALWAYS provide step-by-step instructions
8
+ - ALWAYS include verification steps
9
+
10
+ ## Best Practices
11
+
12
+ - Use numbered steps
13
+ - Include code examples
14
+ - Add troubleshooting section
15
+ - Link to related guides
16
+ - Specify difficulty level
@@ -0,0 +1,58 @@
1
+ # {{title}}
2
+
3
+ ## Overview
4
+
5
+ {{overview}}
6
+
7
+ ## Prerequisites
8
+
9
+ {{#prerequisites}}
10
+ - {{.}}
11
+ {{/prerequisites}}
12
+
13
+ ## Steps
14
+
15
+ {{#steps}}
16
+ ### Step {{number}}: {{title}}
17
+
18
+ {{description}}
19
+
20
+ {{#code}}
21
+ ```{{language}}
22
+ {{code}}
23
+ ```
24
+ {{/code}}
25
+
26
+ {{#note}}
27
+ > **Note:** {{note}}
28
+ {{/note}}
29
+
30
+ {{#warning}}
31
+ > **Warning:** {{warning}}
32
+ {{/warning}}
33
+
34
+ {{/steps}}
35
+
36
+ ## Verification
37
+
38
+ {{verification}}
39
+
40
+ ## Troubleshooting
41
+
42
+ {{#troubleshooting}}
43
+ ### {{problem}}
44
+
45
+ **Solution:** {{solution}}
46
+ {{/troubleshooting}}
47
+
48
+ ## Next Steps
49
+
50
+ {{#next_steps}}
51
+ - [{{title}}]({{path}})
52
+ {{/next_steps}}
53
+
54
+ ## Related Guides
55
+
56
+ {{#related}}
57
+ - [{{title}}]({{path}})
58
+ {{/related}}
@@ -0,0 +1,61 @@
1
+ # How-to Guide Type Definition
2
+
3
+ id: guides
4
+ display_name: How-to Guide
5
+ description: Step-by-step tutorials and how-to guides
6
+
7
+ output_path: docs/guides
8
+
9
+ file_naming:
10
+ pattern: "GUIDE-{slug}.md"
11
+ slug_source: title
12
+ slug_max_length: 50
13
+
14
+ frontmatter:
15
+ required_fields:
16
+ - title
17
+ - type
18
+ - date
19
+ optional_fields:
20
+ - author
21
+ - difficulty
22
+ - time_required
23
+ - tags
24
+ - related
25
+ - prerequisites
26
+ defaults:
27
+ type: guides
28
+ difficulty: intermediate
29
+
30
+ structure:
31
+ required_sections:
32
+ - Overview
33
+ - Prerequisites
34
+ - Steps
35
+ optional_sections:
36
+ - Verification
37
+ - Troubleshooting
38
+ - Next Steps
39
+ - Related Guides
40
+ section_order:
41
+ - Overview
42
+ - Prerequisites
43
+ - Steps
44
+ - Verification
45
+ - Troubleshooting
46
+ - Next Steps
47
+ - Related Guides
48
+
49
+ status:
50
+ allowed_values:
51
+ - draft
52
+ - review
53
+ - published
54
+ - outdated
55
+ default: draft
56
+
57
+ index_config:
58
+ index_file: docs/guides/README.md
59
+ sort_by: title
60
+ sort_order: asc
61
+ entry_template: "- [{{title}}]({{relative_path}}) - {{difficulty}}"
@@ -0,0 +1,15 @@
1
+ # Infrastructure Documentation Standards
2
+
3
+ ## Required Conventions
4
+
5
+ - ALWAYS document all resources
6
+ - ALWAYS include deployment procedures
7
+ - ALWAYS document security configuration
8
+ - ALWAYS include runbook operations
9
+
10
+ ## Best Practices
11
+
12
+ - Include architecture diagrams
13
+ - Document monitoring and alerts
14
+ - Maintain runbooks for common operations
15
+ - Document incident response procedures