ref-agents 1.0.0__tar.gz
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.
- ref_agents-1.0.0/.dockerignore +12 -0
- ref_agents-1.0.0/.github/workflows/ci.yml +108 -0
- ref_agents-1.0.0/.github/workflows/publish.yml +46 -0
- ref_agents-1.0.0/.github/workflows/security-scan.yml +51 -0
- ref_agents-1.0.0/.gitignore +91 -0
- ref_agents-1.0.0/.pre-commit-config.yaml +80 -0
- ref_agents-1.0.0/.python-version +1 -0
- ref_agents-1.0.0/.secrets.baseline +141 -0
- ref_agents-1.0.0/AGENTS.md +274 -0
- ref_agents-1.0.0/CHANGELOG.md +66 -0
- ref_agents-1.0.0/CODE_MAP.md +62 -0
- ref_agents-1.0.0/CONTRIBUTING.md +131 -0
- ref_agents-1.0.0/Dockerfile +24 -0
- ref_agents-1.0.0/FEATURES.md +30 -0
- ref_agents-1.0.0/LICENSE +115 -0
- ref_agents-1.0.0/Makefile +54 -0
- ref_agents-1.0.0/PKG-INFO +365 -0
- ref_agents-1.0.0/PUBLISH.md +89 -0
- ref_agents-1.0.0/PYPI_SETUP.md +88 -0
- ref_agents-1.0.0/README.md +330 -0
- ref_agents-1.0.0/WINDOWS_TROUBLESHOOTING.md +154 -0
- ref_agents-1.0.0/codemap/CODE_MAP.md +68 -0
- ref_agents-1.0.0/codemap/src_ref_agents.md +123 -0
- ref_agents-1.0.0/codemap/src_ref_agents_core.md +96 -0
- ref_agents-1.0.0/codemap/src_ref_agents_models.md +103 -0
- ref_agents-1.0.0/codemap/src_ref_agents_prompts.md +100 -0
- ref_agents-1.0.0/codemap/src_ref_agents_security.md +105 -0
- ref_agents-1.0.0/codemap/src_ref_agents_tools.md +169 -0
- ref_agents-1.0.0/codemap/src_ref_agents_tools_browser.md +104 -0
- ref_agents-1.0.0/codemap/src_ref_agents_tools_validators.md +60 -0
- ref_agents-1.0.0/codemap/src_ref_agents_utils.md +102 -0
- ref_agents-1.0.0/codemap/src_ref_agents_workflow.md +102 -0
- ref_agents-1.0.0/demo_security_scan.sh +48 -0
- ref_agents-1.0.0/docs/ARCHITECTURE.md +61 -0
- ref_agents-1.0.0/docs/ARTIFACTS.md +48 -0
- ref_agents-1.0.0/docs/EXTERNAL_DEPS.md +41 -0
- ref_agents-1.0.0/docs/PRODUCT_MODULES.md +196 -0
- ref_agents-1.0.0/docs/REFACTORING_GUARDRAILS.md +189 -0
- ref_agents-1.0.0/docs/USER_GUIDE.md +744 -0
- ref_agents-1.0.0/docs/USP.md +187 -0
- ref_agents-1.0.0/docs/VERSIONING.md +88 -0
- ref_agents-1.0.0/docs/operations/PRODUCTION.md +53 -0
- ref_agents-1.0.0/docs/operations/SECURITY.md +194 -0
- ref_agents-1.0.0/docs/requirements/EPIC-002.md +7 -0
- ref_agents-1.0.0/docs/requirements/EPIC-004.md +7 -0
- ref_agents-1.0.0/docs/requirements/EPIC-MIGRATION.md +251 -0
- ref_agents-1.0.0/docs/requirements/FEAT-003.md +8 -0
- ref_agents-1.0.0/docs/requirements/FEAT-004.md +8 -0
- ref_agents-1.0.0/docs/requirements/FEAT-005.md +8 -0
- ref_agents-1.0.0/docs/requirements/FEAT-006.md +8 -0
- ref_agents-1.0.0/docs/requirements/FEAT-007.md +8 -0
- ref_agents-1.0.0/docs/requirements/REF-ARTIFACT-GATE-001.md +23 -0
- ref_agents-1.0.0/docs/requirements/REF-CODEMAP-001.md +123 -0
- ref_agents-1.0.0/docs/requirements/REF-DOTNET-001.md +346 -0
- ref_agents-1.0.0/docs/requirements/REF-EXEC-CONTRACT-002.md +54 -0
- ref_agents-1.0.0/docs/requirements/REF-PLAYWRIGHT-FIX-001.md +62 -0
- ref_agents-1.0.0/docs/requirements/REF-SM-CLOSE-003.md +19 -0
- ref_agents-1.0.0/docs/requirements/STORY-000-template.md +135 -0
- ref_agents-1.0.0/docs/requirements/STORY-001.md +38 -0
- ref_agents-1.0.0/docs/requirements/STORY-002.md +46 -0
- ref_agents-1.0.0/docs/requirements/STORY-003.md +29 -0
- ref_agents-1.0.0/docs/requirements/STORY-004.md +31 -0
- ref_agents-1.0.0/docs/requirements/STORY-005.md +26 -0
- ref_agents-1.0.0/docs/requirements/STORY-006.md +135 -0
- ref_agents-1.0.0/docs/requirements/STORY-007.md +135 -0
- ref_agents-1.0.0/docs/requirements/STORY-008.md +136 -0
- ref_agents-1.0.0/docs/requirements/STORY-009.md +141 -0
- ref_agents-1.0.0/docs/requirements/STORY-010.md +135 -0
- ref_agents-1.0.0/docs/requirements/STORY-011-ANTI-HALLUCINATION.md +488 -0
- ref_agents-1.0.0/docs/requirements/STORY-011-ARCHITECTURE-OPTIONS.md +311 -0
- ref_agents-1.0.0/docs/requirements/STORY-011-IMPLEMENTATION.md +111 -0
- ref_agents-1.0.0/docs/requirements/STORY-011-PLAYWRIGHT-MCP-ANALYSIS.md +294 -0
- ref_agents-1.0.0/docs/requirements/STORY-011-WORKFLOW.md +204 -0
- ref_agents-1.0.0/docs/requirements/STORY-011.md +354 -0
- ref_agents-1.0.0/docs/requirements/STORY-012.md +160 -0
- ref_agents-1.0.0/docs/requirements/STORY-013.md +210 -0
- ref_agents-1.0.0/docs/requirements/STORY-014.md +219 -0
- ref_agents-1.0.0/docs/requirements/STORY-015.md +264 -0
- ref_agents-1.0.0/docs/requirements/STORY-016.md +221 -0
- ref_agents-1.0.0/docs/requirements/STORY-017.md +211 -0
- ref_agents-1.0.0/docs/requirements/STORY-018.md +146 -0
- ref_agents-1.0.0/docs/requirements/STORY-019.md +147 -0
- ref_agents-1.0.0/docs/requirements/STORY-020.md +148 -0
- ref_agents-1.0.0/docs/requirements/STORY-021.md +60 -0
- ref_agents-1.0.0/docs/requirements/STORY-022.md +49 -0
- ref_agents-1.0.0/docs/requirements/STORY-023.md +42 -0
- ref_agents-1.0.0/docs/requirements/STORY-024.md +38 -0
- ref_agents-1.0.0/docs/requirements/STORY-025.md +40 -0
- ref_agents-1.0.0/docs/requirements/STORY-026.md +38 -0
- ref_agents-1.0.0/docs/requirements/STORY-027.md +38 -0
- ref_agents-1.0.0/docs/requirements/STORY-028.md +36 -0
- ref_agents-1.0.0/docs/requirements/STORY-029.md +38 -0
- ref_agents-1.0.0/docs/requirements/STORY-030.md +36 -0
- ref_agents-1.0.0/docs/requirements/STORY-031.md +39 -0
- ref_agents-1.0.0/docs/requirements/STORY-032.md +36 -0
- ref_agents-1.0.0/docs/requirements/STORY-033.md +36 -0
- ref_agents-1.0.0/docs/requirements/STORY-034.md +40 -0
- ref_agents-1.0.0/docs/requirements/STORY-035.md +39 -0
- ref_agents-1.0.0/docs/requirements/STORY-036.md +39 -0
- ref_agents-1.0.0/docs/requirements/STORY-037.md +35 -0
- ref_agents-1.0.0/docs/requirements/STORY-038.md +39 -0
- ref_agents-1.0.0/docs/requirements/STORY-039.md +48 -0
- ref_agents-1.0.0/docs/requirements/STORY-047.md +28 -0
- ref_agents-1.0.0/docs/requirements/STORY-048.md +39 -0
- ref_agents-1.0.0/docs/requirements/STORY-049.md +23 -0
- ref_agents-1.0.0/docs/requirements/STORY-050.md +27 -0
- ref_agents-1.0.0/docs/requirements/STORY-REF-002.md +53 -0
- ref_agents-1.0.0/docs/requirements/STORY-REF-003.md +50 -0
- ref_agents-1.0.0/docs/requirements/STORY-TQ-001.md +224 -0
- ref_agents-1.0.0/docs/requirements/STORY-TQ-002.md +270 -0
- ref_agents-1.0.0/docs/requirements/STORY-TQ-003.md +232 -0
- ref_agents-1.0.0/docs/runtime_licenses.json +518 -0
- ref_agents-1.0.0/docs/sbom.json +1234 -0
- ref_agents-1.0.0/docs/templates/ADR.md +61 -0
- ref_agents-1.0.0/docs/templates/EPIC-XXX.md +43 -0
- ref_agents-1.0.0/docs/templates/EXTERNAL_APIS.md +68 -0
- ref_agents-1.0.0/docs/templates/FEAT-XXX.md +58 -0
- ref_agents-1.0.0/docs/templates/FLOWS.md +112 -0
- ref_agents-1.0.0/docs/templates/REQ.md +142 -0
- ref_agents-1.0.0/docs/templates/TECH_DEBT.md +129 -0
- ref_agents-1.0.0/docs/templates/handoff_log.jsonl.example +7 -0
- ref_agents-1.0.0/pyproject.toml +81 -0
- ref_agents-1.0.0/scripts/airgap_proof.py +208 -0
- ref_agents-1.0.0/scripts/analyze_metrics.py +73 -0
- ref_agents-1.0.0/scripts/check-format.sh +6 -0
- ref_agents-1.0.0/scripts/generate_sbom.py +222 -0
- ref_agents-1.0.0/scripts/validate_python_version.py +79 -0
- ref_agents-1.0.0/src/ref_agents/__init__.py +9 -0
- ref_agents-1.0.0/src/ref_agents/api_keys.json.example +8 -0
- ref_agents-1.0.0/src/ref_agents/auth.py +129 -0
- ref_agents-1.0.0/src/ref_agents/codemap/..md +62 -0
- ref_agents-1.0.0/src/ref_agents/codemap/CODE_MAP.md +37 -0
- ref_agents-1.0.0/src/ref_agents/codemap/core.md +43 -0
- ref_agents-1.0.0/src/ref_agents/codemap/models.md +43 -0
- ref_agents-1.0.0/src/ref_agents/codemap/prompts.md +40 -0
- ref_agents-1.0.0/src/ref_agents/codemap/security.md +45 -0
- ref_agents-1.0.0/src/ref_agents/codemap/tools.md +94 -0
- ref_agents-1.0.0/src/ref_agents/codemap/tools_browser.md +44 -0
- ref_agents-1.0.0/src/ref_agents/codemap/utils.md +42 -0
- ref_agents-1.0.0/src/ref_agents/codemap/workflow.md +42 -0
- ref_agents-1.0.0/src/ref_agents/config/ai_patterns.yaml +101 -0
- ref_agents-1.0.0/src/ref_agents/config/frameworks/angular.yaml +104 -0
- ref_agents-1.0.0/src/ref_agents/config/frameworks/aspnet.yaml +84 -0
- ref_agents-1.0.0/src/ref_agents/config/frameworks/ef_core.yaml +81 -0
- ref_agents-1.0.0/src/ref_agents/config/frameworks/react.yaml +111 -0
- ref_agents-1.0.0/src/ref_agents/config/frameworks/spring_boot.yaml +117 -0
- ref_agents-1.0.0/src/ref_agents/config/languages/csharp.yaml +153 -0
- ref_agents-1.0.0/src/ref_agents/config/languages/java.yaml +188 -0
- ref_agents-1.0.0/src/ref_agents/config/languages/javascript.yaml +172 -0
- ref_agents-1.0.0/src/ref_agents/config/languages/python.yaml +153 -0
- ref_agents-1.0.0/src/ref_agents/config/languages/typescript.yaml +193 -0
- ref_agents-1.0.0/src/ref_agents/constants.py +553 -0
- ref_agents-1.0.0/src/ref_agents/core/__init__.py +15 -0
- ref_agents-1.0.0/src/ref_agents/core/config_loader.py +160 -0
- ref_agents-1.0.0/src/ref_agents/core/config_models.py +167 -0
- ref_agents-1.0.0/src/ref_agents/core/config_parsing.py +84 -0
- ref_agents-1.0.0/src/ref_agents/core/language_detector.py +388 -0
- ref_agents-1.0.0/src/ref_agents/core/validation_models.py +66 -0
- ref_agents-1.0.0/src/ref_agents/core/validation_primitives.py +176 -0
- ref_agents-1.0.0/src/ref_agents/errors.py +34 -0
- ref_agents-1.0.0/src/ref_agents/license_client.py +247 -0
- ref_agents-1.0.0/src/ref_agents/models/__init__.py +22 -0
- ref_agents-1.0.0/src/ref_agents/models/gherkin.py +45 -0
- ref_agents-1.0.0/src/ref_agents/models/hierarchy.py +80 -0
- ref_agents-1.0.0/src/ref_agents/models/invest.py +59 -0
- ref_agents-1.0.0/src/ref_agents/models/version.py +49 -0
- ref_agents-1.0.0/src/ref_agents/prompts/__init__.py +9 -0
- ref_agents-1.0.0/src/ref_agents/prompts/start_agent.py +772 -0
- ref_agents-1.0.0/src/ref_agents/rules/architecture/backend_patterns.md +43 -0
- ref_agents-1.0.0/src/ref_agents/rules/architecture/diagramming.md +100 -0
- ref_agents-1.0.0/src/ref_agents/rules/architecture/frontend_patterns.md +40 -0
- ref_agents-1.0.0/src/ref_agents/rules/architecture/impact_analysis.md +129 -0
- ref_agents-1.0.0/src/ref_agents/rules/architecture/migration_strategy.md +208 -0
- ref_agents-1.0.0/src/ref_agents/rules/architecture/regression_protocol.md +77 -0
- ref_agents-1.0.0/src/ref_agents/rules/architecture/system_design.md +97 -0
- ref_agents-1.0.0/src/ref_agents/rules/common/codemap_standard.md +97 -0
- ref_agents-1.0.0/src/ref_agents/rules/common/core_protocol.md +59 -0
- ref_agents-1.0.0/src/ref_agents/rules/common/prompt_engineering.md +294 -0
- ref_agents-1.0.0/src/ref_agents/rules/development/debugging.md +32 -0
- ref_agents-1.0.0/src/ref_agents/rules/development/implementation.md +205 -0
- ref_agents-1.0.0/src/ref_agents/rules/operations/completion.md +119 -0
- ref_agents-1.0.0/src/ref_agents/rules/operations/cutover_protocol.md +218 -0
- ref_agents-1.0.0/src/ref_agents/rules/operations/discovery.md +179 -0
- ref_agents-1.0.0/src/ref_agents/rules/operations/fix_workflow.md +87 -0
- ref_agents-1.0.0/src/ref_agents/rules/operations/forensics.md +278 -0
- ref_agents-1.0.0/src/ref_agents/rules/operations/platform.md +263 -0
- ref_agents-1.0.0/src/ref_agents/rules/operations/synchronous_flow.md +25 -0
- ref_agents-1.0.0/src/ref_agents/rules/product/ac_validation.md +25 -0
- ref_agents-1.0.0/src/ref_agents/rules/product/brainstorming.md +27 -0
- ref_agents-1.0.0/src/ref_agents/rules/product/ref_flow.md +101 -0
- ref_agents-1.0.0/src/ref_agents/rules/product/requirements_std.md +114 -0
- ref_agents-1.0.0/src/ref_agents/rules/product/spec_writing.md +235 -0
- ref_agents-1.0.0/src/ref_agents/rules/product/strategy.md +96 -0
- ref_agents-1.0.0/src/ref_agents/rules/quality/documentation_standards.md +46 -0
- ref_agents-1.0.0/src/ref_agents/rules/quality/parity_testing.md +234 -0
- ref_agents-1.0.0/src/ref_agents/rules/quality/project_documentation.md +56 -0
- ref_agents-1.0.0/src/ref_agents/rules/quality/qa_lead.md +111 -0
- ref_agents-1.0.0/src/ref_agents/rules/quality/test_design.md +146 -0
- ref_agents-1.0.0/src/ref_agents/rules/quality/testing_standards.md +293 -0
- ref_agents-1.0.0/src/ref_agents/rules/review/pr_review.md +116 -0
- ref_agents-1.0.0/src/ref_agents/rules/security/security_audit.md +83 -0
- ref_agents-1.0.0/src/ref_agents/security/__init__.py +22 -0
- ref_agents-1.0.0/src/ref_agents/security/dependency_audit.py +188 -0
- ref_agents-1.0.0/src/ref_agents/security/file_audit.py +208 -0
- ref_agents-1.0.0/src/ref_agents/security/network_scan.py +179 -0
- ref_agents-1.0.0/src/ref_agents/security/report_generator.py +313 -0
- ref_agents-1.0.0/src/ref_agents/security/secret_scan.py +252 -0
- ref_agents-1.0.0/src/ref_agents/security/url_scan.py +240 -0
- ref_agents-1.0.0/src/ref_agents/security_scan.py +236 -0
- ref_agents-1.0.0/src/ref_agents/server.py +1586 -0
- ref_agents-1.0.0/src/ref_agents/session.py +100 -0
- ref_agents-1.0.0/src/ref_agents/tool_names.py +55 -0
- ref_agents-1.0.0/src/ref_agents/tools/__init__.py +8 -0
- ref_agents-1.0.0/src/ref_agents/tools/agents_generator.py +315 -0
- ref_agents-1.0.0/src/ref_agents/tools/ai_pattern_detector.py +815 -0
- ref_agents-1.0.0/src/ref_agents/tools/brownfield_populator.py +529 -0
- ref_agents-1.0.0/src/ref_agents/tools/browser/__init__.py +50 -0
- ref_agents-1.0.0/src/ref_agents/tools/browser/evidence_verifier.py +302 -0
- ref_agents-1.0.0/src/ref_agents/tools/browser/execution_logger.py +249 -0
- ref_agents-1.0.0/src/ref_agents/tools/browser/playwright_mcp_client.py +259 -0
- ref_agents-1.0.0/src/ref_agents/tools/browser/screenshot_utils.py +184 -0
- ref_agents-1.0.0/src/ref_agents/tools/browser/test_executor.py +537 -0
- ref_agents-1.0.0/src/ref_agents/tools/code_quality_scanner.py +629 -0
- ref_agents-1.0.0/src/ref_agents/tools/codemap/..md +93 -0
- ref_agents-1.0.0/src/ref_agents/tools/codemap/CODE_MAP.md +30 -0
- ref_agents-1.0.0/src/ref_agents/tools/codemap/browser.md +44 -0
- ref_agents-1.0.0/src/ref_agents/tools/codemap.py +403 -0
- ref_agents-1.0.0/src/ref_agents/tools/codemap_freshness.py +234 -0
- ref_agents-1.0.0/src/ref_agents/tools/comment_smell_scanner.py +346 -0
- ref_agents-1.0.0/src/ref_agents/tools/complexity.py +436 -0
- ref_agents-1.0.0/src/ref_agents/tools/complexity_ast.py +333 -0
- ref_agents-1.0.0/src/ref_agents/tools/compliance.py +246 -0
- ref_agents-1.0.0/src/ref_agents/tools/compliance_remediation.py +846 -0
- ref_agents-1.0.0/src/ref_agents/tools/context_graph.py +839 -0
- ref_agents-1.0.0/src/ref_agents/tools/context_manager.py +550 -0
- ref_agents-1.0.0/src/ref_agents/tools/context_tools.py +121 -0
- ref_agents-1.0.0/src/ref_agents/tools/cross_repo_linker.py +393 -0
- ref_agents-1.0.0/src/ref_agents/tools/dead_code_scanner.py +637 -0
- ref_agents-1.0.0/src/ref_agents/tools/debt_scanner.py +1092 -0
- ref_agents-1.0.0/src/ref_agents/tools/dependency_graph.py +272 -0
- ref_agents-1.0.0/src/ref_agents/tools/discovery_audit.py +372 -0
- ref_agents-1.0.0/src/ref_agents/tools/docs_scanner.py +600 -0
- ref_agents-1.0.0/src/ref_agents/tools/evaluate_gate.py +119 -0
- ref_agents-1.0.0/src/ref_agents/tools/external_detector.py +524 -0
- ref_agents-1.0.0/src/ref_agents/tools/features_generator.py +282 -0
- ref_agents-1.0.0/src/ref_agents/tools/flow_gap_detector.py +373 -0
- ref_agents-1.0.0/src/ref_agents/tools/flow_mapper.py +327 -0
- ref_agents-1.0.0/src/ref_agents/tools/full_suite_runner.py +740 -0
- ref_agents-1.0.0/src/ref_agents/tools/gherkin_parser.py +227 -0
- ref_agents-1.0.0/src/ref_agents/tools/guard_tools.py +139 -0
- ref_agents-1.0.0/src/ref_agents/tools/handoff_tools.py +282 -0
- ref_agents-1.0.0/src/ref_agents/tools/health_scanner.py +1211 -0
- ref_agents-1.0.0/src/ref_agents/tools/hierarchy_manager.py +289 -0
- ref_agents-1.0.0/src/ref_agents/tools/invest_scorer.py +249 -0
- ref_agents-1.0.0/src/ref_agents/tools/jira_confluence_export.py +306 -0
- ref_agents-1.0.0/src/ref_agents/tools/json_output.py +76 -0
- ref_agents-1.0.0/src/ref_agents/tools/migration_mapper.py +946 -0
- ref_agents-1.0.0/src/ref_agents/tools/migration_readiness_scanner.py +209 -0
- ref_agents-1.0.0/src/ref_agents/tools/pattern_learner.py +522 -0
- ref_agents-1.0.0/src/ref_agents/tools/report_utils.py +155 -0
- ref_agents-1.0.0/src/ref_agents/tools/requirements_serializer.py +225 -0
- ref_agents-1.0.0/src/ref_agents/tools/security_audit_tool.py +106 -0
- ref_agents-1.0.0/src/ref_agents/tools/sequencing_engine.py +288 -0
- ref_agents-1.0.0/src/ref_agents/tools/summary_generator.py +275 -0
- ref_agents-1.0.0/src/ref_agents/tools/symbol_resolver.py +306 -0
- ref_agents-1.0.0/src/ref_agents/tools/symbol_smoke_runner.py +336 -0
- ref_agents-1.0.0/src/ref_agents/tools/test_plan_validator.py +189 -0
- ref_agents-1.0.0/src/ref_agents/tools/test_smell_walker.py +902 -0
- ref_agents-1.0.0/src/ref_agents/tools/tier1_fixer.py +502 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/__init__.py +419 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/architect.py +268 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/cutover_engineer.py +167 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/developer.py +180 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/discovery.py +150 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/forensic_engineer.py +191 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/impact_architect.py +181 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/migration_planner.py +166 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/parity_tester.py +155 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/platform_engineer.py +134 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/pr_reviewer.py +129 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/product_manager.py +291 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/qa_lead.py +172 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/scrum_master.py +212 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/security_owner.py +162 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/specifier.py +134 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/strategist.py +149 -0
- ref_agents-1.0.0/src/ref_agents/tools/validators/tester.py +121 -0
- ref_agents-1.0.0/src/ref_agents/tools/version_manager.py +202 -0
- ref_agents-1.0.0/src/ref_agents/tools/workflow_tools.py +1549 -0
- ref_agents-1.0.0/src/ref_agents/utils/__init__.py +21 -0
- ref_agents-1.0.0/src/ref_agents/utils/git_utils.py +351 -0
- ref_agents-1.0.0/src/ref_agents/utils/handoff_logger.py +368 -0
- ref_agents-1.0.0/src/ref_agents/utils/ignore_matcher.py +270 -0
- ref_agents-1.0.0/src/ref_agents/workflow/__init__.py +19 -0
- ref_agents-1.0.0/src/ref_agents/workflow/capabilities.py +328 -0
- ref_agents-1.0.0/src/ref_agents/workflow/state_machine.py +708 -0
- ref_agents-1.0.0/src/ref_agents/workflow/transitions.py +658 -0
- ref_agents-1.0.0/tests/conftest.py +18 -0
- ref_agents-1.0.0/tests/test_ai_pattern_detector.py +557 -0
- ref_agents-1.0.0/tests/test_airgap_proof.py +32 -0
- ref_agents-1.0.0/tests/test_auth.py +108 -0
- ref_agents-1.0.0/tests/test_auth_routing.py +61 -0
- ref_agents-1.0.0/tests/test_brownfield_populator.py +263 -0
- ref_agents-1.0.0/tests/test_codemap_enforcement.py +139 -0
- ref_agents-1.0.0/tests/test_codemap_freshness.py +410 -0
- ref_agents-1.0.0/tests/test_comment_smell_scanner.py +299 -0
- ref_agents-1.0.0/tests/test_config_loader.py +293 -0
- ref_agents-1.0.0/tests/test_context_graph.py +385 -0
- ref_agents-1.0.0/tests/test_context_graph_storage.py +133 -0
- ref_agents-1.0.0/tests/test_context_graph_tools.py +168 -0
- ref_agents-1.0.0/tests/test_context_manager.py +417 -0
- ref_agents-1.0.0/tests/test_cross_repo_linker.py +277 -0
- ref_agents-1.0.0/tests/test_cutover_engineer.py +233 -0
- ref_agents-1.0.0/tests/test_dead_code_scanner.py +367 -0
- ref_agents-1.0.0/tests/test_debt_scanner.py +577 -0
- ref_agents-1.0.0/tests/test_dependency_graph.py +241 -0
- ref_agents-1.0.0/tests/test_dotnet_support.py +810 -0
- ref_agents-1.0.0/tests/test_evaluate_gate.py +201 -0
- ref_agents-1.0.0/tests/test_external_detector.py +311 -0
- ref_agents-1.0.0/tests/test_flow_gap_detector.py +371 -0
- ref_agents-1.0.0/tests/test_flow_mapper.py +332 -0
- ref_agents-1.0.0/tests/test_full_suite_runner.py +467 -0
- ref_agents-1.0.0/tests/test_gherkin_parser.py +170 -0
- ref_agents-1.0.0/tests/test_greenfield_integration.py +78 -0
- ref_agents-1.0.0/tests/test_invest_scorer.py +162 -0
- ref_agents-1.0.0/tests/test_json_serialization.py +162 -0
- ref_agents-1.0.0/tests/test_language_detector.py +249 -0
- ref_agents-1.0.0/tests/test_main.py +858 -0
- ref_agents-1.0.0/tests/test_migration_mapper.py +859 -0
- ref_agents-1.0.0/tests/test_migration_planner.py +230 -0
- ref_agents-1.0.0/tests/test_migration_readiness_scanner.py +389 -0
- ref_agents-1.0.0/tests/test_parity_tester.py +223 -0
- ref_agents-1.0.0/tests/test_pattern_learner.py +625 -0
- ref_agents-1.0.0/tests/test_prompts.py +145 -0
- ref_agents-1.0.0/tests/test_python_version_validation.py +99 -0
- ref_agents-1.0.0/tests/test_security_scan.py +247 -0
- ref_agents-1.0.0/tests/test_sequencing_engine.py +230 -0
- ref_agents-1.0.0/tests/test_summary_generator.py +241 -0
- ref_agents-1.0.0/tests/test_symbol_drift_gate.py +210 -0
- ref_agents-1.0.0/tests/test_symbol_resolver.py +236 -0
- ref_agents-1.0.0/tests/test_symbol_smoke_runner.py +317 -0
- ref_agents-1.0.0/tests/test_test_plan_validator.py +231 -0
- ref_agents-1.0.0/tests/test_test_smell_m1b.py +316 -0
- ref_agents-1.0.0/tests/test_test_smell_walker.py +411 -0
- ref_agents-1.0.0/tests/test_validation_primitives.py +147 -0
- ref_agents-1.0.0/tests/test_validator_architect.py +121 -0
- ref_agents-1.0.0/tests/test_validator_cutover_engineer.py +97 -0
- ref_agents-1.0.0/tests/test_validator_developer.py +99 -0
- ref_agents-1.0.0/tests/test_validator_discovery.py +71 -0
- ref_agents-1.0.0/tests/test_validator_forensic_engineer.py +109 -0
- ref_agents-1.0.0/tests/test_validator_impact_architect.py +99 -0
- ref_agents-1.0.0/tests/test_validator_migration_planner.py +79 -0
- ref_agents-1.0.0/tests/test_validator_parity_tester.py +88 -0
- ref_agents-1.0.0/tests/test_validator_platform_engineer.py +71 -0
- ref_agents-1.0.0/tests/test_validator_pr_reviewer.py +127 -0
- ref_agents-1.0.0/tests/test_validator_product_manager.py +171 -0
- ref_agents-1.0.0/tests/test_validator_qa_lead.py +143 -0
- ref_agents-1.0.0/tests/test_validator_scrum_master.py +182 -0
- ref_agents-1.0.0/tests/test_validator_security_owner.py +89 -0
- ref_agents-1.0.0/tests/test_validator_specifier.py +85 -0
- ref_agents-1.0.0/tests/test_validator_state_machine.py +154 -0
- ref_agents-1.0.0/tests/test_validator_strategist.py +101 -0
- ref_agents-1.0.0/tests/test_validator_tester.py +66 -0
- ref_agents-1.0.0/tests/test_validators_dispatcher.py +99 -0
- ref_agents-1.0.0/tests/test_workflow.py +1064 -0
- ref_agents-1.0.0/uv.lock +2275 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
name: Elite Quality Pipeline
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
# STAGE 1: LINT
|
|
11
|
+
lint:
|
|
12
|
+
name: 1. Lint & Static Analysis
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: astral-sh/setup-uv@v5
|
|
17
|
+
with:
|
|
18
|
+
enable-cache: true
|
|
19
|
+
- name: Set up Python
|
|
20
|
+
run: uv python install
|
|
21
|
+
- name: Validate Python Version
|
|
22
|
+
run: uv run python scripts/validate_python_version.py
|
|
23
|
+
- name: Install Dependencies
|
|
24
|
+
run: uv sync --all-extras --dev
|
|
25
|
+
- name: Lint (Ruff)
|
|
26
|
+
run: uv run ruff check .
|
|
27
|
+
- name: Format Check (Ruff)
|
|
28
|
+
run: uv run ruff format --check .
|
|
29
|
+
|
|
30
|
+
# STAGE 2: SECURITY
|
|
31
|
+
security:
|
|
32
|
+
name: 2. Security Scan
|
|
33
|
+
runs-on: ubuntu-latest
|
|
34
|
+
needs: lint
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/checkout@v4
|
|
37
|
+
- uses: astral-sh/setup-uv@v5
|
|
38
|
+
with:
|
|
39
|
+
enable-cache: true
|
|
40
|
+
- name: Set up Python
|
|
41
|
+
run: uv python install
|
|
42
|
+
- name: Install Dependencies
|
|
43
|
+
run: uv sync --all-extras --dev
|
|
44
|
+
- name: Secrets Scan (detect-secrets)
|
|
45
|
+
run: |
|
|
46
|
+
uv tool install detect-secrets
|
|
47
|
+
uv tool run detect-secrets scan --baseline .secrets.baseline .
|
|
48
|
+
- name: Dependency Audit (pip-audit)
|
|
49
|
+
run: |
|
|
50
|
+
uv tool install pip-audit
|
|
51
|
+
uv tool run pip-audit .
|
|
52
|
+
- name: Policy Scan (make audit)
|
|
53
|
+
run: |
|
|
54
|
+
uv run python -m ref_agents.security_scan --format json
|
|
55
|
+
|
|
56
|
+
# STAGE 3: TEST
|
|
57
|
+
test:
|
|
58
|
+
name: 3. Test & Coverage
|
|
59
|
+
runs-on: ubuntu-latest
|
|
60
|
+
needs: security
|
|
61
|
+
steps:
|
|
62
|
+
- uses: actions/checkout@v4
|
|
63
|
+
- uses: astral-sh/setup-uv@v5
|
|
64
|
+
with:
|
|
65
|
+
enable-cache: true
|
|
66
|
+
- name: Set up Python
|
|
67
|
+
run: uv python install
|
|
68
|
+
- name: Install Dependencies
|
|
69
|
+
run: uv sync --all-extras --dev
|
|
70
|
+
- name: Run Tests (Pytest)
|
|
71
|
+
run: uv run pytest --cov=src/ref_agents --cov-report=xml --cov-fail-under=0
|
|
72
|
+
|
|
73
|
+
# STAGE 4: BUILD
|
|
74
|
+
build:
|
|
75
|
+
name: 4. Build Artifacts
|
|
76
|
+
runs-on: ubuntu-latest
|
|
77
|
+
needs: test
|
|
78
|
+
steps:
|
|
79
|
+
- uses: actions/checkout@v4
|
|
80
|
+
- uses: astral-sh/setup-uv@v5
|
|
81
|
+
with:
|
|
82
|
+
enable-cache: true
|
|
83
|
+
- name: Set up Python
|
|
84
|
+
run: uv python install
|
|
85
|
+
- name: Build Wheel & Sdist
|
|
86
|
+
run: uv build
|
|
87
|
+
- name: Archive Artifacts
|
|
88
|
+
uses: actions/upload-artifact@v4
|
|
89
|
+
with:
|
|
90
|
+
name: python-package-dist
|
|
91
|
+
path: dist/
|
|
92
|
+
|
|
93
|
+
# STAGE 5: DEPLOY (Dry Run)
|
|
94
|
+
deploy:
|
|
95
|
+
name: 5. Deploy (Dry Run)
|
|
96
|
+
runs-on: ubuntu-latest
|
|
97
|
+
needs: build
|
|
98
|
+
if: github.ref == 'refs/heads/main'
|
|
99
|
+
steps:
|
|
100
|
+
- uses: actions/download-artifact@v4
|
|
101
|
+
with:
|
|
102
|
+
name: python-package-dist
|
|
103
|
+
path: dist/
|
|
104
|
+
- name: Simulate Deployment
|
|
105
|
+
run: |
|
|
106
|
+
echo "🚀 SIMULATING DEPLOYMENT..."
|
|
107
|
+
ls -R dist/
|
|
108
|
+
echo "✅ Ready to publish to PyPI"
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
pypi-publish:
|
|
10
|
+
name: Upload release to PyPI
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
environment:
|
|
13
|
+
name: pypi
|
|
14
|
+
url: https://pypi.org/p/ref-agents
|
|
15
|
+
permissions:
|
|
16
|
+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
|
17
|
+
contents: read # Required to checkout the repository
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0 # Fetch full history for tags
|
|
22
|
+
|
|
23
|
+
- name: Install uv
|
|
24
|
+
uses: astral-sh/setup-uv@v5
|
|
25
|
+
with:
|
|
26
|
+
version: "0.5.5"
|
|
27
|
+
|
|
28
|
+
- name: Build package
|
|
29
|
+
run: uv build
|
|
30
|
+
|
|
31
|
+
- name: Version Consistency Check
|
|
32
|
+
run: |
|
|
33
|
+
TAG_VERSION=${GITHUB_REF#refs/tags/v}
|
|
34
|
+
PYPROJECT_VERSION=$(grep -m 1 'version =' pyproject.toml | cut -d '"' -f 2)
|
|
35
|
+
echo "Tag: $TAG_VERSION"
|
|
36
|
+
echo "PyProject: $PYPROJECT_VERSION"
|
|
37
|
+
if [ "$TAG_VERSION" != "$PYPROJECT_VERSION" ]; then
|
|
38
|
+
echo "Error: Version mismatch! Tag is $TAG_VERSION but pyproject.toml is $PYPROJECT_VERSION"
|
|
39
|
+
exit 1
|
|
40
|
+
fi
|
|
41
|
+
|
|
42
|
+
- name: Check Metadata (Twine)
|
|
43
|
+
run: uv tool run twine check dist/*
|
|
44
|
+
|
|
45
|
+
- name: Publish package distributions to PyPI
|
|
46
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
name: Security Scan
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
security-scan:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout code
|
|
15
|
+
uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- name: Install uv
|
|
18
|
+
uses: astral-sh/setup-uv@v4
|
|
19
|
+
with:
|
|
20
|
+
version: "latest"
|
|
21
|
+
|
|
22
|
+
- name: Set up Python
|
|
23
|
+
run: uv python install 3.13
|
|
24
|
+
|
|
25
|
+
- name: Install dependencies
|
|
26
|
+
run: uv sync
|
|
27
|
+
|
|
28
|
+
- name: Run Security Scan
|
|
29
|
+
run: uv run python -m ref_agents.security_scan --format json > security_results.json
|
|
30
|
+
|
|
31
|
+
- name: Check Security Results
|
|
32
|
+
run: |
|
|
33
|
+
if grep -q '"passed": false' security_results.json; then
|
|
34
|
+
echo "❌ Security scan failed!"
|
|
35
|
+
cat security_results.json
|
|
36
|
+
exit 1
|
|
37
|
+
else
|
|
38
|
+
echo "✅ Security scan passed!"
|
|
39
|
+
cat security_results.json
|
|
40
|
+
fi
|
|
41
|
+
|
|
42
|
+
- name: Upload Security Report
|
|
43
|
+
if: always()
|
|
44
|
+
uses: actions/upload-artifact@v4
|
|
45
|
+
with:
|
|
46
|
+
name: security-report
|
|
47
|
+
path: ref-reports/security/
|
|
48
|
+
if-no-files-found: ignore
|
|
49
|
+
|
|
50
|
+
- name: Run Tests
|
|
51
|
+
run: uv run pytest tests/test_security_scan.py -v
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Python-generated files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[oc]
|
|
4
|
+
build/
|
|
5
|
+
dist/
|
|
6
|
+
wheels/
|
|
7
|
+
*.egg-info
|
|
8
|
+
|
|
9
|
+
# Virtual environments
|
|
10
|
+
.venv
|
|
11
|
+
|
|
12
|
+
# Test artifacts
|
|
13
|
+
.coverage
|
|
14
|
+
coverage.xml
|
|
15
|
+
htmlcov/
|
|
16
|
+
|
|
17
|
+
# Caches & IDEs
|
|
18
|
+
.cursor/
|
|
19
|
+
.idea/
|
|
20
|
+
.pytest_cache/
|
|
21
|
+
.mypy_cache/
|
|
22
|
+
.ruff_cache/
|
|
23
|
+
.DS_Store
|
|
24
|
+
.agent/
|
|
25
|
+
.ref_cache/
|
|
26
|
+
|
|
27
|
+
# MCP runtime logs (created in client project roots, not in ref-agents repo)
|
|
28
|
+
handoff_log.jsonl
|
|
29
|
+
|
|
30
|
+
# Session working files (ephemeral, not part of package)
|
|
31
|
+
tasks/
|
|
32
|
+
CLAUDE.md
|
|
33
|
+
|
|
34
|
+
# Documentation Iterations
|
|
35
|
+
GAP_ANALYSIS.md
|
|
36
|
+
docs/misc/
|
|
37
|
+
docs/pitch-deck/
|
|
38
|
+
|
|
39
|
+
# Research / presentation docs (not part of the package)
|
|
40
|
+
docs/ARXIV_SUBMISSION_GUIDE.md
|
|
41
|
+
docs/CONSOLE_SCREENS.md
|
|
42
|
+
docs/CONTEXT_CODEBASE_DIAGRAM.md
|
|
43
|
+
docs/RESEARCH_POTENTIAL.md
|
|
44
|
+
|
|
45
|
+
# Optional Documentation (not required for ref-agents runtime)
|
|
46
|
+
docs/architecture/
|
|
47
|
+
docs/design/
|
|
48
|
+
docs/features/
|
|
49
|
+
docs/guides/
|
|
50
|
+
docs/process/
|
|
51
|
+
docs/product/
|
|
52
|
+
docs/requirements/README.md
|
|
53
|
+
docs/requirements/FLOW_DIAGRAM.md
|
|
54
|
+
|
|
55
|
+
# Security Reports
|
|
56
|
+
bandit-report.json
|
|
57
|
+
pip-audit-report.json
|
|
58
|
+
*.json
|
|
59
|
+
|
|
60
|
+
# Committed supply-chain artifacts (regenerated via scripts/generate_sbom.py).
|
|
61
|
+
# NOTE: must override the blanket *.json ignore above — these ship as evidence.
|
|
62
|
+
!docs/sbom.json
|
|
63
|
+
!docs/runtime_licenses.json
|
|
64
|
+
|
|
65
|
+
# Generated Reports (auto-generated by agents, not needed in package)
|
|
66
|
+
ref-reports/
|
|
67
|
+
docs/project_status.md
|
|
68
|
+
|
|
69
|
+
# Per-story lifecycle artifacts (generated by REF agents, not permanent docs)
|
|
70
|
+
docs/analysis/
|
|
71
|
+
docs/closure/
|
|
72
|
+
docs/specs/
|
|
73
|
+
docs/test_repo/
|
|
74
|
+
|
|
75
|
+
# Playwright MCP cache
|
|
76
|
+
.playwright-mcp/
|
|
77
|
+
|
|
78
|
+
# Binary / exported assets (not source artifacts)
|
|
79
|
+
docs/*.html
|
|
80
|
+
docs/*.jpeg
|
|
81
|
+
docs/*.jpg
|
|
82
|
+
docs/*.png
|
|
83
|
+
|
|
84
|
+
# API Keys (never commit)
|
|
85
|
+
api_keys.json
|
|
86
|
+
src/ref_agents/api_keys.json
|
|
87
|
+
/docs/superpowers_concept_integration.txt
|
|
88
|
+
/docs/COMPLIANCE_METRICS.md
|
|
89
|
+
/docs/MARKETING_STORYBOARD.md
|
|
90
|
+
/docs/METRICS_SUMMARY.md
|
|
91
|
+
/docs/MIGRATION_MAP.md
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
3
|
+
rev: v0.14.10
|
|
4
|
+
hooks:
|
|
5
|
+
- id: ruff
|
|
6
|
+
args: [--fix, --exit-non-zero-on-fix]
|
|
7
|
+
- id: ruff-format
|
|
8
|
+
|
|
9
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
10
|
+
rev: v5.0.0
|
|
11
|
+
hooks:
|
|
12
|
+
- id: check-added-large-files
|
|
13
|
+
args: ['--maxkb=500']
|
|
14
|
+
- id: check-merge-conflict
|
|
15
|
+
- id: end-of-file-fixer
|
|
16
|
+
- id: trailing-whitespace
|
|
17
|
+
- id: check-yaml
|
|
18
|
+
- id: check-json
|
|
19
|
+
- id: check-toml
|
|
20
|
+
|
|
21
|
+
- repo: local
|
|
22
|
+
hooks:
|
|
23
|
+
- id: detect-secrets
|
|
24
|
+
name: detect-secrets (Audit)
|
|
25
|
+
entry: bash -c 'NEW_SECRETS=$(uv run detect-secrets scan . 2>/dev/null | uv run detect-secrets audit --diff --baseline .secrets.baseline - 2>/dev/null | grep -c "Secret Type" || true); [ "$NEW_SECRETS" -gt 0 ] && echo "❌ $NEW_SECRETS new secrets detected!" && exit 1 || echo "✅ No new secrets"'
|
|
26
|
+
language: system
|
|
27
|
+
pass_filenames: false
|
|
28
|
+
always_run: true
|
|
29
|
+
|
|
30
|
+
- id: bandit
|
|
31
|
+
name: bandit (SAST)
|
|
32
|
+
entry: bash -c 'uv run bandit -r src/ -f json -o bandit-report.json --exit-zero && uv run python -c "import json, sys; d=json.load(open(\"bandit-report.json\")); hc=[r for r in d.get(\"results\",[]) if r.get(\"issue_severity\") in [\"HIGH\",\"CRITICAL\"]]; sys.exit(1 if hc else 0)"'
|
|
33
|
+
language: system
|
|
34
|
+
pass_filenames: false
|
|
35
|
+
always_run: true
|
|
36
|
+
|
|
37
|
+
- id: pip-audit
|
|
38
|
+
name: pip-audit (Dependencies)
|
|
39
|
+
entry: bash -c 'uv run pip-audit . --desc --format json --output pip-audit-report.json 2>/dev/null || true; grep -qE "severity.*CRITICAL|severity.*HIGH" pip-audit-report.json 2>/dev/null && echo "❌ CRITICAL/HIGH vulnerabilities!" && exit 1 || echo "✅ Dependencies safe"'
|
|
40
|
+
language: system
|
|
41
|
+
pass_filenames: false
|
|
42
|
+
always_run: true
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
- repo: local
|
|
46
|
+
hooks:
|
|
47
|
+
- id: check-policy
|
|
48
|
+
name: Policy Scan (Security/License/URL)
|
|
49
|
+
entry: uv run python -m ref_agents.security_scan --no-report
|
|
50
|
+
language: system
|
|
51
|
+
pass_filenames: false
|
|
52
|
+
always_run: true
|
|
53
|
+
|
|
54
|
+
- id: check-lock
|
|
55
|
+
name: Check usage of uv.lock
|
|
56
|
+
entry: uv lock --check
|
|
57
|
+
language: system
|
|
58
|
+
pass_filenames: false
|
|
59
|
+
always_run: true
|
|
60
|
+
|
|
61
|
+
- id: pytest-collect
|
|
62
|
+
name: pytest (Test Collection & Import Check)
|
|
63
|
+
entry: bash -c 'uv run pytest --collect-only -q || (echo "❌ Test collection failed - fix imports before committing" && exit 1)'
|
|
64
|
+
language: system
|
|
65
|
+
pass_filenames: false
|
|
66
|
+
always_run: true
|
|
67
|
+
|
|
68
|
+
- id: pytest-fast
|
|
69
|
+
name: pytest (Fast Smoke Tests - Stop on First Failure)
|
|
70
|
+
entry: bash -c 'uv run pytest -x --maxfail=1 -q || (echo "❌ Tests failed - fix before committing" && exit 1)'
|
|
71
|
+
language: system
|
|
72
|
+
pass_filenames: false
|
|
73
|
+
always_run: true
|
|
74
|
+
|
|
75
|
+
- id: ruff-format-validate-all
|
|
76
|
+
name: Validate all files are formatted
|
|
77
|
+
entry: bash scripts/check-format.sh
|
|
78
|
+
language: system
|
|
79
|
+
pass_filenames: false
|
|
80
|
+
always_run: true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.5.0",
|
|
3
|
+
"plugins_used": [
|
|
4
|
+
{
|
|
5
|
+
"name": "ArtifactoryDetector"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"name": "AWSKeyDetector"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "AzureStorageKeyDetector"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Base64HighEntropyString",
|
|
15
|
+
"limit": 4.5
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "BasicAuthDetector"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "CloudantDetector"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "DiscordBotTokenDetector"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "GitHubTokenDetector"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "GitLabTokenDetector"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "HexHighEntropyString",
|
|
34
|
+
"limit": 3.0
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "IbmCloudIamDetector"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "IbmCosHmacDetector"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "IPPublicDetector"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "JwtTokenDetector"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "KeywordDetector",
|
|
50
|
+
"keyword_exclude": ""
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "MailchimpDetector"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "NpmDetector"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "OpenAIDetector"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "PrivateKeyDetector"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "PypiTokenDetector"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "SendGridDetector"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "SlackDetector"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "SoftlayerDetector"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "SquareOAuthDetector"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "StripeDetector"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "TelegramBotTokenDetector"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "TwilioKeyDetector"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"filters_used": [
|
|
90
|
+
{
|
|
91
|
+
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"path": "detect_secrets.filters.common.is_baseline_file",
|
|
95
|
+
"filename": ".secrets.baseline"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
|
|
99
|
+
"min_level": 2
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"path": "detect_secrets.filters.heuristic.is_likely_id_string"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"path": "detect_secrets.filters.heuristic.is_lock_file"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"path": "detect_secrets.filters.heuristic.is_potential_uuid"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"path": "detect_secrets.filters.heuristic.is_sequential_string"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"path": "detect_secrets.filters.heuristic.is_swagger_file"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"path": "detect_secrets.filters.heuristic.is_templated_secret"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"results": {
|
|
130
|
+
"Makefile": [
|
|
131
|
+
{
|
|
132
|
+
"type": "Secret Keyword",
|
|
133
|
+
"filename": "Makefile",
|
|
134
|
+
"hashed_secret": "e441659cd1b30148c99024a81228d16b63f772af",
|
|
135
|
+
"is_verified": false,
|
|
136
|
+
"line_number": 26
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"generated_at": "2025-12-26T12:10:33Z"
|
|
141
|
+
}
|