octocode-cli 1.2.5 → 1.2.7
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/LICENSE +21 -63
- package/README.md +86 -109
- package/out/octocode-cli.js +7027 -7014
- package/package.json +8 -6
- package/skills/README.md +97 -120
- package/skills/octocode-code-engineer/.claude/settings.local.json +18 -0
- package/skills/octocode-code-engineer/.octocode/rfc/RFC-code-engineer-weakness-fixes.md +255 -0
- package/skills/octocode-code-engineer/.plan/VALIDATED_PLAN.md +223 -0
- package/skills/octocode-code-engineer/README.md +178 -0
- package/skills/octocode-code-engineer/SKILL.md +418 -0
- package/skills/octocode-code-engineer/coverage/architecture.ts.html +7828 -0
- package/skills/octocode-code-engineer/coverage/ast-helpers.ts.html +211 -0
- package/skills/octocode-code-engineer/coverage/ast-search.ts.html +1795 -0
- package/skills/octocode-code-engineer/coverage/base.css +224 -0
- package/skills/octocode-code-engineer/coverage/block-navigation.js +87 -0
- package/skills/octocode-code-engineer/coverage/cache.ts.html +376 -0
- package/skills/octocode-code-engineer/coverage/cli.ts.html +982 -0
- package/skills/octocode-code-engineer/coverage/clover.xml +3217 -0
- package/skills/octocode-code-engineer/coverage/collect-effects.ts.html +664 -0
- package/skills/octocode-code-engineer/coverage/collect-input-sources.ts.html +577 -0
- package/skills/octocode-code-engineer/coverage/collect-performance.ts.html +331 -0
- package/skills/octocode-code-engineer/coverage/collect-prototype-pollution.ts.html +421 -0
- package/skills/octocode-code-engineer/coverage/collect-security.ts.html +604 -0
- package/skills/octocode-code-engineer/coverage/collect-test-profile.ts.html +589 -0
- package/skills/octocode-code-engineer/coverage/coverage-final.json +30 -0
- package/skills/octocode-code-engineer/coverage/dependencies.ts.html +997 -0
- package/skills/octocode-code-engineer/coverage/dependency-summary.ts.html +688 -0
- package/skills/octocode-code-engineer/coverage/discovery.ts.html +322 -0
- package/skills/octocode-code-engineer/coverage/favicon.png +0 -0
- package/skills/octocode-code-engineer/coverage/graph-analytics.ts.html +1510 -0
- package/skills/octocode-code-engineer/coverage/index.html +536 -0
- package/skills/octocode-code-engineer/coverage/index.ts.html +826 -0
- package/skills/octocode-code-engineer/coverage/metrics.ts.html +553 -0
- package/skills/octocode-code-engineer/coverage/pipeline.ts.html +2044 -0
- package/skills/octocode-code-engineer/coverage/prettify.css +1 -0
- package/skills/octocode-code-engineer/coverage/prettify.js +2 -0
- package/skills/octocode-code-engineer/coverage/report-analysis.ts.html +1570 -0
- package/skills/octocode-code-engineer/coverage/report-writer.ts.html +1102 -0
- package/skills/octocode-code-engineer/coverage/security-detectors.ts.html +1747 -0
- package/skills/octocode-code-engineer/coverage/semantic-detectors.ts.html +2152 -0
- package/skills/octocode-code-engineer/coverage/semantic.ts.html +1897 -0
- package/skills/octocode-code-engineer/coverage/sort-arrow-sprite.png +0 -0
- package/skills/octocode-code-engineer/coverage/sorter.js +210 -0
- package/skills/octocode-code-engineer/coverage/summary-md.ts.html +1222 -0
- package/skills/octocode-code-engineer/coverage/test-quality-detectors.ts.html +1039 -0
- package/skills/octocode-code-engineer/coverage/tree-sitter-analyzer.ts.html +955 -0
- package/skills/octocode-code-engineer/coverage/ts-analyzer.ts.html +1213 -0
- package/skills/octocode-code-engineer/coverage/types.ts.html +2473 -0
- package/skills/octocode-code-engineer/coverage/utils.ts.html +820 -0
- package/skills/octocode-code-engineer/eslint.config.mjs +54 -0
- package/skills/octocode-code-engineer/minify-scripts.mjs +32 -0
- package/skills/octocode-code-engineer/package.json +54 -0
- package/skills/octocode-code-engineer/references/agent-ast-reading-rfc.md +95 -0
- package/skills/octocode-code-engineer/references/architecture-techniques.md +121 -0
- package/skills/octocode-code-engineer/references/ast-search.md +210 -0
- package/skills/octocode-code-engineer/references/ast-tree-search.md +151 -0
- package/skills/octocode-code-engineer/references/cli-reference.md +167 -0
- package/skills/octocode-code-engineer/references/concepts.md +107 -0
- package/skills/octocode-code-engineer/references/finding-categories.md +128 -0
- package/skills/octocode-code-engineer/references/improvement-roadmap.md +304 -0
- package/skills/octocode-code-engineer/references/output-files.md +144 -0
- package/skills/octocode-code-engineer/references/playbooks.md +204 -0
- package/skills/octocode-code-engineer/references/present-results.md +136 -0
- package/skills/octocode-code-engineer/references/tool-workflows.md +566 -0
- package/skills/octocode-code-engineer/references/validate-investigate.md +225 -0
- package/skills/octocode-code-engineer/scripts/analysis/dependencies.js +1 -0
- package/skills/octocode-code-engineer/scripts/analysis/dependency-summary.js +1 -0
- package/skills/octocode-code-engineer/scripts/analysis/discovery.js +1 -0
- package/skills/octocode-code-engineer/scripts/analysis/graph-analytics.js +1 -0
- package/skills/octocode-code-engineer/scripts/analysis/semantic.js +1 -0
- package/skills/octocode-code-engineer/scripts/ast/helpers.js +1 -0
- package/skills/octocode-code-engineer/scripts/ast/metrics.js +1 -0
- package/skills/octocode-code-engineer/scripts/ast/search.js +2 -0
- package/skills/octocode-code-engineer/scripts/ast/tree-search.js +2 -0
- package/skills/octocode-code-engineer/scripts/ast/tree-sitter.js +1 -0
- package/skills/octocode-code-engineer/scripts/ast/ts-analyzer.js +1 -0
- package/skills/octocode-code-engineer/scripts/collectors/chains.js +1 -0
- package/skills/octocode-code-engineer/scripts/collectors/effects.js +1 -0
- package/skills/octocode-code-engineer/scripts/collectors/input-sources.js +1 -0
- package/skills/octocode-code-engineer/scripts/collectors/performance.js +1 -0
- package/skills/octocode-code-engineer/scripts/collectors/prototype-pollution.js +1 -0
- package/skills/octocode-code-engineer/scripts/collectors/security.js +1 -0
- package/skills/octocode-code-engineer/scripts/collectors/test-profile.js +1 -0
- package/skills/octocode-code-engineer/scripts/common/is-direct-run.js +1 -0
- package/skills/octocode-code-engineer/scripts/common/utils.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/code-quality.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/cohesion.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/coupling.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/cycle.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/dead-code.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/import-style.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/index.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/security.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/semantic.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/shared.js +1 -0
- package/skills/octocode-code-engineer/scripts/detectors/test-quality.js +1 -0
- package/skills/octocode-code-engineer/scripts/index.js +1 -0
- package/skills/octocode-code-engineer/scripts/pipeline/cache.js +1 -0
- package/skills/octocode-code-engineer/scripts/pipeline/cli.js +1 -0
- package/skills/octocode-code-engineer/scripts/pipeline/main.js +2 -0
- package/skills/octocode-code-engineer/scripts/reporting/analysis.js +1 -0
- package/skills/octocode-code-engineer/scripts/reporting/summary-md.js +1 -0
- package/skills/octocode-code-engineer/scripts/reporting/writer.js +1 -0
- package/skills/octocode-code-engineer/scripts/types/constants.js +1 -0
- package/skills/octocode-code-engineer/scripts/types/index.js +1 -0
- package/skills/octocode-code-engineer/scripts/types/interfaces.js +1 -0
- package/skills/octocode-code-engineer/src/analysis/dependencies.test.ts +545 -0
- package/skills/octocode-code-engineer/src/analysis/dependencies.ts +406 -0
- package/skills/octocode-code-engineer/src/analysis/dependency-summary.test.ts +566 -0
- package/skills/octocode-code-engineer/src/analysis/dependency-summary.ts +257 -0
- package/skills/octocode-code-engineer/src/analysis/discovery.test.ts +420 -0
- package/skills/octocode-code-engineer/src/analysis/discovery.ts +87 -0
- package/skills/octocode-code-engineer/src/analysis/graph-analytics.test.ts +449 -0
- package/skills/octocode-code-engineer/src/analysis/graph-analytics.ts +534 -0
- package/skills/octocode-code-engineer/src/analysis/semantic.test.ts +1533 -0
- package/skills/octocode-code-engineer/src/analysis/semantic.ts +830 -0
- package/skills/octocode-code-engineer/src/ast/helpers.test.ts +185 -0
- package/skills/octocode-code-engineer/src/ast/helpers.ts +62 -0
- package/skills/octocode-code-engineer/src/ast/metrics.test.ts +304 -0
- package/skills/octocode-code-engineer/src/ast/metrics.ts +204 -0
- package/skills/octocode-code-engineer/src/ast/search.test.ts +647 -0
- package/skills/octocode-code-engineer/src/ast/search.ts +648 -0
- package/skills/octocode-code-engineer/src/ast/tree-search.test.ts +199 -0
- package/skills/octocode-code-engineer/src/ast/tree-search.ts +392 -0
- package/skills/octocode-code-engineer/src/ast/tree-sitter.test.ts +407 -0
- package/skills/octocode-code-engineer/src/ast/tree-sitter.ts +402 -0
- package/skills/octocode-code-engineer/src/ast/ts-analyzer.test.ts +1864 -0
- package/skills/octocode-code-engineer/src/ast/ts-analyzer.ts +509 -0
- package/skills/octocode-code-engineer/src/collectors/chains.ts +74 -0
- package/skills/octocode-code-engineer/src/collectors/effects.test.ts +490 -0
- package/skills/octocode-code-engineer/src/collectors/effects.ts +332 -0
- package/skills/octocode-code-engineer/src/collectors/input-sources.test.ts +144 -0
- package/skills/octocode-code-engineer/src/collectors/input-sources.ts +196 -0
- package/skills/octocode-code-engineer/src/collectors/performance.test.ts +82 -0
- package/skills/octocode-code-engineer/src/collectors/performance.ts +141 -0
- package/skills/octocode-code-engineer/src/collectors/prototype-pollution.test.ts +55 -0
- package/skills/octocode-code-engineer/src/collectors/prototype-pollution.ts +162 -0
- package/skills/octocode-code-engineer/src/collectors/security.test.ts +124 -0
- package/skills/octocode-code-engineer/src/collectors/security.ts +309 -0
- package/skills/octocode-code-engineer/src/collectors/test-profile.test.ts +97 -0
- package/skills/octocode-code-engineer/src/collectors/test-profile.ts +269 -0
- package/skills/octocode-code-engineer/src/common/is-direct-run.test.ts +32 -0
- package/skills/octocode-code-engineer/src/common/is-direct-run.ts +13 -0
- package/skills/octocode-code-engineer/src/common/utils.test.ts +463 -0
- package/skills/octocode-code-engineer/src/common/utils.ts +304 -0
- package/skills/octocode-code-engineer/src/detectors/code-quality.ts +966 -0
- package/skills/octocode-code-engineer/src/detectors/cohesion.ts +539 -0
- package/skills/octocode-code-engineer/src/detectors/coupling.ts +323 -0
- package/skills/octocode-code-engineer/src/detectors/cycle.ts +349 -0
- package/skills/octocode-code-engineer/src/detectors/dead-code.ts +320 -0
- package/skills/octocode-code-engineer/src/detectors/import-style.ts +376 -0
- package/skills/octocode-code-engineer/src/detectors/index.test.ts +3061 -0
- package/skills/octocode-code-engineer/src/detectors/index.ts +88 -0
- package/skills/octocode-code-engineer/src/detectors/security.test.ts +882 -0
- package/skills/octocode-code-engineer/src/detectors/security.ts +821 -0
- package/skills/octocode-code-engineer/src/detectors/semantic.ts +758 -0
- package/skills/octocode-code-engineer/src/detectors/shared.ts +49 -0
- package/skills/octocode-code-engineer/src/detectors/test-quality.test.ts +388 -0
- package/skills/octocode-code-engineer/src/detectors/test-quality.ts +367 -0
- package/skills/octocode-code-engineer/src/index.test.ts +4425 -0
- package/skills/octocode-code-engineer/src/index.ts +403 -0
- package/skills/octocode-code-engineer/src/pipeline/cache.test.ts +199 -0
- package/skills/octocode-code-engineer/src/pipeline/cache.ts +130 -0
- package/skills/octocode-code-engineer/src/pipeline/cli.test.ts +493 -0
- package/skills/octocode-code-engineer/src/pipeline/cli.ts +344 -0
- package/skills/octocode-code-engineer/src/pipeline/main.test.ts +174 -0
- package/skills/octocode-code-engineer/src/pipeline/main.ts +1074 -0
- package/skills/octocode-code-engineer/src/pipeline.test.ts +84 -0
- package/skills/octocode-code-engineer/src/reporting/analysis.test.ts +782 -0
- package/skills/octocode-code-engineer/src/reporting/analysis.ts +688 -0
- package/skills/octocode-code-engineer/src/reporting/output-contract.test.ts +463 -0
- package/skills/octocode-code-engineer/src/reporting/summary-md.test.ts +421 -0
- package/skills/octocode-code-engineer/src/reporting/summary-md.ts +714 -0
- package/skills/octocode-code-engineer/src/reporting/writer.ts +430 -0
- package/skills/octocode-code-engineer/src/sanity.test.ts +47 -0
- package/skills/octocode-code-engineer/src/types/constants.ts +248 -0
- package/skills/octocode-code-engineer/src/types/index.ts +80 -0
- package/skills/octocode-code-engineer/src/types/interfaces.ts +682 -0
- package/skills/octocode-code-engineer/tsconfig.json +17 -0
- package/skills/octocode-code-engineer/vitest.config.ts +8 -0
- package/skills/octocode-documentation-writer/README.md +113 -0
- package/skills/octocode-documentation-writer/SKILL.md +886 -0
- package/skills/octocode-documentation-writer/references/agent-discovery-analysis.md +453 -0
- package/skills/octocode-documentation-writer/references/agent-documentation-writer.md +255 -0
- package/skills/octocode-documentation-writer/references/agent-engineer-questions.md +247 -0
- package/skills/octocode-documentation-writer/references/agent-orchestrator.md +370 -0
- package/skills/octocode-documentation-writer/references/agent-qa-validator.md +227 -0
- package/skills/octocode-documentation-writer/references/agent-researcher.md +250 -0
- package/skills/octocode-documentation-writer/schemas/analysis-schema.json +886 -0
- package/skills/octocode-documentation-writer/schemas/discovery-tasks.json +96 -0
- package/skills/octocode-documentation-writer/schemas/documentation-structure.json +373 -0
- package/skills/octocode-documentation-writer/schemas/partial-discovery-schema.json +102 -0
- package/skills/octocode-documentation-writer/schemas/partial-research-schema.json +98 -0
- package/skills/octocode-documentation-writer/schemas/qa-results-schema.json +113 -0
- package/skills/octocode-documentation-writer/schemas/questions-schema.json +228 -0
- package/skills/octocode-documentation-writer/schemas/research-schema.json +104 -0
- package/skills/octocode-documentation-writer/schemas/state-schema.json +222 -0
- package/skills/octocode-documentation-writer/schemas/work-assignments-schema.json +74 -0
- package/skills/octocode-plan/SKILL.md +122 -116
- package/skills/octocode-prompt-optimizer/SKILL.md +617 -0
- package/skills/octocode-pull-request-reviewer/README.md +249 -0
- package/skills/octocode-pull-request-reviewer/SKILL.md +479 -0
- package/skills/octocode-pull-request-reviewer/references/dependency-check.md +74 -0
- package/skills/octocode-pull-request-reviewer/references/domain-reviewers.md +24 -0
- package/skills/octocode-pull-request-reviewer/references/execution-lifecycle.md +441 -0
- package/skills/octocode-pull-request-reviewer/references/flow-analysis-protocol.md +64 -0
- package/skills/octocode-pull-request-reviewer/references/output-template.md +174 -0
- package/skills/octocode-pull-request-reviewer/references/parallel-agent-protocol.md +182 -0
- package/skills/octocode-pull-request-reviewer/references/review-guidelines.md +26 -0
- package/skills/octocode-pull-request-reviewer/references/verification-checklist.md +40 -0
- package/skills/octocode-research/.claude/settings.local.json +46 -0
- package/skills/octocode-research/.octocode/plan/code-review-fixes/plan.md +312 -0
- package/skills/octocode-research/.octocode/plan/code-review-fixes/research.md +212 -0
- package/skills/octocode-research/.octocode/plans/NODE_SERVER_START_PLAN.md +755 -0
- package/skills/octocode-research/.octocode/research/code-review/research.md +371 -0
- package/skills/octocode-research/.octocode/review/IMPROVEMENTS.md +391 -0
- package/skills/octocode-research/.octocode/review/REVIEW_PLAN.md +289 -0
- package/skills/octocode-research/.octocode/review/REVIEW_REPORT.md +356 -0
- package/skills/octocode-research/AGENTS.md +349 -0
- package/skills/octocode-research/README.md +494 -0
- package/skills/octocode-research/SKILL.md +652 -274
- package/skills/octocode-research/docs/API_REFERENCE.md +562 -0
- package/skills/octocode-research/docs/ARCHITECTURE.md +554 -0
- package/skills/octocode-research/docs/FLOWS.md +577 -0
- package/skills/octocode-research/docs/OVERVIEW.md +564 -0
- package/skills/octocode-research/docs/SERVER_FLOWS.md +631 -0
- package/skills/octocode-research/ecosystem.config.cjs +88 -0
- package/skills/octocode-research/eslint.config.mjs +27 -0
- package/skills/octocode-research/package.json +84 -0
- package/skills/octocode-research/references/GUARDRAILS.md +40 -0
- package/skills/octocode-research/references/PARALLEL_AGENT_PROTOCOL.md +178 -0
- package/skills/octocode-research/references/roast-prompt.md +149 -0
- package/skills/octocode-research/scripts/server-init.d.ts +2 -0
- package/skills/octocode-research/scripts/server-init.js +2 -0
- package/skills/octocode-research/scripts/server.d.ts +8 -0
- package/skills/octocode-research/scripts/server.js +445 -0
- package/skills/octocode-research/src/__tests__/integration/circuitBreaker.test.ts +205 -0
- package/skills/octocode-research/src/__tests__/integration/routes.test.ts +374 -0
- package/skills/octocode-research/src/__tests__/unit/circuitBreaker.test.ts +245 -0
- package/skills/octocode-research/src/__tests__/unit/errorHandler.test.ts +183 -0
- package/skills/octocode-research/src/__tests__/unit/httpPreprocess.test.ts +157 -0
- package/skills/octocode-research/src/__tests__/unit/logger.test.ts +143 -0
- package/skills/octocode-research/src/__tests__/unit/queryParser.test.ts +130 -0
- package/skills/octocode-research/src/__tests__/unit/responseBuilder.test.ts +469 -0
- package/skills/octocode-research/src/__tests__/unit/retry.test.ts +205 -0
- package/skills/octocode-research/src/index.ts +186 -0
- package/skills/octocode-research/src/mcpCache.ts +49 -0
- package/skills/octocode-research/src/middleware/errorHandler.ts +65 -0
- package/skills/octocode-research/src/middleware/logger.ts +61 -0
- package/skills/octocode-research/src/middleware/queryParser.ts +115 -0
- package/skills/octocode-research/src/middleware/readiness.ts +17 -0
- package/skills/octocode-research/src/routes/github.ts +197 -0
- package/skills/octocode-research/src/routes/local.ts +175 -0
- package/skills/octocode-research/src/routes/lsp.ts +177 -0
- package/skills/octocode-research/src/routes/package.ts +127 -0
- package/skills/octocode-research/src/routes/prompts.ts +138 -0
- package/skills/octocode-research/src/routes/tools.ts +677 -0
- package/skills/octocode-research/src/server-init.ts +363 -0
- package/skills/octocode-research/src/server.ts +285 -0
- package/skills/octocode-research/src/types/errorGuards.ts +151 -0
- package/skills/octocode-research/src/types/express.d.ts +76 -0
- package/skills/octocode-research/src/types/guards.ts +98 -0
- package/skills/octocode-research/src/types/mcp.ts +119 -0
- package/skills/octocode-research/src/types/responses.ts +199 -0
- package/skills/octocode-research/src/types/toolTypes.ts +33 -0
- package/skills/octocode-research/src/utils/asyncTimeout.ts +116 -0
- package/skills/octocode-research/src/utils/circuitBreaker.ts +492 -0
- package/skills/octocode-research/src/utils/colors.ts +53 -0
- package/skills/octocode-research/src/utils/errorQueue.ts +71 -0
- package/skills/octocode-research/src/utils/logEmoji.ts +103 -0
- package/skills/octocode-research/src/utils/logger.ts +413 -0
- package/skills/octocode-research/src/utils/resilience.ts +169 -0
- package/skills/octocode-research/src/utils/responseBuilder.ts +495 -0
- package/skills/octocode-research/src/utils/responseFactory.ts +100 -0
- package/skills/octocode-research/src/utils/responseParser.ts +272 -0
- package/skills/octocode-research/src/utils/retry.ts +280 -0
- package/skills/octocode-research/src/utils/routeFactory.ts +117 -0
- package/skills/octocode-research/src/utils/url.ts +20 -0
- package/skills/octocode-research/src/validation/httpPreprocess.ts +155 -0
- package/skills/octocode-research/src/validation/index.ts +2 -0
- package/skills/octocode-research/src/validation/schemas.ts +578 -0
- package/skills/octocode-research/src/validation/toolCallSchema.ts +132 -0
- package/skills/octocode-research/tsconfig.json +21 -0
- package/skills/octocode-research/tsdown.config.ts +42 -0
- package/skills/octocode-research/vitest.config.ts +20 -0
- package/skills/octocode-researcher/SKILL.md +461 -0
- package/skills/octocode-researcher/references/fallbacks.md +120 -0
- package/skills/{octocode-local-search → octocode-researcher}/references/tool-reference.md +132 -49
- package/skills/{octocode-local-search → octocode-researcher}/references/workflow-patterns.md +204 -4
- package/skills/octocode-rfc-generator/SKILL.md +223 -0
- package/skills/octocode-rfc-generator/references/rfc-template.md +193 -0
- package/skills/octocode-roast/SKILL.md +63 -21
- package/skills/octocode-implement/SKILL.md +0 -293
- package/skills/octocode-implement/references/execution-phases.md +0 -317
- package/skills/octocode-implement/references/tool-reference.md +0 -403
- package/skills/octocode-implement/references/workflow-patterns.md +0 -385
- package/skills/octocode-local-search/SKILL.md +0 -449
- package/skills/octocode-pr-review/SKILL.md +0 -391
- package/skills/octocode-pr-review/references/domain-reviewers.md +0 -105
- package/skills/octocode-pr-review/references/execution-lifecycle.md +0 -116
- package/skills/octocode-pr-review/references/research-flows.md +0 -75
- package/skills/octocode-research/references/tool-reference.md +0 -304
- package/skills/octocode-research/references/workflow-patterns.md +0 -325
|
@@ -0,0 +1,886 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://octocode-documentation-writer.v3/analysis.json",
|
|
4
|
+
"title": "Repository Analysis Output",
|
|
5
|
+
"description": "Complete analysis output from Discovery+Analysis Agent",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"metadata",
|
|
9
|
+
"discovery",
|
|
10
|
+
"architecture",
|
|
11
|
+
"flows",
|
|
12
|
+
"apis"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"metadata": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"required": [
|
|
18
|
+
"version",
|
|
19
|
+
"generated_at",
|
|
20
|
+
"repository_path"
|
|
21
|
+
],
|
|
22
|
+
"properties": {
|
|
23
|
+
"version": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"const": "3.0"
|
|
26
|
+
},
|
|
27
|
+
"generated_at": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "date-time"
|
|
30
|
+
},
|
|
31
|
+
"repository_path": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"agent": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"const": "discovery-analysis"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"discovery": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"required": [
|
|
43
|
+
"primary_language",
|
|
44
|
+
"is_monorepo",
|
|
45
|
+
"project_type",
|
|
46
|
+
"components"
|
|
47
|
+
],
|
|
48
|
+
"properties": {
|
|
49
|
+
"primary_language": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Primary programming language (e.g. typescript, python, go, rust, java, etc.)"
|
|
52
|
+
},
|
|
53
|
+
"language_distribution": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"additionalProperties": {
|
|
56
|
+
"type": "integer",
|
|
57
|
+
"minimum": 0
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"is_monorepo": {
|
|
61
|
+
"type": "boolean"
|
|
62
|
+
},
|
|
63
|
+
"package_count": {
|
|
64
|
+
"type": "integer",
|
|
65
|
+
"minimum": 0
|
|
66
|
+
},
|
|
67
|
+
"packages": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"project_type": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "Type of project (e.g. web-app, api-server, cli-tool, library, microservice, etc.)"
|
|
76
|
+
},
|
|
77
|
+
"framework": {
|
|
78
|
+
"type": [
|
|
79
|
+
"string",
|
|
80
|
+
"null"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"entry_points": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"items": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"components": {
|
|
90
|
+
"type": "array",
|
|
91
|
+
"items": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"required": [
|
|
94
|
+
"path",
|
|
95
|
+
"type"
|
|
96
|
+
],
|
|
97
|
+
"properties": {
|
|
98
|
+
"path": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"name": {
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
"type": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"description": "Component type (e.g. authentication, api-layer, data-layer, etc.)"
|
|
107
|
+
},
|
|
108
|
+
"file_count": {
|
|
109
|
+
"type": "integer",
|
|
110
|
+
"minimum": 0
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"test_framework": {
|
|
116
|
+
"type": [
|
|
117
|
+
"string",
|
|
118
|
+
"null"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"has_tests": {
|
|
122
|
+
"type": "boolean"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"architecture": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"required": [
|
|
129
|
+
"layers",
|
|
130
|
+
"dependencies"
|
|
131
|
+
],
|
|
132
|
+
"properties": {
|
|
133
|
+
"layers": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"additionalProperties": {
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"dependencies": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"internal": {
|
|
146
|
+
"type": "array",
|
|
147
|
+
"items": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"required": [
|
|
150
|
+
"from",
|
|
151
|
+
"to"
|
|
152
|
+
],
|
|
153
|
+
"properties": {
|
|
154
|
+
"from": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
"to": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"import_count": {
|
|
161
|
+
"type": "integer",
|
|
162
|
+
"minimum": 0
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"external": {
|
|
168
|
+
"type": "array",
|
|
169
|
+
"items": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"tech_stack": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"properties": {
|
|
178
|
+
"runtime": {
|
|
179
|
+
"type": [
|
|
180
|
+
"string",
|
|
181
|
+
"null"
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
"framework": {
|
|
185
|
+
"type": [
|
|
186
|
+
"string",
|
|
187
|
+
"null"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
"database": {
|
|
191
|
+
"type": [
|
|
192
|
+
"string",
|
|
193
|
+
"null"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
"testing": {
|
|
197
|
+
"type": [
|
|
198
|
+
"string",
|
|
199
|
+
"null"
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"flows": {
|
|
207
|
+
"type": "object",
|
|
208
|
+
"required": [
|
|
209
|
+
"strategy",
|
|
210
|
+
"flows"
|
|
211
|
+
],
|
|
212
|
+
"properties": {
|
|
213
|
+
"strategy": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"description": "Flow discovery strategy used"
|
|
216
|
+
},
|
|
217
|
+
"flows": {
|
|
218
|
+
"type": "array",
|
|
219
|
+
"items": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"required": [
|
|
222
|
+
"id",
|
|
223
|
+
"name",
|
|
224
|
+
"entry_point",
|
|
225
|
+
"steps"
|
|
226
|
+
],
|
|
227
|
+
"properties": {
|
|
228
|
+
"id": {
|
|
229
|
+
"type": "string"
|
|
230
|
+
},
|
|
231
|
+
"name": {
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"type": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"enum": [
|
|
237
|
+
"sequence",
|
|
238
|
+
"data-flow",
|
|
239
|
+
"state",
|
|
240
|
+
"event",
|
|
241
|
+
"other"
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
"entry_point": {
|
|
245
|
+
"type": "object",
|
|
246
|
+
"required": [
|
|
247
|
+
"file",
|
|
248
|
+
"function"
|
|
249
|
+
],
|
|
250
|
+
"properties": {
|
|
251
|
+
"file": {
|
|
252
|
+
"type": "string"
|
|
253
|
+
},
|
|
254
|
+
"line": {
|
|
255
|
+
"type": "integer",
|
|
256
|
+
"minimum": 1
|
|
257
|
+
},
|
|
258
|
+
"function": {
|
|
259
|
+
"type": "string"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"steps": {
|
|
264
|
+
"type": "array",
|
|
265
|
+
"items": {
|
|
266
|
+
"type": "object",
|
|
267
|
+
"required": [
|
|
268
|
+
"step",
|
|
269
|
+
"file",
|
|
270
|
+
"function",
|
|
271
|
+
"action"
|
|
272
|
+
],
|
|
273
|
+
"properties": {
|
|
274
|
+
"step": {
|
|
275
|
+
"type": "integer",
|
|
276
|
+
"minimum": 1
|
|
277
|
+
},
|
|
278
|
+
"file": {
|
|
279
|
+
"type": "string"
|
|
280
|
+
},
|
|
281
|
+
"line": {
|
|
282
|
+
"type": "integer",
|
|
283
|
+
"minimum": 1
|
|
284
|
+
},
|
|
285
|
+
"function": {
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
"action": {
|
|
289
|
+
"type": "string"
|
|
290
|
+
},
|
|
291
|
+
"calls": {
|
|
292
|
+
"type": "array",
|
|
293
|
+
"items": {
|
|
294
|
+
"type": "string"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"diagram": {
|
|
301
|
+
"type": "string"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"apis": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"required": [
|
|
311
|
+
"components"
|
|
312
|
+
],
|
|
313
|
+
"properties": {
|
|
314
|
+
"total_apis": {
|
|
315
|
+
"type": "integer",
|
|
316
|
+
"minimum": 0
|
|
317
|
+
},
|
|
318
|
+
"components": {
|
|
319
|
+
"type": "array",
|
|
320
|
+
"items": {
|
|
321
|
+
"type": "object",
|
|
322
|
+
"required": [
|
|
323
|
+
"component",
|
|
324
|
+
"apis"
|
|
325
|
+
],
|
|
326
|
+
"properties": {
|
|
327
|
+
"component": {
|
|
328
|
+
"type": "string"
|
|
329
|
+
},
|
|
330
|
+
"apis": {
|
|
331
|
+
"type": "array",
|
|
332
|
+
"items": {
|
|
333
|
+
"type": "object",
|
|
334
|
+
"required": [
|
|
335
|
+
"name",
|
|
336
|
+
"signature",
|
|
337
|
+
"type"
|
|
338
|
+
],
|
|
339
|
+
"properties": {
|
|
340
|
+
"name": {
|
|
341
|
+
"type": "string"
|
|
342
|
+
},
|
|
343
|
+
"signature": {
|
|
344
|
+
"type": "string"
|
|
345
|
+
},
|
|
346
|
+
"type": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"enum": [
|
|
349
|
+
"function",
|
|
350
|
+
"class",
|
|
351
|
+
"method",
|
|
352
|
+
"interface",
|
|
353
|
+
"type",
|
|
354
|
+
"variable",
|
|
355
|
+
"constant",
|
|
356
|
+
"enum",
|
|
357
|
+
"module",
|
|
358
|
+
"endpoint",
|
|
359
|
+
"other"
|
|
360
|
+
]
|
|
361
|
+
},
|
|
362
|
+
"file": {
|
|
363
|
+
"type": "string"
|
|
364
|
+
},
|
|
365
|
+
"line": {
|
|
366
|
+
"type": "integer",
|
|
367
|
+
"minimum": 1
|
|
368
|
+
},
|
|
369
|
+
"description": {
|
|
370
|
+
"type": [
|
|
371
|
+
"string",
|
|
372
|
+
"null"
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
"params": {
|
|
376
|
+
"type": "array",
|
|
377
|
+
"items": {
|
|
378
|
+
"type": "object",
|
|
379
|
+
"properties": {
|
|
380
|
+
"name": {
|
|
381
|
+
"type": "string"
|
|
382
|
+
},
|
|
383
|
+
"type": {
|
|
384
|
+
"type": "string"
|
|
385
|
+
},
|
|
386
|
+
"description": {
|
|
387
|
+
"type": [
|
|
388
|
+
"string",
|
|
389
|
+
"null"
|
|
390
|
+
]
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"returns": {
|
|
396
|
+
"type": [
|
|
397
|
+
"string",
|
|
398
|
+
"null"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"example": {
|
|
402
|
+
"type": [
|
|
403
|
+
"string",
|
|
404
|
+
"null"
|
|
405
|
+
]
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"errors": {
|
|
416
|
+
"type": "array",
|
|
417
|
+
"items": {
|
|
418
|
+
"type": "object",
|
|
419
|
+
"required": [
|
|
420
|
+
"phase",
|
|
421
|
+
"message"
|
|
422
|
+
],
|
|
423
|
+
"properties": {
|
|
424
|
+
"phase": {
|
|
425
|
+
"type": "string"
|
|
426
|
+
},
|
|
427
|
+
"message": {
|
|
428
|
+
"type": "string"
|
|
429
|
+
},
|
|
430
|
+
"severity": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"enum": [
|
|
433
|
+
"critical",
|
|
434
|
+
"warning",
|
|
435
|
+
"info"
|
|
436
|
+
]
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"devops_infrastructure": {
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"containerization": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"docker": {
|
|
448
|
+
"type": "object",
|
|
449
|
+
"properties": {
|
|
450
|
+
"dockerfile": { "type": ["string", "null"] },
|
|
451
|
+
"compose_files": { "type": "array", "items": { "type": "string" } }
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"base_images": { "type": "array", "items": { "type": "string" } }
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"ci_cd": {
|
|
458
|
+
"type": "object",
|
|
459
|
+
"properties": {
|
|
460
|
+
"platform": { "type": "string" },
|
|
461
|
+
"pipeline_files": { "type": "array", "items": { "type": "string" } },
|
|
462
|
+
"stages": { "type": "array", "items": { "type": "string" } }
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"orchestration": {
|
|
466
|
+
"type": "object",
|
|
467
|
+
"properties": {
|
|
468
|
+
"type": { "type": "string" },
|
|
469
|
+
"manifests": { "type": "array", "items": { "type": "string" } },
|
|
470
|
+
"helm_charts": { "type": "array", "items": { "type": "string" } }
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"infrastructure": {
|
|
474
|
+
"type": "object",
|
|
475
|
+
"properties": {
|
|
476
|
+
"tool": { "type": "string" },
|
|
477
|
+
"files": { "type": "array", "items": { "type": "string" } },
|
|
478
|
+
"providers": { "type": "array", "items": { "type": "string" } }
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"deployment_scripts": { "type": "array", "items": { "type": "string" } },
|
|
482
|
+
"environment_configs": { "type": "array", "items": { "type": "string" } }
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"data_models": {
|
|
486
|
+
"type": "object",
|
|
487
|
+
"properties": {
|
|
488
|
+
"orm": {
|
|
489
|
+
"type": "object",
|
|
490
|
+
"properties": {
|
|
491
|
+
"type": { "type": "string" },
|
|
492
|
+
"schema_files": { "type": "array", "items": { "type": "string" } },
|
|
493
|
+
"entities": {
|
|
494
|
+
"type": "array",
|
|
495
|
+
"items": {
|
|
496
|
+
"type": "object",
|
|
497
|
+
"properties": {
|
|
498
|
+
"name": { "type": "string" },
|
|
499
|
+
"file": { "type": "string" },
|
|
500
|
+
"fields": { "type": "array", "items": { "type": "string" } },
|
|
501
|
+
"relationships": { "type": "array", "items": { "type": "string" } }
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"migrations": {
|
|
508
|
+
"type": "object",
|
|
509
|
+
"properties": {
|
|
510
|
+
"tool": { "type": "string" },
|
|
511
|
+
"directory": { "type": "string" },
|
|
512
|
+
"count": { "type": "integer" },
|
|
513
|
+
"latest": { "type": ["string", "null"] }
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"api_schemas": {
|
|
517
|
+
"type": "object",
|
|
518
|
+
"properties": {
|
|
519
|
+
"graphql": { "type": "array", "items": { "type": "string" } },
|
|
520
|
+
"protobuf": { "type": "array", "items": { "type": "string" } },
|
|
521
|
+
"openapi": { "type": "array", "items": { "type": "string" } }
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"validation": {
|
|
525
|
+
"type": "object",
|
|
526
|
+
"properties": {
|
|
527
|
+
"library": { "type": "string" },
|
|
528
|
+
"schema_files": { "type": "array", "items": { "type": "string" } }
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"observability": {
|
|
534
|
+
"type": "object",
|
|
535
|
+
"properties": {
|
|
536
|
+
"logging": {
|
|
537
|
+
"type": "object",
|
|
538
|
+
"properties": {
|
|
539
|
+
"library": { "type": "string" },
|
|
540
|
+
"config_file": { "type": ["string", "null"] },
|
|
541
|
+
"log_levels": { "type": "array", "items": { "type": "string" } },
|
|
542
|
+
"outputs": { "type": "array", "items": { "type": "string" } },
|
|
543
|
+
"structured": { "type": "boolean" }
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"monitoring": {
|
|
547
|
+
"type": "object",
|
|
548
|
+
"properties": {
|
|
549
|
+
"platform": { "type": "string" },
|
|
550
|
+
"config_files": { "type": "array", "items": { "type": "string" } },
|
|
551
|
+
"custom_metrics": { "type": "array", "items": { "type": "string" } }
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"tracing": {
|
|
555
|
+
"type": "object",
|
|
556
|
+
"properties": {
|
|
557
|
+
"library": { "type": "string" },
|
|
558
|
+
"config_file": { "type": ["string", "null"] },
|
|
559
|
+
"instrumentation": { "type": "array", "items": { "type": "string" } }
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
"health_endpoints": {
|
|
563
|
+
"type": "array",
|
|
564
|
+
"items": {
|
|
565
|
+
"type": "object",
|
|
566
|
+
"properties": {
|
|
567
|
+
"path": { "type": "string" },
|
|
568
|
+
"file": { "type": "string" },
|
|
569
|
+
"checks": { "type": "array", "items": { "type": "string" } }
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"error_tracking": {
|
|
574
|
+
"type": "object",
|
|
575
|
+
"properties": {
|
|
576
|
+
"platform": { "type": "string" },
|
|
577
|
+
"config_file": { "type": ["string", "null"] }
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"alerting": {
|
|
581
|
+
"type": "object",
|
|
582
|
+
"properties": {
|
|
583
|
+
"platforms": { "type": "array", "items": { "type": "string" } },
|
|
584
|
+
"alert_rules": { "type": "array", "items": { "type": "string" } }
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"testing": {
|
|
590
|
+
"type": "object",
|
|
591
|
+
"properties": {
|
|
592
|
+
"test_framework": {
|
|
593
|
+
"type": "object",
|
|
594
|
+
"properties": {
|
|
595
|
+
"name": { "type": "string" },
|
|
596
|
+
"config_file": { "type": ["string", "null"] },
|
|
597
|
+
"version": { "type": ["string", "null"] }
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"test_files": {
|
|
601
|
+
"type": "object",
|
|
602
|
+
"properties": {
|
|
603
|
+
"unit": {
|
|
604
|
+
"type": "object",
|
|
605
|
+
"properties": {
|
|
606
|
+
"count": { "type": "integer" },
|
|
607
|
+
"pattern": { "type": "string" },
|
|
608
|
+
"directories": { "type": "array", "items": { "type": "string" } }
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
"integration": {
|
|
612
|
+
"type": "object",
|
|
613
|
+
"properties": {
|
|
614
|
+
"count": { "type": "integer" },
|
|
615
|
+
"directories": { "type": "array", "items": { "type": "string" } }
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"e2e": {
|
|
619
|
+
"type": "object",
|
|
620
|
+
"properties": {
|
|
621
|
+
"count": { "type": "integer" },
|
|
622
|
+
"framework": { "type": "string" },
|
|
623
|
+
"directories": { "type": "array", "items": { "type": "string" } }
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"coverage": {
|
|
629
|
+
"type": "object",
|
|
630
|
+
"properties": {
|
|
631
|
+
"tool": { "type": "string" },
|
|
632
|
+
"config_file": { "type": ["string", "null"] },
|
|
633
|
+
"threshold": {
|
|
634
|
+
"type": "object",
|
|
635
|
+
"properties": {
|
|
636
|
+
"lines": { "type": "number" },
|
|
637
|
+
"branches": { "type": "number" },
|
|
638
|
+
"functions": { "type": "number" }
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
"mocking": {
|
|
644
|
+
"type": "object",
|
|
645
|
+
"properties": {
|
|
646
|
+
"libraries": { "type": "array", "items": { "type": "string" } },
|
|
647
|
+
"mock_directories": { "type": "array", "items": { "type": "string" } }
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"quality_tools": {
|
|
651
|
+
"type": "object",
|
|
652
|
+
"properties": {
|
|
653
|
+
"linter": {
|
|
654
|
+
"type": "object",
|
|
655
|
+
"properties": {
|
|
656
|
+
"name": { "type": "string" },
|
|
657
|
+
"config": { "type": ["string", "null"] }
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
"formatter": {
|
|
661
|
+
"type": "object",
|
|
662
|
+
"properties": {
|
|
663
|
+
"name": { "type": "string" },
|
|
664
|
+
"config": { "type": ["string", "null"] }
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"type_checking": {
|
|
668
|
+
"type": "object",
|
|
669
|
+
"properties": {
|
|
670
|
+
"strict": { "type": "boolean" },
|
|
671
|
+
"config": { "type": ["string", "null"] }
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
"patterns": {
|
|
679
|
+
"type": "object",
|
|
680
|
+
"properties": {
|
|
681
|
+
"dependency_injection": {
|
|
682
|
+
"type": "object",
|
|
683
|
+
"properties": {
|
|
684
|
+
"framework": { "type": "string" },
|
|
685
|
+
"container_file": { "type": ["string", "null"] },
|
|
686
|
+
"injectable_count": { "type": "integer" }
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
"design_patterns": {
|
|
690
|
+
"type": "object",
|
|
691
|
+
"properties": {
|
|
692
|
+
"factory": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "file": { "type": "string" } } } },
|
|
693
|
+
"repository": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "file": { "type": "string" } } } },
|
|
694
|
+
"singleton": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "file": { "type": "string" } } } },
|
|
695
|
+
"adapter": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "file": { "type": "string" } } } },
|
|
696
|
+
"strategy": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "file": { "type": "string" } } } },
|
|
697
|
+
"observer": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "file": { "type": "string" } } } }
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
"caching": {
|
|
701
|
+
"type": "object",
|
|
702
|
+
"properties": {
|
|
703
|
+
"type": { "type": "string" },
|
|
704
|
+
"library": { "type": "string" },
|
|
705
|
+
"cache_files": { "type": "array", "items": { "type": "string" } }
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
"event_driven": {
|
|
709
|
+
"type": "object",
|
|
710
|
+
"properties": {
|
|
711
|
+
"event_emitters": { "type": "array", "items": { "type": "string" } },
|
|
712
|
+
"message_queues": {
|
|
713
|
+
"type": "object",
|
|
714
|
+
"properties": {
|
|
715
|
+
"type": { "type": "string" },
|
|
716
|
+
"files": { "type": "array", "items": { "type": "string" } }
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"state_management": {
|
|
724
|
+
"type": "object",
|
|
725
|
+
"properties": {
|
|
726
|
+
"library": { "type": "string" },
|
|
727
|
+
"store_files": { "type": "array", "items": { "type": "string" } },
|
|
728
|
+
"state_machines": {
|
|
729
|
+
"type": "array",
|
|
730
|
+
"items": {
|
|
731
|
+
"type": "object",
|
|
732
|
+
"properties": {
|
|
733
|
+
"name": { "type": "string" },
|
|
734
|
+
"file": { "type": "string" },
|
|
735
|
+
"states": { "type": "array", "items": { "type": "string" } }
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"security": {
|
|
742
|
+
"type": "object",
|
|
743
|
+
"properties": {
|
|
744
|
+
"authentication": {
|
|
745
|
+
"type": "object",
|
|
746
|
+
"properties": {
|
|
747
|
+
"method": { "type": "string" },
|
|
748
|
+
"library": { "type": "string" },
|
|
749
|
+
"provider": { "type": "string" },
|
|
750
|
+
"files": { "type": "array", "items": { "type": "string" } }
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"authorization": {
|
|
754
|
+
"type": "object",
|
|
755
|
+
"properties": {
|
|
756
|
+
"model": { "type": "string" },
|
|
757
|
+
"implementation_files": { "type": "array", "items": { "type": "string" } },
|
|
758
|
+
"roles_defined": { "type": "array", "items": { "type": "string" } }
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
"security_middleware": {
|
|
762
|
+
"type": "object",
|
|
763
|
+
"properties": {
|
|
764
|
+
"helmet": { "type": "boolean" },
|
|
765
|
+
"cors": {
|
|
766
|
+
"type": "object",
|
|
767
|
+
"properties": {
|
|
768
|
+
"enabled": { "type": "boolean" },
|
|
769
|
+
"config_file": { "type": ["string", "null"] }
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
"rate_limiting": {
|
|
773
|
+
"type": "object",
|
|
774
|
+
"properties": {
|
|
775
|
+
"enabled": { "type": "boolean" },
|
|
776
|
+
"library": { "type": ["string", "null"] },
|
|
777
|
+
"config": { "type": "object" }
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
"csrf": { "type": "boolean" }
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"input_validation": {
|
|
784
|
+
"type": "object",
|
|
785
|
+
"properties": {
|
|
786
|
+
"library": { "type": "string" },
|
|
787
|
+
"sanitization": { "type": "array", "items": { "type": "string" } }
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"encryption": {
|
|
791
|
+
"type": "object",
|
|
792
|
+
"properties": {
|
|
793
|
+
"password_hashing": { "type": "string" },
|
|
794
|
+
"data_encryption": { "type": "boolean" },
|
|
795
|
+
"files": { "type": "array", "items": { "type": "string" } }
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"secret_management": {
|
|
799
|
+
"type": "object",
|
|
800
|
+
"properties": {
|
|
801
|
+
"method": { "type": "string" },
|
|
802
|
+
"config_file": { "type": ["string", "null"] }
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
"compliance": {
|
|
806
|
+
"type": "object",
|
|
807
|
+
"properties": {
|
|
808
|
+
"gdpr": {
|
|
809
|
+
"type": "object",
|
|
810
|
+
"properties": {
|
|
811
|
+
"detected": { "type": "boolean" },
|
|
812
|
+
"markers": { "type": "array", "items": { "type": "string" } }
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
"soc2": {
|
|
816
|
+
"type": "object",
|
|
817
|
+
"properties": {
|
|
818
|
+
"detected": { "type": "boolean" },
|
|
819
|
+
"markers": { "type": "array", "items": { "type": "string" } }
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"pci": {
|
|
823
|
+
"type": "object",
|
|
824
|
+
"properties": {
|
|
825
|
+
"detected": { "type": "boolean" },
|
|
826
|
+
"markers": { "type": "array", "items": { "type": "string" } }
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
"contributing": {
|
|
834
|
+
"type": "object",
|
|
835
|
+
"properties": {
|
|
836
|
+
"documentation": {
|
|
837
|
+
"type": "object",
|
|
838
|
+
"properties": {
|
|
839
|
+
"contributing": { "type": ["string", "null"] },
|
|
840
|
+
"code_of_conduct": { "type": ["string", "null"] },
|
|
841
|
+
"development_guide": { "type": ["string", "null"] }
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"git_workflow": {
|
|
845
|
+
"type": "object",
|
|
846
|
+
"properties": {
|
|
847
|
+
"pr_template": { "type": ["string", "null"] },
|
|
848
|
+
"issue_templates": { "type": "array", "items": { "type": "string" } },
|
|
849
|
+
"branch_naming": { "type": ["string", "null"] }
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"commit_conventions": {
|
|
853
|
+
"type": "object",
|
|
854
|
+
"properties": {
|
|
855
|
+
"tool": { "type": "string" },
|
|
856
|
+
"config_file": { "type": ["string", "null"] },
|
|
857
|
+
"convention": { "type": "string" }
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
"git_hooks": {
|
|
861
|
+
"type": "object",
|
|
862
|
+
"properties": {
|
|
863
|
+
"tool": { "type": "string" },
|
|
864
|
+
"hooks": { "type": "array", "items": { "type": "string" } }
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"code_style": {
|
|
868
|
+
"type": "object",
|
|
869
|
+
"properties": {
|
|
870
|
+
"editorconfig": { "type": "boolean" },
|
|
871
|
+
"linter_config": { "type": ["string", "null"] },
|
|
872
|
+
"formatter_config": { "type": ["string", "null"] }
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
"versioning": {
|
|
876
|
+
"type": "object",
|
|
877
|
+
"properties": {
|
|
878
|
+
"changelog": { "type": ["string", "null"] },
|
|
879
|
+
"tool": { "type": "string" },
|
|
880
|
+
"config_file": { "type": ["string", "null"] }
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
}
|