@gitgov/core 1.0.0
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/README.md +303 -0
- package/dist/scripts/compile-json-to-types.d.ts +11 -0
- package/dist/scripts/compile-json-to-types.d.ts.map +1 -0
- package/dist/scripts/compile-json-to-types.js +129 -0
- package/dist/scripts/compile-json-to-types.js.map +1 -0
- package/dist/scripts/diagnose-duplicates.d.ts +7 -0
- package/dist/scripts/diagnose-duplicates.d.ts.map +1 -0
- package/dist/scripts/diagnose-duplicates.js +72 -0
- package/dist/scripts/diagnose-duplicates.js.map +1 -0
- package/dist/scripts/generate-indexes.d.ts +22 -0
- package/dist/scripts/generate-indexes.d.ts.map +1 -0
- package/dist/scripts/generate-indexes.js +168 -0
- package/dist/scripts/generate-indexes.js.map +1 -0
- package/dist/scripts/sync-schemas.d.ts +10 -0
- package/dist/scripts/sync-schemas.d.ts.map +1 -0
- package/dist/scripts/sync-schemas.js +84 -0
- package/dist/scripts/sync-schemas.js.map +1 -0
- package/dist/scripts/sync-workflow-configs.d.ts +11 -0
- package/dist/scripts/sync-workflow-configs.d.ts.map +1 -0
- package/dist/scripts/sync-workflow-configs.js +61 -0
- package/dist/scripts/sync-workflow-configs.js.map +1 -0
- package/dist/scripts/update-diagram.d.ts +7 -0
- package/dist/scripts/update-diagram.d.ts.map +1 -0
- package/dist/scripts/update-diagram.js +47 -0
- package/dist/scripts/update-diagram.js.map +1 -0
- package/dist/scripts/validate-schemas.d.ts +18 -0
- package/dist/scripts/validate-schemas.d.ts.map +1 -0
- package/dist/scripts/validate-schemas.js +313 -0
- package/dist/scripts/validate-schemas.js.map +1 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter.integration.test.d.ts +2 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter.integration.test.d.ts.map +1 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter.integration.test.js +507 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter.integration.test.js.map +1 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter.test.d.ts +2 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter.test.d.ts.map +1 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter.test.js +1282 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter.test.js.map +1 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter_e2e.test.d.ts +10 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter_e2e.test.d.ts.map +1 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter_e2e.test.js +144 -0
- package/dist/src/adapters/backlog_adapter/backlog_adapter_e2e.test.js.map +1 -0
- package/dist/src/adapters/backlog_adapter/index.d.ts +213 -0
- package/dist/src/adapters/backlog_adapter/index.d.ts.map +1 -0
- package/dist/src/adapters/backlog_adapter/index.js +924 -0
- package/dist/src/adapters/backlog_adapter/index.js.map +1 -0
- package/dist/src/adapters/changelog_adapter/changelog_adapter.test.d.ts +2 -0
- package/dist/src/adapters/changelog_adapter/changelog_adapter.test.d.ts.map +1 -0
- package/dist/src/adapters/changelog_adapter/changelog_adapter.test.js +505 -0
- package/dist/src/adapters/changelog_adapter/changelog_adapter.test.js.map +1 -0
- package/dist/src/adapters/changelog_adapter/index.d.ts +101 -0
- package/dist/src/adapters/changelog_adapter/index.d.ts.map +1 -0
- package/dist/src/adapters/changelog_adapter/index.js +197 -0
- package/dist/src/adapters/changelog_adapter/index.js.map +1 -0
- package/dist/src/adapters/execution_adapter/execution_adapter.test.d.ts +2 -0
- package/dist/src/adapters/execution_adapter/execution_adapter.test.d.ts.map +1 -0
- package/dist/src/adapters/execution_adapter/execution_adapter.test.js +266 -0
- package/dist/src/adapters/execution_adapter/execution_adapter.test.js.map +1 -0
- package/dist/src/adapters/execution_adapter/index.d.ts +90 -0
- package/dist/src/adapters/execution_adapter/index.d.ts.map +1 -0
- package/dist/src/adapters/execution_adapter/index.js +150 -0
- package/dist/src/adapters/execution_adapter/index.js.map +1 -0
- package/dist/src/adapters/feedback_adapter/feedback_adapter.test.d.ts +2 -0
- package/dist/src/adapters/feedback_adapter/feedback_adapter.test.d.ts.map +1 -0
- package/dist/src/adapters/feedback_adapter/feedback_adapter.test.js +256 -0
- package/dist/src/adapters/feedback_adapter/feedback_adapter.test.js.map +1 -0
- package/dist/src/adapters/feedback_adapter/index.d.ts +95 -0
- package/dist/src/adapters/feedback_adapter/index.d.ts.map +1 -0
- package/dist/src/adapters/feedback_adapter/index.js +192 -0
- package/dist/src/adapters/feedback_adapter/index.js.map +1 -0
- package/dist/src/adapters/identity_adapter/identity_adapter.test.d.ts +2 -0
- package/dist/src/adapters/identity_adapter/identity_adapter.test.d.ts.map +1 -0
- package/dist/src/adapters/identity_adapter/identity_adapter.test.js +624 -0
- package/dist/src/adapters/identity_adapter/identity_adapter.test.js.map +1 -0
- package/dist/src/adapters/identity_adapter/index.d.ts +82 -0
- package/dist/src/adapters/identity_adapter/index.d.ts.map +1 -0
- package/dist/src/adapters/identity_adapter/index.js +336 -0
- package/dist/src/adapters/identity_adapter/index.js.map +1 -0
- package/dist/src/adapters/index.d.ts +10 -0
- package/dist/src/adapters/index.d.ts.map +1 -0
- package/dist/src/adapters/index.js +10 -0
- package/dist/src/adapters/index.js.map +1 -0
- package/dist/src/adapters/indexer_adapter/index.d.ts +214 -0
- package/dist/src/adapters/indexer_adapter/index.d.ts.map +1 -0
- package/dist/src/adapters/indexer_adapter/index.js +643 -0
- package/dist/src/adapters/indexer_adapter/index.js.map +1 -0
- package/dist/src/adapters/indexer_adapter/indexer_adapter.test.d.ts +2 -0
- package/dist/src/adapters/indexer_adapter/indexer_adapter.test.d.ts.map +1 -0
- package/dist/src/adapters/indexer_adapter/indexer_adapter.test.js +409 -0
- package/dist/src/adapters/indexer_adapter/indexer_adapter.test.js.map +1 -0
- package/dist/src/adapters/metrics_adapter/index.d.ts +189 -0
- package/dist/src/adapters/metrics_adapter/index.d.ts.map +1 -0
- package/dist/src/adapters/metrics_adapter/index.js +592 -0
- package/dist/src/adapters/metrics_adapter/index.js.map +1 -0
- package/dist/src/adapters/metrics_adapter/metrics_adapter.test.d.ts +2 -0
- package/dist/src/adapters/metrics_adapter/metrics_adapter.test.d.ts.map +1 -0
- package/dist/src/adapters/metrics_adapter/metrics_adapter.test.js +558 -0
- package/dist/src/adapters/metrics_adapter/metrics_adapter.test.js.map +1 -0
- package/dist/src/adapters/project_adapter/index.d.ts +164 -0
- package/dist/src/adapters/project_adapter/index.d.ts.map +1 -0
- package/dist/src/adapters/project_adapter/index.js +445 -0
- package/dist/src/adapters/project_adapter/index.js.map +1 -0
- package/dist/src/adapters/project_adapter/project_adapter.test.d.ts +2 -0
- package/dist/src/adapters/project_adapter/project_adapter.test.d.ts.map +1 -0
- package/dist/src/adapters/project_adapter/project_adapter.test.js +627 -0
- package/dist/src/adapters/project_adapter/project_adapter.test.js.map +1 -0
- package/dist/src/adapters/workflow_methodology_adapter/index.d.ts +75 -0
- package/dist/src/adapters/workflow_methodology_adapter/index.d.ts.map +1 -0
- package/dist/src/adapters/workflow_methodology_adapter/index.js +205 -0
- package/dist/src/adapters/workflow_methodology_adapter/index.js.map +1 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter.test.d.ts +2 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter.test.d.ts.map +1 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter.test.js +463 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter.test.js.map +1 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter_integration.test.d.ts +2 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter_integration.test.d.ts.map +1 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter_integration.test.js +287 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter_integration.test.js.map +1 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter_scrum_integration.test.d.ts +2 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter_scrum_integration.test.d.ts.map +1 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter_scrum_integration.test.js +278 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_adapter_scrum_integration.test.js.map +1 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_default.json +188 -0
- package/dist/src/adapters/workflow_methodology_adapter/workflow_methodology_scrum.json +284 -0
- package/dist/src/config_manager/config_manager.test.d.ts +2 -0
- package/dist/src/config_manager/config_manager.test.d.ts.map +1 -0
- package/dist/src/config_manager/config_manager.test.js +321 -0
- package/dist/src/config_manager/config_manager.test.js.map +1 -0
- package/dist/src/config_manager/index.d.ts +107 -0
- package/dist/src/config_manager/index.d.ts.map +1 -0
- package/dist/src/config_manager/index.js +192 -0
- package/dist/src/config_manager/index.js.map +1 -0
- package/dist/src/crypto/checksum.d.ts +6 -0
- package/dist/src/crypto/checksum.d.ts.map +1 -0
- package/dist/src/crypto/checksum.js +38 -0
- package/dist/src/crypto/checksum.js.map +1 -0
- package/dist/src/crypto/checksum.test.d.ts +2 -0
- package/dist/src/crypto/checksum.test.d.ts.map +1 -0
- package/dist/src/crypto/checksum.test.js +167 -0
- package/dist/src/crypto/checksum.test.js.map +1 -0
- package/dist/src/crypto/index.d.ts +3 -0
- package/dist/src/crypto/index.d.ts.map +1 -0
- package/dist/src/crypto/index.js +3 -0
- package/dist/src/crypto/index.js.map +1 -0
- package/dist/src/crypto/signatures.d.ts +24 -0
- package/dist/src/crypto/signatures.d.ts.map +1 -0
- package/dist/src/crypto/signatures.js +67 -0
- package/dist/src/crypto/signatures.js.map +1 -0
- package/dist/src/crypto/signatures.test.d.ts +2 -0
- package/dist/src/crypto/signatures.test.d.ts.map +1 -0
- package/dist/src/crypto/signatures.test.js +378 -0
- package/dist/src/crypto/signatures.test.js.map +1 -0
- package/dist/src/diagram_generator/diagram_generator.d.ts +76 -0
- package/dist/src/diagram_generator/diagram_generator.d.ts.map +1 -0
- package/dist/src/diagram_generator/diagram_generator.js +233 -0
- package/dist/src/diagram_generator/diagram_generator.js.map +1 -0
- package/dist/src/diagram_generator/graph_validator.d.ts +19 -0
- package/dist/src/diagram_generator/graph_validator.d.ts.map +1 -0
- package/dist/src/diagram_generator/graph_validator.js +98 -0
- package/dist/src/diagram_generator/graph_validator.js.map +1 -0
- package/dist/src/diagram_generator/index.d.ts +4 -0
- package/dist/src/diagram_generator/index.d.ts.map +1 -0
- package/dist/src/diagram_generator/index.js +4 -0
- package/dist/src/diagram_generator/index.js.map +1 -0
- package/dist/src/diagram_generator/mermaid_renderer.d.ts +82 -0
- package/dist/src/diagram_generator/mermaid_renderer.d.ts.map +1 -0
- package/dist/src/diagram_generator/mermaid_renderer.js +306 -0
- package/dist/src/diagram_generator/mermaid_renderer.js.map +1 -0
- package/dist/src/diagram_generator/relationship_analyzer.d.ts +116 -0
- package/dist/src/diagram_generator/relationship_analyzer.d.ts.map +1 -0
- package/dist/src/diagram_generator/relationship_analyzer.js +381 -0
- package/dist/src/diagram_generator/relationship_analyzer.js.map +1 -0
- package/dist/src/event_bus/event_bus.d.ts +110 -0
- package/dist/src/event_bus/event_bus.d.ts.map +1 -0
- package/dist/src/event_bus/event_bus.js +161 -0
- package/dist/src/event_bus/event_bus.js.map +1 -0
- package/dist/src/event_bus/event_bus.test.d.ts +2 -0
- package/dist/src/event_bus/event_bus.test.d.ts.map +1 -0
- package/dist/src/event_bus/event_bus.test.js +332 -0
- package/dist/src/event_bus/event_bus.test.js.map +1 -0
- package/dist/src/event_bus/event_bus_integration.test.d.ts +2 -0
- package/dist/src/event_bus/event_bus_integration.test.d.ts.map +1 -0
- package/dist/src/event_bus/event_bus_integration.test.js +474 -0
- package/dist/src/event_bus/event_bus_integration.test.js.map +1 -0
- package/dist/src/event_bus/index.d.ts +3 -0
- package/dist/src/event_bus/index.d.ts.map +1 -0
- package/dist/src/event_bus/index.js +3 -0
- package/dist/src/event_bus/index.js.map +1 -0
- package/dist/src/event_bus/types.d.ts +203 -0
- package/dist/src/event_bus/types.d.ts.map +1 -0
- package/dist/src/event_bus/types.js +5 -0
- package/dist/src/event_bus/types.js.map +1 -0
- package/dist/src/factories/actor_factory.d.ts +6 -0
- package/dist/src/factories/actor_factory.d.ts.map +1 -0
- package/dist/src/factories/actor_factory.js +25 -0
- package/dist/src/factories/actor_factory.js.map +1 -0
- package/dist/src/factories/actor_factory.test.d.ts +2 -0
- package/dist/src/factories/actor_factory.test.d.ts.map +1 -0
- package/dist/src/factories/actor_factory.test.js +169 -0
- package/dist/src/factories/actor_factory.test.js.map +1 -0
- package/dist/src/factories/agent_factory.d.ts +6 -0
- package/dist/src/factories/agent_factory.d.ts.map +1 -0
- package/dist/src/factories/agent_factory.js +25 -0
- package/dist/src/factories/agent_factory.js.map +1 -0
- package/dist/src/factories/agent_factory.test.d.ts +2 -0
- package/dist/src/factories/agent_factory.test.d.ts.map +1 -0
- package/dist/src/factories/agent_factory.test.js +199 -0
- package/dist/src/factories/agent_factory.test.js.map +1 -0
- package/dist/src/factories/changelog_factory.d.ts +9 -0
- package/dist/src/factories/changelog_factory.d.ts.map +1 -0
- package/dist/src/factories/changelog_factory.js +46 -0
- package/dist/src/factories/changelog_factory.js.map +1 -0
- package/dist/src/factories/changelog_factory.test.d.ts +2 -0
- package/dist/src/factories/changelog_factory.test.d.ts.map +1 -0
- package/dist/src/factories/changelog_factory.test.js +368 -0
- package/dist/src/factories/changelog_factory.test.js.map +1 -0
- package/dist/src/factories/cycle_factory.d.ts +6 -0
- package/dist/src/factories/cycle_factory.d.ts.map +1 -0
- package/dist/src/factories/cycle_factory.js +28 -0
- package/dist/src/factories/cycle_factory.js.map +1 -0
- package/dist/src/factories/cycle_factory.test.d.ts +2 -0
- package/dist/src/factories/cycle_factory.test.d.ts.map +1 -0
- package/dist/src/factories/cycle_factory.test.js +175 -0
- package/dist/src/factories/cycle_factory.test.js.map +1 -0
- package/dist/src/factories/execution_factory.d.ts +9 -0
- package/dist/src/factories/execution_factory.d.ts.map +1 -0
- package/dist/src/factories/execution_factory.js +29 -0
- package/dist/src/factories/execution_factory.js.map +1 -0
- package/dist/src/factories/execution_factory.test.d.ts +2 -0
- package/dist/src/factories/execution_factory.test.d.ts.map +1 -0
- package/dist/src/factories/execution_factory.test.js +207 -0
- package/dist/src/factories/execution_factory.test.js.map +1 -0
- package/dist/src/factories/feedback_factory.d.ts +9 -0
- package/dist/src/factories/feedback_factory.d.ts.map +1 -0
- package/dist/src/factories/feedback_factory.js +30 -0
- package/dist/src/factories/feedback_factory.js.map +1 -0
- package/dist/src/factories/feedback_factory.test.d.ts +2 -0
- package/dist/src/factories/feedback_factory.test.d.ts.map +1 -0
- package/dist/src/factories/feedback_factory.test.js +256 -0
- package/dist/src/factories/feedback_factory.test.js.map +1 -0
- package/dist/src/factories/index.d.ts +9 -0
- package/dist/src/factories/index.d.ts.map +1 -0
- package/dist/src/factories/index.js +9 -0
- package/dist/src/factories/index.js.map +1 -0
- package/dist/src/factories/task_factory.d.ts +6 -0
- package/dist/src/factories/task_factory.d.ts.map +1 -0
- package/dist/src/factories/task_factory.js +30 -0
- package/dist/src/factories/task_factory.js.map +1 -0
- package/dist/src/factories/task_factory.test.d.ts +2 -0
- package/dist/src/factories/task_factory.test.d.ts.map +1 -0
- package/dist/src/factories/task_factory.test.js +197 -0
- package/dist/src/factories/task_factory.test.js.map +1 -0
- package/dist/src/factories/workflow_methodology_factory.d.ts +11 -0
- package/dist/src/factories/workflow_methodology_factory.d.ts.map +1 -0
- package/dist/src/factories/workflow_methodology_factory.js +173 -0
- package/dist/src/factories/workflow_methodology_factory.js.map +1 -0
- package/dist/src/factories/workflow_methodology_factory.test.d.ts +2 -0
- package/dist/src/factories/workflow_methodology_factory.test.d.ts.map +1 -0
- package/dist/src/factories/workflow_methodology_factory.test.js +244 -0
- package/dist/src/factories/workflow_methodology_factory.test.js.map +1 -0
- package/dist/src/index.d.ts +21 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +23 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/integration/cycles_tasks_integration.test.d.ts +2 -0
- package/dist/src/integration/cycles_tasks_integration.test.d.ts.map +1 -0
- package/dist/src/integration/cycles_tasks_integration.test.js +258 -0
- package/dist/src/integration/cycles_tasks_integration.test.js.map +1 -0
- package/dist/src/integration/schema_integration.test.d.ts +8 -0
- package/dist/src/integration/schema_integration.test.d.ts.map +1 -0
- package/dist/src/integration/schema_integration.test.js +279 -0
- package/dist/src/integration/schema_integration.test.js.map +1 -0
- package/dist/src/logger/index.d.ts +2 -0
- package/dist/src/logger/index.d.ts.map +1 -0
- package/dist/src/logger/index.js +2 -0
- package/dist/src/logger/index.js.map +1 -0
- package/dist/src/logger/logger.d.ts +10 -0
- package/dist/src/logger/logger.d.ts.map +1 -0
- package/dist/src/logger/logger.js +48 -0
- package/dist/src/logger/logger.js.map +1 -0
- package/dist/src/schemas/errors.d.ts +28 -0
- package/dist/src/schemas/errors.d.ts.map +1 -0
- package/dist/src/schemas/errors.js +31 -0
- package/dist/src/schemas/errors.js.map +1 -0
- package/dist/src/schemas/generated/actor_record_schema.json +91 -0
- package/dist/src/schemas/generated/agent_record_schema.json +142 -0
- package/dist/src/schemas/generated/changelog_record_schema.json +227 -0
- package/dist/src/schemas/generated/cycle_record_schema.json +80 -0
- package/dist/src/schemas/generated/embedded_metadata_schema.json +318 -0
- package/dist/src/schemas/generated/execution_record_schema.json +89 -0
- package/dist/src/schemas/generated/feedback_record_schema.json +83 -0
- package/dist/src/schemas/generated/index.d.ts +2221 -0
- package/dist/src/schemas/generated/index.d.ts.map +1 -0
- package/dist/src/schemas/generated/index.js +48 -0
- package/dist/src/schemas/generated/index.js.map +1 -0
- package/dist/src/schemas/generated/task_record_schema.json +103 -0
- package/dist/src/schemas/generated/workflow_methodology_record_schema.json +393 -0
- package/dist/src/schemas/index.d.ts +4 -0
- package/dist/src/schemas/index.d.ts.map +1 -0
- package/dist/src/schemas/index.js +4 -0
- package/dist/src/schemas/index.js.map +1 -0
- package/dist/src/schemas/schema_cache.d.ts +39 -0
- package/dist/src/schemas/schema_cache.d.ts.map +1 -0
- package/dist/src/schemas/schema_cache.js +109 -0
- package/dist/src/schemas/schema_cache.js.map +1 -0
- package/dist/src/schemas/schema_cache.test.d.ts +2 -0
- package/dist/src/schemas/schema_cache.test.d.ts.map +1 -0
- package/dist/src/schemas/schema_cache.test.js +163 -0
- package/dist/src/schemas/schema_cache.test.js.map +1 -0
- package/dist/src/store/index.d.ts +2 -0
- package/dist/src/store/index.d.ts.map +1 -0
- package/dist/src/store/index.js +2 -0
- package/dist/src/store/index.js.map +1 -0
- package/dist/src/store/record_store.d.ts +30 -0
- package/dist/src/store/record_store.d.ts.map +1 -0
- package/dist/src/store/record_store.js +83 -0
- package/dist/src/store/record_store.js.map +1 -0
- package/dist/src/store/record_store.test.d.ts +2 -0
- package/dist/src/store/record_store.test.d.ts.map +1 -0
- package/dist/src/store/record_store.test.js +646 -0
- package/dist/src/store/record_store.test.js.map +1 -0
- package/dist/src/types/common.types.d.ts +43 -0
- package/dist/src/types/common.types.d.ts.map +1 -0
- package/dist/src/types/common.types.js +13 -0
- package/dist/src/types/common.types.js.map +1 -0
- package/dist/src/types/embedded.types.d.ts +17 -0
- package/dist/src/types/embedded.types.d.ts.map +1 -0
- package/dist/src/types/embedded.types.js +2 -0
- package/dist/src/types/embedded.types.js.map +1 -0
- package/dist/src/types/generated/actor_record.d.ts +45 -0
- package/dist/src/types/generated/actor_record.d.ts.map +1 -0
- package/dist/src/types/generated/actor_record.js +7 -0
- package/dist/src/types/generated/actor_record.js.map +1 -0
- package/dist/src/types/generated/agent_record.d.ts +40 -0
- package/dist/src/types/generated/agent_record.d.ts.map +1 -0
- package/dist/src/types/generated/agent_record.js +7 -0
- package/dist/src/types/generated/agent_record.js.map +1 -0
- package/dist/src/types/generated/changelog_record.d.ts +100 -0
- package/dist/src/types/generated/changelog_record.d.ts.map +1 -0
- package/dist/src/types/generated/changelog_record.js +7 -0
- package/dist/src/types/generated/changelog_record.js.map +1 -0
- package/dist/src/types/generated/cycle_record.d.ts +36 -0
- package/dist/src/types/generated/cycle_record.d.ts.map +1 -0
- package/dist/src/types/generated/cycle_record.js +7 -0
- package/dist/src/types/generated/cycle_record.js.map +1 -0
- package/dist/src/types/generated/embedded_metadata.d.ts +94 -0
- package/dist/src/types/generated/embedded_metadata.d.ts.map +1 -0
- package/dist/src/types/generated/embedded_metadata.js +7 -0
- package/dist/src/types/generated/embedded_metadata.js.map +1 -0
- package/dist/src/types/generated/execution_record.d.ts +39 -0
- package/dist/src/types/generated/execution_record.d.ts.map +1 -0
- package/dist/src/types/generated/execution_record.js +7 -0
- package/dist/src/types/generated/execution_record.js.map +1 -0
- package/dist/src/types/generated/feedback_record.d.ts +43 -0
- package/dist/src/types/generated/feedback_record.d.ts.map +1 -0
- package/dist/src/types/generated/feedback_record.js +7 -0
- package/dist/src/types/generated/feedback_record.js.map +1 -0
- package/dist/src/types/generated/index.d.ts +15 -0
- package/dist/src/types/generated/index.d.ts.map +1 -0
- package/dist/src/types/generated/index.js +15 -0
- package/dist/src/types/generated/index.js.map +1 -0
- package/dist/src/types/generated/task_record.d.ts +47 -0
- package/dist/src/types/generated/task_record.d.ts.map +1 -0
- package/dist/src/types/generated/task_record.js +7 -0
- package/dist/src/types/generated/task_record.js.map +1 -0
- package/dist/src/types/generated/workflow_methodology_record.d.ts +211 -0
- package/dist/src/types/generated/workflow_methodology_record.d.ts.map +1 -0
- package/dist/src/types/generated/workflow_methodology_record.js +7 -0
- package/dist/src/types/generated/workflow_methodology_record.js.map +1 -0
- package/dist/src/types/index.d.ts +4 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/index.js +4 -0
- package/dist/src/types/index.js.map +1 -0
- package/dist/src/utils/id_generator.d.ts +44 -0
- package/dist/src/utils/id_generator.d.ts.map +1 -0
- package/dist/src/utils/id_generator.js +107 -0
- package/dist/src/utils/id_generator.js.map +1 -0
- package/dist/src/utils/id_generator.test.d.ts +2 -0
- package/dist/src/utils/id_generator.test.d.ts.map +1 -0
- package/dist/src/utils/id_generator.test.js +100 -0
- package/dist/src/utils/id_generator.test.js.map +1 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/index.js +3 -0
- package/dist/src/utils/index.js.map +1 -0
- package/dist/src/validation/actor_validator.d.ts +21 -0
- package/dist/src/validation/actor_validator.d.ts.map +1 -0
- package/dist/src/validation/actor_validator.js +48 -0
- package/dist/src/validation/actor_validator.js.map +1 -0
- package/dist/src/validation/actor_validator.test.d.ts +2 -0
- package/dist/src/validation/actor_validator.test.d.ts.map +1 -0
- package/dist/src/validation/actor_validator.test.js +83 -0
- package/dist/src/validation/actor_validator.test.js.map +1 -0
- package/dist/src/validation/agent_validator.d.ts +30 -0
- package/dist/src/validation/agent_validator.d.ts.map +1 -0
- package/dist/src/validation/agent_validator.js +66 -0
- package/dist/src/validation/agent_validator.js.map +1 -0
- package/dist/src/validation/agent_validator.test.d.ts +2 -0
- package/dist/src/validation/agent_validator.test.d.ts.map +1 -0
- package/dist/src/validation/agent_validator.test.js +73 -0
- package/dist/src/validation/agent_validator.test.js.map +1 -0
- package/dist/src/validation/changelog_validator.d.ts +23 -0
- package/dist/src/validation/changelog_validator.d.ts.map +1 -0
- package/dist/src/validation/changelog_validator.js +58 -0
- package/dist/src/validation/changelog_validator.js.map +1 -0
- package/dist/src/validation/changelog_validator.test.d.ts +2 -0
- package/dist/src/validation/changelog_validator.test.d.ts.map +1 -0
- package/dist/src/validation/changelog_validator.test.js +401 -0
- package/dist/src/validation/changelog_validator.test.js.map +1 -0
- package/dist/src/validation/common.d.ts +10 -0
- package/dist/src/validation/common.d.ts.map +1 -0
- package/dist/src/validation/common.js +12 -0
- package/dist/src/validation/common.js.map +1 -0
- package/dist/src/validation/cycle_validator.d.ts +24 -0
- package/dist/src/validation/cycle_validator.d.ts.map +1 -0
- package/dist/src/validation/cycle_validator.js +51 -0
- package/dist/src/validation/cycle_validator.js.map +1 -0
- package/dist/src/validation/cycle_validator.test.d.ts +2 -0
- package/dist/src/validation/cycle_validator.test.d.ts.map +1 -0
- package/dist/src/validation/cycle_validator.test.js +182 -0
- package/dist/src/validation/cycle_validator.test.js.map +1 -0
- package/dist/src/validation/embedded_metadata_validator.d.ts +26 -0
- package/dist/src/validation/embedded_metadata_validator.d.ts.map +1 -0
- package/dist/src/validation/embedded_metadata_validator.js +122 -0
- package/dist/src/validation/embedded_metadata_validator.js.map +1 -0
- package/dist/src/validation/embedded_metadata_validator.test.d.ts +2 -0
- package/dist/src/validation/embedded_metadata_validator.test.d.ts.map +1 -0
- package/dist/src/validation/embedded_metadata_validator.test.js +316 -0
- package/dist/src/validation/embedded_metadata_validator.test.js.map +1 -0
- package/dist/src/validation/errors.d.ts +67 -0
- package/dist/src/validation/errors.d.ts.map +1 -0
- package/dist/src/validation/errors.js +83 -0
- package/dist/src/validation/errors.js.map +1 -0
- package/dist/src/validation/execution_validator.d.ts +23 -0
- package/dist/src/validation/execution_validator.d.ts.map +1 -0
- package/dist/src/validation/execution_validator.js +58 -0
- package/dist/src/validation/execution_validator.js.map +1 -0
- package/dist/src/validation/execution_validator.test.d.ts +2 -0
- package/dist/src/validation/execution_validator.test.d.ts.map +1 -0
- package/dist/src/validation/execution_validator.test.js +167 -0
- package/dist/src/validation/execution_validator.test.js.map +1 -0
- package/dist/src/validation/feedback_validator.d.ts +23 -0
- package/dist/src/validation/feedback_validator.d.ts.map +1 -0
- package/dist/src/validation/feedback_validator.js +58 -0
- package/dist/src/validation/feedback_validator.js.map +1 -0
- package/dist/src/validation/feedback_validator.test.d.ts +2 -0
- package/dist/src/validation/feedback_validator.test.d.ts.map +1 -0
- package/dist/src/validation/feedback_validator.test.js +131 -0
- package/dist/src/validation/feedback_validator.test.js.map +1 -0
- package/dist/src/validation/index.d.ts +11 -0
- package/dist/src/validation/index.d.ts.map +1 -0
- package/dist/src/validation/index.js +10 -0
- package/dist/src/validation/index.js.map +1 -0
- package/dist/src/validation/task_validator.d.ts +24 -0
- package/dist/src/validation/task_validator.d.ts.map +1 -0
- package/dist/src/validation/task_validator.js +50 -0
- package/dist/src/validation/task_validator.js.map +1 -0
- package/dist/src/validation/task_validator.test.d.ts +2 -0
- package/dist/src/validation/task_validator.test.d.ts.map +1 -0
- package/dist/src/validation/task_validator.test.js +185 -0
- package/dist/src/validation/task_validator.test.js.map +1 -0
- package/dist/src/validation/workflow_methodology_validator.d.ts +32 -0
- package/dist/src/validation/workflow_methodology_validator.d.ts.map +1 -0
- package/dist/src/validation/workflow_methodology_validator.js +91 -0
- package/dist/src/validation/workflow_methodology_validator.js.map +1 -0
- package/dist/src/validation/workflow_methodology_validator.test.d.ts +2 -0
- package/dist/src/validation/workflow_methodology_validator.test.d.ts.map +1 -0
- package/dist/src/validation/workflow_methodology_validator.test.js +229 -0
- package/dist/src/validation/workflow_methodology_validator.test.js.map +1 -0
- package/package.json +63 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/generated/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GitGovernance Protocol Schemas
|
|
3
|
+
*
|
|
4
|
+
* Auto-generated from blueprints. Do not edit manually.
|
|
5
|
+
* Run 'pnpm sync:schemas' to update.
|
|
6
|
+
*/
|
|
7
|
+
import actorRecordSchema from "./actor_record_schema.json";
|
|
8
|
+
import agentRecordSchema from "./agent_record_schema.json";
|
|
9
|
+
import changelogRecordSchema from "./changelog_record_schema.json";
|
|
10
|
+
import cycleRecordSchema from "./cycle_record_schema.json";
|
|
11
|
+
import embeddedMetadataSchema from "./embedded_metadata_schema.json";
|
|
12
|
+
import executionRecordSchema from "./execution_record_schema.json";
|
|
13
|
+
import feedbackRecordSchema from "./feedback_record_schema.json";
|
|
14
|
+
import taskRecordSchema from "./task_record_schema.json";
|
|
15
|
+
import workflowMethodologyRecordSchema from "./workflow_methodology_record_schema.json";
|
|
16
|
+
/**
|
|
17
|
+
* All GitGovernance protocol schemas
|
|
18
|
+
*/
|
|
19
|
+
export const Schemas = {
|
|
20
|
+
ActorRecord: actorRecordSchema,
|
|
21
|
+
AgentRecord: agentRecordSchema,
|
|
22
|
+
ChangelogRecord: changelogRecordSchema,
|
|
23
|
+
CycleRecord: cycleRecordSchema,
|
|
24
|
+
EmbeddedMetadata: embeddedMetadataSchema,
|
|
25
|
+
ExecutionRecord: executionRecordSchema,
|
|
26
|
+
FeedbackRecord: feedbackRecordSchema,
|
|
27
|
+
TaskRecord: taskRecordSchema,
|
|
28
|
+
WorkflowMethodologyRecord: workflowMethodologyRecordSchema,
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Get a schema by name
|
|
32
|
+
*/
|
|
33
|
+
export function getSchema(name) {
|
|
34
|
+
return Schemas[name];
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Get all schema names
|
|
38
|
+
*/
|
|
39
|
+
export function getSchemaNames() {
|
|
40
|
+
return Object.keys(Schemas);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Check if a schema exists
|
|
44
|
+
*/
|
|
45
|
+
export function hasSchema(name) {
|
|
46
|
+
return name in Schemas;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schemas/generated/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,iBAAiB,MAAM,4BAA4B,CAAC;AAC3D,OAAO,iBAAiB,MAAM,4BAA4B,CAAC;AAC3D,OAAO,qBAAqB,MAAM,gCAAgC,CAAC;AACnE,OAAO,iBAAiB,MAAM,4BAA4B,CAAC;AAC3D,OAAO,sBAAsB,MAAM,iCAAiC,CAAC;AACrE,OAAO,qBAAqB,MAAM,gCAAgC,CAAC;AACnE,OAAO,oBAAoB,MAAM,+BAA+B,CAAC;AACjE,OAAO,gBAAgB,MAAM,2BAA2B,CAAC;AACzD,OAAO,+BAA+B,MAAM,2CAA2C,CAAC;AAExF;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,iBAAiB;IAC9B,eAAe,EAAE,qBAAqB;IACtC,WAAW,EAAE,iBAAiB;IAC9B,gBAAgB,EAAE,sBAAsB;IACxC,eAAe,EAAE,qBAAqB;IACtC,cAAc,EAAE,oBAAoB;IACpC,UAAU,EAAE,gBAAgB;IAC5B,yBAAyB,EAAE,+BAA+B;CAClD,CAAC;AAgBX;;GAEG;AACH,MAAM,UAAU,SAAS,CAAC,IAAgB;IACxC,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;AACvB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAiB,CAAC;AAC9C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,SAAS,CAAC,IAAY;IACpC,OAAO,IAAI,IAAI,OAAO,CAAC;AACzB,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "task_record_schema.json",
|
|
4
|
+
"title": "TaskRecord",
|
|
5
|
+
"description": "Canonical schema for task records as defined in task_protocol.md",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": [
|
|
9
|
+
"id",
|
|
10
|
+
"title",
|
|
11
|
+
"status",
|
|
12
|
+
"priority",
|
|
13
|
+
"description",
|
|
14
|
+
"tags"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"pattern": "^\\d{10}-task-[a-z0-9-]{1,50}$",
|
|
20
|
+
"maxLength": 70,
|
|
21
|
+
"description": "Unique identifier for the task",
|
|
22
|
+
"examples": [
|
|
23
|
+
"1752274500-task-implementar-auth",
|
|
24
|
+
"1752347700-task-fix-logging"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"title": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 3,
|
|
30
|
+
"maxLength": 150,
|
|
31
|
+
"description": "A brief, human-readable title for the task. Used to generate the ID slug."
|
|
32
|
+
},
|
|
33
|
+
"cycleIds": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"pattern": "^\\d{10}-cycle-[a-z0-9-]{1,50}$"
|
|
38
|
+
},
|
|
39
|
+
"description": "Optional. The IDs of the strategic cycles this task belongs to."
|
|
40
|
+
},
|
|
41
|
+
"status": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"draft",
|
|
45
|
+
"review",
|
|
46
|
+
"ready",
|
|
47
|
+
"active",
|
|
48
|
+
"done",
|
|
49
|
+
"archived",
|
|
50
|
+
"paused",
|
|
51
|
+
"discarded"
|
|
52
|
+
],
|
|
53
|
+
"maxLength": 40,
|
|
54
|
+
"description": "Current state of the task in the institutional flow"
|
|
55
|
+
},
|
|
56
|
+
"priority": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"enum": [
|
|
59
|
+
"low",
|
|
60
|
+
"medium",
|
|
61
|
+
"high",
|
|
62
|
+
"critical"
|
|
63
|
+
],
|
|
64
|
+
"maxLength": 40,
|
|
65
|
+
"description": "Strategic or tactical priority level"
|
|
66
|
+
},
|
|
67
|
+
"description": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"minLength": 10,
|
|
70
|
+
"maxLength": 22000,
|
|
71
|
+
"description": "Functional, technical or strategic summary of the objective"
|
|
72
|
+
},
|
|
73
|
+
"tags": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"pattern": "^[a-z0-9-]+(:[a-z0-9-:]+)*$"
|
|
78
|
+
},
|
|
79
|
+
"description": "List of key:value tags for categorization and role suggestion (e.g., 'skill:react', 'role:agent:developer'). Can be an empty array."
|
|
80
|
+
},
|
|
81
|
+
"references": {
|
|
82
|
+
"type": "array",
|
|
83
|
+
"items": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"maxLength": 500
|
|
86
|
+
},
|
|
87
|
+
"description": "Valid links or files, when mentioned"
|
|
88
|
+
},
|
|
89
|
+
"notes": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"maxLength": 3000,
|
|
92
|
+
"description": "Additional comments, decisions made or added context"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"examples": [
|
|
96
|
+
{
|
|
97
|
+
"id": "1752274500-task-implementar-adapter-github",
|
|
98
|
+
"status": "in_progress",
|
|
99
|
+
"priority": "high",
|
|
100
|
+
"description": "Implementar adapter completo para GitHub Issues como TaskLifecycle Store"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "workflow_methodology_schema.json",
|
|
4
|
+
"title": "WorkflowMethodologyRecord",
|
|
5
|
+
"description": "Complete schema for workflow methodology configuration files that define state transitions, signatures, and view configurations",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"version",
|
|
9
|
+
"name",
|
|
10
|
+
"state_transitions"
|
|
11
|
+
],
|
|
12
|
+
"additionalProperties": false,
|
|
13
|
+
"properties": {
|
|
14
|
+
"$schema": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "JSON Schema reference"
|
|
17
|
+
},
|
|
18
|
+
"version": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
21
|
+
"description": "Semantic version of the methodology configuration"
|
|
22
|
+
},
|
|
23
|
+
"name": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1,
|
|
26
|
+
"maxLength": 100,
|
|
27
|
+
"description": "Human-readable name of the methodology"
|
|
28
|
+
},
|
|
29
|
+
"description": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"maxLength": 500,
|
|
32
|
+
"description": "Brief description of the methodology's purpose and scope"
|
|
33
|
+
},
|
|
34
|
+
"state_transitions": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"description": "Defines valid state transitions and their requirements",
|
|
37
|
+
"additionalProperties": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"required": [
|
|
40
|
+
"from",
|
|
41
|
+
"requires"
|
|
42
|
+
],
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"properties": {
|
|
45
|
+
"from": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"draft",
|
|
51
|
+
"review",
|
|
52
|
+
"ready",
|
|
53
|
+
"active",
|
|
54
|
+
"done",
|
|
55
|
+
"archived",
|
|
56
|
+
"paused",
|
|
57
|
+
"discarded"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"minItems": 1,
|
|
61
|
+
"description": "Valid source states for this transition"
|
|
62
|
+
},
|
|
63
|
+
"requires": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"properties": {
|
|
67
|
+
"command": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "CLI command that triggers this transition"
|
|
70
|
+
},
|
|
71
|
+
"event": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"description": "System event that triggers this transition"
|
|
74
|
+
},
|
|
75
|
+
"signatures": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"description": "Signature requirements keyed by guild",
|
|
78
|
+
"additionalProperties": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"required": [
|
|
81
|
+
"role",
|
|
82
|
+
"capability_roles",
|
|
83
|
+
"min_approvals"
|
|
84
|
+
],
|
|
85
|
+
"additionalProperties": false,
|
|
86
|
+
"properties": {
|
|
87
|
+
"role": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Required signature role"
|
|
90
|
+
},
|
|
91
|
+
"capability_roles": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"minItems": 1,
|
|
97
|
+
"description": "Required capability roles in actor record"
|
|
98
|
+
},
|
|
99
|
+
"min_approvals": {
|
|
100
|
+
"type": "integer",
|
|
101
|
+
"minimum": 1,
|
|
102
|
+
"description": "Minimum number of required approvals"
|
|
103
|
+
},
|
|
104
|
+
"actor_type": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"enum": [
|
|
107
|
+
"human",
|
|
108
|
+
"agent"
|
|
109
|
+
],
|
|
110
|
+
"description": "Optional: restrict to specific actor type"
|
|
111
|
+
},
|
|
112
|
+
"specific_actors": {
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"description": "Optional: specific actors that can sign"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"custom_rules": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"items": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
"description": "List of custom rule identifiers to validate"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"custom_rules": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"description": "Definitions for custom validation rules",
|
|
137
|
+
"additionalProperties": {
|
|
138
|
+
"type": "object",
|
|
139
|
+
"required": [
|
|
140
|
+
"description",
|
|
141
|
+
"validation"
|
|
142
|
+
],
|
|
143
|
+
"additionalProperties": false,
|
|
144
|
+
"properties": {
|
|
145
|
+
"description": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"maxLength": 200,
|
|
148
|
+
"description": "Human-readable description of the rule"
|
|
149
|
+
},
|
|
150
|
+
"validation": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"enum": [
|
|
153
|
+
"assignment_required",
|
|
154
|
+
"sprint_capacity",
|
|
155
|
+
"epic_complexity",
|
|
156
|
+
"custom",
|
|
157
|
+
"javascript"
|
|
158
|
+
],
|
|
159
|
+
"description": "Validation type identifier"
|
|
160
|
+
},
|
|
161
|
+
"parameters": {
|
|
162
|
+
"type": "object",
|
|
163
|
+
"description": "Optional parameters for the validation rule"
|
|
164
|
+
},
|
|
165
|
+
"javascript_function": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "JavaScript function code for 'javascript' validation type. Must return Promise<boolean>"
|
|
168
|
+
},
|
|
169
|
+
"module_path": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"description": "Path to external module for custom validation (alternative to javascript_function)"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"view_configs": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"description": "Visual representation configurations for different view types",
|
|
179
|
+
"additionalProperties": {
|
|
180
|
+
"type": "object",
|
|
181
|
+
"required": [
|
|
182
|
+
"columns"
|
|
183
|
+
],
|
|
184
|
+
"additionalProperties": false,
|
|
185
|
+
"properties": {
|
|
186
|
+
"columns": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"description": "Column definitions mapping visual names to task states",
|
|
189
|
+
"additionalProperties": {
|
|
190
|
+
"type": "array",
|
|
191
|
+
"items": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"enum": [
|
|
194
|
+
"draft",
|
|
195
|
+
"review",
|
|
196
|
+
"ready",
|
|
197
|
+
"active",
|
|
198
|
+
"done",
|
|
199
|
+
"archived",
|
|
200
|
+
"paused",
|
|
201
|
+
"discarded"
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
"minItems": 1
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"theme": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"enum": [
|
|
210
|
+
"default",
|
|
211
|
+
"dark",
|
|
212
|
+
"minimal",
|
|
213
|
+
"corporate"
|
|
214
|
+
],
|
|
215
|
+
"description": "Visual theme for this view configuration"
|
|
216
|
+
},
|
|
217
|
+
"layout": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"enum": [
|
|
220
|
+
"horizontal",
|
|
221
|
+
"vertical",
|
|
222
|
+
"grid"
|
|
223
|
+
],
|
|
224
|
+
"description": "Layout direction for the view"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"agent_integration": {
|
|
230
|
+
"type": "object",
|
|
231
|
+
"description": "Optional agent automation configuration for methodology",
|
|
232
|
+
"additionalProperties": false,
|
|
233
|
+
"properties": {
|
|
234
|
+
"description": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"maxLength": 200,
|
|
237
|
+
"description": "Brief description of the agent integration"
|
|
238
|
+
},
|
|
239
|
+
"required_agents": {
|
|
240
|
+
"type": "array",
|
|
241
|
+
"description": "List of agents required for this methodology",
|
|
242
|
+
"items": {
|
|
243
|
+
"type": "object",
|
|
244
|
+
"required": [
|
|
245
|
+
"id",
|
|
246
|
+
"gremio",
|
|
247
|
+
"engine"
|
|
248
|
+
],
|
|
249
|
+
"additionalProperties": false,
|
|
250
|
+
"properties": {
|
|
251
|
+
"id": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"pattern": "^agent:[a-z0-9:-]+$",
|
|
254
|
+
"description": "Unique agent identifier"
|
|
255
|
+
},
|
|
256
|
+
"gremio": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"enum": [
|
|
259
|
+
"design",
|
|
260
|
+
"intelligence",
|
|
261
|
+
"strategy",
|
|
262
|
+
"operations",
|
|
263
|
+
"quality"
|
|
264
|
+
],
|
|
265
|
+
"description": "Agent guild classification"
|
|
266
|
+
},
|
|
267
|
+
"engine": {
|
|
268
|
+
"type": "object",
|
|
269
|
+
"oneOf": [
|
|
270
|
+
{
|
|
271
|
+
"required": [
|
|
272
|
+
"type"
|
|
273
|
+
],
|
|
274
|
+
"properties": {
|
|
275
|
+
"type": {
|
|
276
|
+
"const": "local"
|
|
277
|
+
},
|
|
278
|
+
"runtime": {
|
|
279
|
+
"type": "string"
|
|
280
|
+
},
|
|
281
|
+
"entrypoint": {
|
|
282
|
+
"type": "string"
|
|
283
|
+
},
|
|
284
|
+
"function": {
|
|
285
|
+
"type": "string"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"required": [
|
|
291
|
+
"type"
|
|
292
|
+
],
|
|
293
|
+
"properties": {
|
|
294
|
+
"type": {
|
|
295
|
+
"const": "api"
|
|
296
|
+
},
|
|
297
|
+
"url": {
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
"method": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"enum": [
|
|
303
|
+
"POST",
|
|
304
|
+
"GET"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
"auth": {
|
|
308
|
+
"type": "object"
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"required": [
|
|
314
|
+
"type"
|
|
315
|
+
],
|
|
316
|
+
"properties": {
|
|
317
|
+
"type": {
|
|
318
|
+
"const": "mcp"
|
|
319
|
+
},
|
|
320
|
+
"url": {
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
"auth": {
|
|
324
|
+
"type": "object"
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
"triggers": {
|
|
331
|
+
"type": "array",
|
|
332
|
+
"description": "Event triggers for this agent",
|
|
333
|
+
"items": {
|
|
334
|
+
"type": "object",
|
|
335
|
+
"required": [
|
|
336
|
+
"event",
|
|
337
|
+
"action"
|
|
338
|
+
],
|
|
339
|
+
"additionalProperties": false,
|
|
340
|
+
"properties": {
|
|
341
|
+
"event": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"description": "Event that triggers the agent"
|
|
344
|
+
},
|
|
345
|
+
"action": {
|
|
346
|
+
"type": "string",
|
|
347
|
+
"description": "Action the agent should perform"
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"knowledge_dependencies": {
|
|
353
|
+
"type": "array",
|
|
354
|
+
"description": "Knowledge files this agent depends on",
|
|
355
|
+
"items": {
|
|
356
|
+
"type": "string"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"automation_rules": {
|
|
363
|
+
"type": "array",
|
|
364
|
+
"description": "Automation rules linking triggers to agents",
|
|
365
|
+
"items": {
|
|
366
|
+
"type": "object",
|
|
367
|
+
"required": [
|
|
368
|
+
"trigger",
|
|
369
|
+
"agent",
|
|
370
|
+
"action"
|
|
371
|
+
],
|
|
372
|
+
"additionalProperties": false,
|
|
373
|
+
"properties": {
|
|
374
|
+
"trigger": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"description": "Event or condition that triggers automation"
|
|
377
|
+
},
|
|
378
|
+
"agent": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"pattern": "^agent:[a-z0-9:-]+$",
|
|
381
|
+
"description": "Agent ID that handles this automation"
|
|
382
|
+
},
|
|
383
|
+
"action": {
|
|
384
|
+
"type": "string",
|
|
385
|
+
"description": "Specific action the agent should perform"
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ValidateFunction } from "ajv";
|
|
2
|
+
/**
|
|
3
|
+
* Singleton cache for schema validators to avoid repeated I/O and AJV compilation.
|
|
4
|
+
* Improves performance by caching compiled validators for schema files.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SchemaValidationCache {
|
|
7
|
+
private static validators;
|
|
8
|
+
private static schemaValidators;
|
|
9
|
+
private static ajv;
|
|
10
|
+
/**
|
|
11
|
+
* Gets or creates a cached validator for the specified schema path.
|
|
12
|
+
* @param schemaPath Absolute path to the YAML schema file
|
|
13
|
+
* @returns Compiled AJV validator function
|
|
14
|
+
*/
|
|
15
|
+
static getValidator(schemaPath: string): ValidateFunction;
|
|
16
|
+
/**
|
|
17
|
+
* Gets or creates a cached validator for a schema object.
|
|
18
|
+
* @param schema The schema object (already parsed YAML/JSON)
|
|
19
|
+
* @returns Compiled AJV validator function
|
|
20
|
+
*/
|
|
21
|
+
static getValidatorFromSchema<T = unknown>(schema: object): ValidateFunction<T>;
|
|
22
|
+
/**
|
|
23
|
+
* Pre-loads referenced schema files for $ref resolution.
|
|
24
|
+
* Uses direct imports and dynamic iteration.
|
|
25
|
+
*/
|
|
26
|
+
private static preloadSchemas;
|
|
27
|
+
/**
|
|
28
|
+
* Clears the cache (useful for testing or schema updates).
|
|
29
|
+
*/
|
|
30
|
+
static clearCache(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Gets cache statistics for monitoring.
|
|
33
|
+
*/
|
|
34
|
+
static getCacheStats(): {
|
|
35
|
+
cachedSchemas: number;
|
|
36
|
+
schemasLoaded: string[];
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=schema_cache.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema_cache.d.ts","sourceRoot":"","sources":["../../../src/schemas/schema_cache.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAQ5C;;;GAGG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAuC;IAChE,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAuC;IACtE,OAAO,CAAC,MAAM,CAAC,GAAG,CAAoB;IAEtC;;;;OAIG;IACH,MAAM,CAAC,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,gBAAgB;IAmBzD;;;;OAIG;IACH,MAAM,CAAC,sBAAsB,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,gBAAgB,CAAC,CAAC,CAAC;IA0B/E;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;IA4B7B;;OAEG;IACH,MAAM,CAAC,UAAU,IAAI,IAAI;IAMzB;;OAEG;IACH,MAAM,CAAC,aAAa,IAAI;QAAE,aAAa,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,EAAE,CAAA;KAAE;CAM3E"}
|