higpertext-cli 0.8.0__py3-none-any.whl
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.
- config/adapters_config.json +450 -0
- config/antigravity_agent_template.json +31 -0
- config/app_config.json +174 -0
- config/context_engine.json +33 -0
- config/environments/model_defaults.json +5 -0
- config/governance/branching_strategy.json +36 -0
- config/governance/deployment_gates.json +30 -0
- config/governance/guidelines_contract.json +54 -0
- config/governance/quality_gates.json +39 -0
- config/governance/section_rules.json +22 -0
- config/governance/security_guardrails.json +52 -0
- config/hooks/README.md +35 -0
- config/hooks/custom/test_output_limiter.json +9 -0
- config/hooks/global/session_prompt.json +9 -0
- config/htx_config.json +24 -0
- config/profile_learner.json +18 -0
- config/profiles/base_agent.json +40 -0
- config/profiles/base_auditor.json +19 -0
- config/profiles/base_developer.json +19 -0
- config/profiles/base_operator.json +16 -0
- config/profiles/global.json +33 -0
- config/profiles/software_developer.json +23 -0
- config/router_content.json +137 -0
- config/semantic_graph.json +66 -0
- config/workflows/ado_release_flow.json +38 -0
- config/workflows/docs-update.json +33 -0
- config/workflows/governance-check.yaml +26 -0
- config/workflows/guidelines-sync.json +40 -0
- config/workflows/higpertext-build.json +73 -0
- config/workflows/higpertext-plan.json +38 -0
- config/workflows/higpertext-review.json +41 -0
- config/workflows/pr-quality-check.json +56 -0
- config/workflows/quality-remediation.json +57 -0
- higpertext/__init__.py +18 -0
- higpertext/adapters/__init__.py +27 -0
- higpertext/adapters/adapter_utils.py +604 -0
- higpertext/adapters/claude_adapter/__init__.py +0 -0
- higpertext/adapters/claude_adapter/claude_adapter.py +154 -0
- higpertext/adapters/copilot_adapter/__init__.py +0 -0
- higpertext/adapters/copilot_adapter/copilot_adapter.py +231 -0
- higpertext/adapters/gemini_adapter/__init__.py +0 -0
- higpertext/adapters/gemini_adapter/gemini_adapter.py +211 -0
- higpertext/adapters/llm_formatter.py +46 -0
- higpertext/adapters/open_code_adapter/__init__.py +0 -0
- higpertext/adapters/open_code_adapter/open_code_adapter.py +480 -0
- higpertext/capabilities/capabilities_runner.py +216 -0
- higpertext/capabilities/common/agent-builder.json +54 -0
- higpertext/capabilities/common/agent-sync.json +34 -0
- higpertext/capabilities/common/code-skeletonizer.json +35 -0
- higpertext/capabilities/common/commit-report.json +42 -0
- higpertext/capabilities/common/context-assembler.json +37 -0
- higpertext/capabilities/common/context-budget-report.json +15 -0
- higpertext/capabilities/common/dep-manager.json +43 -0
- higpertext/capabilities/common/docs-sync.json +14 -0
- higpertext/capabilities/common/doctor.json +18 -0
- higpertext/capabilities/common/efficiency-meter.json +31 -0
- higpertext/capabilities/common/env-catalog.json +13 -0
- higpertext/capabilities/common/env-clean.json +14 -0
- higpertext/capabilities/common/env-logs.json +16 -0
- higpertext/capabilities/common/env-runner.json +23 -0
- higpertext/capabilities/common/env-status.json +13 -0
- higpertext/capabilities/common/env-stop.json +14 -0
- higpertext/capabilities/common/env-template.json +14 -0
- higpertext/capabilities/common/error-context-locator.json +23 -0
- higpertext/capabilities/common/eval-agent.json +33 -0
- higpertext/capabilities/common/file-map.json +17 -0
- higpertext/capabilities/common/governance-exception.json +54 -0
- higpertext/capabilities/common/graph-query.json +59 -0
- higpertext/capabilities/common/graph-rebuild.json +31 -0
- higpertext/capabilities/common/graph-visualize.json +37 -0
- higpertext/capabilities/common/grep-search.json +176 -0
- higpertext/capabilities/common/higpertext-tester.json +25 -0
- higpertext/capabilities/common/hook-health.json +19 -0
- higpertext/capabilities/common/hook-sync-check.json +19 -0
- higpertext/capabilities/common/hooks-manager.json +55 -0
- higpertext/capabilities/common/knowledge-asker.json +27 -0
- higpertext/capabilities/common/list-rules.json +27 -0
- higpertext/capabilities/common/llm-invoke.json +59 -0
- higpertext/capabilities/common/load-rules.json +37 -0
- higpertext/capabilities/common/memory-manager.json +65 -0
- higpertext/capabilities/common/quality-scan.json +21 -0
- higpertext/capabilities/common/quality-updater.json +35 -0
- higpertext/capabilities/common/rag-index.json +17 -0
- higpertext/capabilities/common/report-viewer.json +24 -0
- higpertext/capabilities/common/roadmap-report.json +37 -0
- higpertext/capabilities/common/scripts/_env_cli.py +65 -0
- higpertext/capabilities/common/scripts/agent_builder.py +60 -0
- higpertext/capabilities/common/scripts/agent_sync.py +56 -0
- higpertext/capabilities/common/scripts/ask_higpertext.py +38 -0
- higpertext/capabilities/common/scripts/code_skeletonizer.py +225 -0
- higpertext/capabilities/common/scripts/commit_report.py +134 -0
- higpertext/capabilities/common/scripts/context_assembler.py +70 -0
- higpertext/capabilities/common/scripts/context_budget_report.py +53 -0
- higpertext/capabilities/common/scripts/dep_manager.py +81 -0
- higpertext/capabilities/common/scripts/docs_sync.py +981 -0
- higpertext/capabilities/common/scripts/doctor.py +144 -0
- higpertext/capabilities/common/scripts/efficiency_meter.py +83 -0
- higpertext/capabilities/common/scripts/env_catalog.py +47 -0
- higpertext/capabilities/common/scripts/env_clean.py +30 -0
- higpertext/capabilities/common/scripts/env_logs.py +32 -0
- higpertext/capabilities/common/scripts/env_runner.py +53 -0
- higpertext/capabilities/common/scripts/env_status.py +38 -0
- higpertext/capabilities/common/scripts/env_stop.py +30 -0
- higpertext/capabilities/common/scripts/env_template.py +73 -0
- higpertext/capabilities/common/scripts/error_context_locator.py +138 -0
- higpertext/capabilities/common/scripts/eval_agent.py +80 -0
- higpertext/capabilities/common/scripts/file_map.py +95 -0
- higpertext/capabilities/common/scripts/governance_exception.py +116 -0
- higpertext/capabilities/common/scripts/graph_query.py +104 -0
- higpertext/capabilities/common/scripts/graph_rebuild.py +107 -0
- higpertext/capabilities/common/scripts/graph_visualize.py +76 -0
- higpertext/capabilities/common/scripts/grep_search.py +648 -0
- higpertext/capabilities/common/scripts/higpertext_tester.py +102 -0
- higpertext/capabilities/common/scripts/hook_health.py +149 -0
- higpertext/capabilities/common/scripts/hook_sync_check.py +134 -0
- higpertext/capabilities/common/scripts/hooks_manager.py +171 -0
- higpertext/capabilities/common/scripts/list_rules.py +175 -0
- higpertext/capabilities/common/scripts/llm_invoke.py +135 -0
- higpertext/capabilities/common/scripts/load_rules.py +379 -0
- higpertext/capabilities/common/scripts/memory_manager.py +210 -0
- higpertext/capabilities/common/scripts/presentation_engine.py +63 -0
- higpertext/capabilities/common/scripts/quality_scan.py +132 -0
- higpertext/capabilities/common/scripts/rag_index.py +39 -0
- higpertext/capabilities/common/scripts/report_viewer.py +106 -0
- higpertext/capabilities/common/scripts/roadmap_report.py +73 -0
- higpertext/capabilities/common/scripts/search_router.py +111 -0
- higpertext/capabilities/common/scripts/semantic_diff.py +166 -0
- higpertext/capabilities/common/scripts/semantic_search.py +43 -0
- higpertext/capabilities/common/scripts/session_control.py +136 -0
- higpertext/capabilities/common/scripts/smart_read.py +232 -0
- higpertext/capabilities/common/scripts/subagent_executor.py +143 -0
- higpertext/capabilities/common/scripts/sync_agents.py +353 -0
- higpertext/capabilities/common/scripts/task_decomposer.py +78 -0
- higpertext/capabilities/common/scripts/telemetry_report.py +36 -0
- higpertext/capabilities/common/search-router.json +24 -0
- higpertext/capabilities/common/semantic-diff.json +40 -0
- higpertext/capabilities/common/semantic-search.json +19 -0
- higpertext/capabilities/common/session-clean.json +20 -0
- higpertext/capabilities/common/session-start.json +44 -0
- higpertext/capabilities/common/smart-read.json +28 -0
- higpertext/capabilities/common/subagent-executor.json +25 -0
- higpertext/capabilities/common/sync-agents.json +32 -0
- higpertext/capabilities/common/task-decomposer.json +37 -0
- higpertext/capabilities/common/telemetry-report.json +23 -0
- higpertext/capabilities/git/__init__.py +0 -0
- higpertext/capabilities/git/committer.json +61 -0
- higpertext/capabilities/git/diff.json +33 -0
- higpertext/capabilities/git/ls-files.json +44 -0
- higpertext/capabilities/git/rm.json +27 -0
- higpertext/capabilities/git/scripts/__init__.py +0 -0
- higpertext/capabilities/git/scripts/commit_changes.py +1077 -0
- higpertext/capabilities/git/scripts/git_diff.py +171 -0
- higpertext/capabilities/git/scripts/git_ls_files.py +376 -0
- higpertext/capabilities/git/scripts/git_rm.py +62 -0
- higpertext/capabilities/security/k8s-auditor.json +33 -0
- higpertext/capabilities/security/scripts/k8s_auditor.py +307 -0
- higpertext/capabilities/security/scripts/secret_scanner.py +235 -0
- higpertext/capabilities/security/secret-scanner.json +32 -0
- higpertext/hooks/__init__.py +28 -0
- higpertext/hooks/_compat.py +27 -0
- higpertext/hooks/hook_tasks/__init__.py +1 -0
- higpertext/hooks/hook_tasks/_rules/__init__.py +0 -0
- higpertext/hooks/hook_tasks/_rules/bash_rules.py +635 -0
- higpertext/hooks/hook_tasks/_rules/context_engine_rule.py +79 -0
- higpertext/hooks/hook_tasks/_rules/context_rules.py +199 -0
- higpertext/hooks/hook_tasks/_rules/governance_adapter.py +72 -0
- higpertext/hooks/hook_tasks/_rules/profile_rules.json +25 -0
- higpertext/hooks/hook_tasks/_rules/quality_rules.py +86 -0
- higpertext/hooks/hook_tasks/_rules/security_rules.py +214 -0
- higpertext/hooks/hook_tasks/_rules/session_rules.py +316 -0
- higpertext/hooks/hook_tasks/_rules/telemetry_rules.py +121 -0
- higpertext/hooks/hook_tasks/audit_logger_hook.py +28 -0
- higpertext/hooks/hook_tasks/hook_bash_guard.py +101 -0
- higpertext/hooks/hook_tasks/hook_code_quality.py +48 -0
- higpertext/hooks/hook_tasks/hook_context_hint.py +46 -0
- higpertext/hooks/hook_tasks/hook_context_manager.py +44 -0
- higpertext/hooks/hook_tasks/hook_io.py +122 -0
- higpertext/hooks/hook_tasks/hook_loop_guard.py +182 -0
- higpertext/hooks/hook_tasks/hook_post_observer.py +54 -0
- higpertext/hooks/hook_tasks/hook_read_guard.py +85 -0
- higpertext/hooks/hook_tasks/hook_security_guard.py +81 -0
- higpertext/hooks/hook_tasks/hook_session_prompt.py +83 -0
- higpertext/hooks/hook_tasks/hook_session_stop.py +115 -0
- higpertext/hooks/hook_tasks/hook_utils.py +144 -0
- higpertext/hooks/hook_tasks/session_guard_hook.py +23 -0
- higpertext/hooks/hook_tasks/telemetry_utils.py +176 -0
- higpertext/hooks/hook_tasks/test_echo_hook.py +33 -0
- higpertext/hooks/hook_tasks/webhook_hook.py +54 -0
- higpertext/hooks/hook_tasks/workflow_runner_hook.py +49 -0
- higpertext/hooks/hooks_catalog.json +116 -0
- higpertext/kernel/__init__.py +63 -0
- higpertext/kernel/_compat.py +138 -0
- higpertext/kernel/app_config.py +117 -0
- higpertext/kernel/application/__init__.py +13 -0
- higpertext/kernel/application/agent_registry.py +102 -0
- higpertext/kernel/application/capability_manager.py +61 -0
- higpertext/kernel/application/commit_reporter.py +247 -0
- higpertext/kernel/application/context_builder.py +166 -0
- higpertext/kernel/application/context_engine.py +409 -0
- higpertext/kernel/application/engine.py +41 -0
- higpertext/kernel/application/env_runtime.py +174 -0
- higpertext/kernel/application/environment_manager.py +154 -0
- higpertext/kernel/application/governance.py +192 -0
- higpertext/kernel/application/hook_registry.py +102 -0
- higpertext/kernel/application/hook_renderer.py +720 -0
- higpertext/kernel/application/ports.py +49 -0
- higpertext/kernel/application/profile_learner.py +358 -0
- higpertext/kernel/application/profile_service.py +205 -0
- higpertext/kernel/application/profile_services.py +6 -0
- higpertext/kernel/application/profile_use_cases.py +93 -0
- higpertext/kernel/application/rag_service.py +75 -0
- higpertext/kernel/application/roadmap_reporter.py +178 -0
- higpertext/kernel/application/semantic_engine.py +258 -0
- higpertext/kernel/application/session_services.py +33 -0
- higpertext/kernel/application/skill_hook_compiler.py +85 -0
- higpertext/kernel/application/telemetry.py +326 -0
- higpertext/kernel/application/workflow_manager.py +176 -0
- higpertext/kernel/config_paths.py +66 -0
- higpertext/kernel/domain/__init__.py +12 -0
- higpertext/kernel/domain/agent_registry.py +23 -0
- higpertext/kernel/domain/commit_reporter.py +155 -0
- higpertext/kernel/domain/compilers.py +7 -0
- higpertext/kernel/domain/context_engine.py +319 -0
- higpertext/kernel/domain/entities.py +51 -0
- higpertext/kernel/domain/env_runtime.py +62 -0
- higpertext/kernel/domain/governance.py +198 -0
- higpertext/kernel/domain/hook_models.py +29 -0
- higpertext/kernel/domain/profile_learner.py +186 -0
- higpertext/kernel/domain/rag.py +70 -0
- higpertext/kernel/domain/repositories.py +8 -0
- higpertext/kernel/domain/roadmap_reporter.py +80 -0
- higpertext/kernel/domain/semantic_engine.py +107 -0
- higpertext/kernel/engine.py +42 -0
- higpertext/kernel/htx_resolver.py +69 -0
- higpertext/kernel/infrastructure/__init__.py +13 -0
- higpertext/kernel/infrastructure/agent_registry.py +40 -0
- higpertext/kernel/infrastructure/cache/capability_cache.py +319 -0
- higpertext/kernel/infrastructure/capability_helper.py +40 -0
- higpertext/kernel/infrastructure/cli/__init__.py +1 -0
- higpertext/kernel/infrastructure/cli/agent_commands.py +62 -0
- higpertext/kernel/infrastructure/cli/arguments.py +39 -0
- higpertext/kernel/infrastructure/cli/capability_command_builder.py +86 -0
- higpertext/kernel/infrastructure/cli/capability_task_service.py +234 -0
- higpertext/kernel/infrastructure/cli/cli_search.py +234 -0
- higpertext/kernel/infrastructure/cli/parameter_contracts.py +83 -0
- higpertext/kernel/infrastructure/cli/parser_builder.py +122 -0
- higpertext/kernel/infrastructure/cli/profile_commands.py +89 -0
- higpertext/kernel/infrastructure/cli/roadmap_commands.py +117 -0
- higpertext/kernel/infrastructure/cli/router.py +1110 -0
- higpertext/kernel/infrastructure/cli/session_commands.py +36 -0
- higpertext/kernel/infrastructure/cli/task_commands.py +23 -0
- higpertext/kernel/infrastructure/cli/task_result_reporter.py +56 -0
- higpertext/kernel/infrastructure/cli/workflow_commands.py +25 -0
- higpertext/kernel/infrastructure/compilers/__init__.py +3 -0
- higpertext/kernel/infrastructure/compilers/factory.py +27 -0
- higpertext/kernel/infrastructure/compilers/graph_compiler.py +20 -0
- higpertext/kernel/infrastructure/compilers/guide_compiler.py +50 -0
- higpertext/kernel/infrastructure/compilers/hook_compiler.py +69 -0
- higpertext/kernel/infrastructure/compilers/playbook_compiler.py +154 -0
- higpertext/kernel/infrastructure/context_engine.py +303 -0
- higpertext/kernel/infrastructure/database/local_vector_store.py +99 -0
- higpertext/kernel/infrastructure/deployment/__init__.py +1 -0
- higpertext/kernel/infrastructure/deployment/resource_deployer.py +283 -0
- higpertext/kernel/infrastructure/diagnostics/__init__.py +1 -0
- higpertext/kernel/infrastructure/diagnostics/health.py +191 -0
- higpertext/kernel/infrastructure/env_runtime.py +227 -0
- higpertext/kernel/infrastructure/execution/__init__.py +1 -0
- higpertext/kernel/infrastructure/execution/parallel.py +188 -0
- higpertext/kernel/infrastructure/execution/resilience.py +155 -0
- higpertext/kernel/infrastructure/file_repositories.py +213 -0
- higpertext/kernel/infrastructure/governance.py +198 -0
- higpertext/kernel/infrastructure/hook_config_loader.py +53 -0
- higpertext/kernel/infrastructure/hook_webhook_dispatcher.py +61 -0
- higpertext/kernel/infrastructure/hook_workflow_bridge.py +60 -0
- higpertext/kernel/infrastructure/llm/__init__.py +6 -0
- higpertext/kernel/infrastructure/llm/provider.py +46 -0
- higpertext/kernel/infrastructure/llm/providers/__init__.py +0 -0
- higpertext/kernel/infrastructure/llm/providers/anthropic_provider.py +94 -0
- higpertext/kernel/infrastructure/llm/providers/gemini_embeddings.py +74 -0
- higpertext/kernel/infrastructure/llm/providers/gemini_provider.py +101 -0
- higpertext/kernel/infrastructure/llm/providers/ollama_provider.py +110 -0
- higpertext/kernel/infrastructure/llm/providers/openai_provider.py +98 -0
- higpertext/kernel/infrastructure/llm/registry.py +81 -0
- higpertext/kernel/infrastructure/logger.py +303 -0
- higpertext/kernel/infrastructure/output_store.py +70 -0
- higpertext/kernel/infrastructure/parser/__init__.py +1 -0
- higpertext/kernel/infrastructure/parser/code_chunker.py +144 -0
- higpertext/kernel/infrastructure/parser/language/__init__.py +14 -0
- higpertext/kernel/infrastructure/parser/language/base.py +41 -0
- higpertext/kernel/infrastructure/parser/language/powershell_parser.py +35 -0
- higpertext/kernel/infrastructure/parser/language/python_parser.py +98 -0
- higpertext/kernel/infrastructure/parser/language/typescript_parser.py +91 -0
- higpertext/kernel/infrastructure/parser/semantic_graph.py +409 -0
- higpertext/kernel/infrastructure/presentation/__init__.py +1 -0
- higpertext/kernel/infrastructure/presentation/html_renderer.py +137 -0
- higpertext/kernel/infrastructure/presentation/markdown_renderer.py +84 -0
- higpertext/kernel/infrastructure/presentation/markdown_report_renderer.py +97 -0
- higpertext/kernel/infrastructure/profile_store.py +28 -0
- higpertext/kernel/infrastructure/semantic_engine.py +289 -0
- higpertext/kernel/infrastructure/telemetry_reporter.py +132 -0
- higpertext/kernel/infrastructure/validation/__init__.py +1 -0
- higpertext/kernel/infrastructure/validation/contract_validator.py +163 -0
- higpertext/kernel/pkg_resources.py +38 -0
- higpertext/kernel/session_manager.py +319 -0
- higpertext/templates/env/generic-shell.yaml +21 -0
- higpertext/templates/env/node-vitest.yaml +27 -0
- higpertext/templates/env/python-pytest.yaml +29 -0
- higpertext/templates/html/commit_body.html +20 -0
- higpertext/templates/html/commit_diff.html +4 -0
- higpertext/templates/html/commit_index.html +29 -0
- higpertext/templates/html/commit_layer.html +11 -0
- higpertext/templates/html/commit_shell.html +28 -0
- higpertext/templates/html/graph_visualize.html +86 -0
- higpertext/templates/html/roadmap_body.html +12 -0
- higpertext/templates/html/roadmap_phase.html +5 -0
- higpertext/templates/html/roadmap_shell.html +29 -0
- higpertext/templates/markdown/commit_report.md +18 -0
- higpertext/templates/markdown/efficiency_report.md +12 -0
- higpertext/templates/markdown/roadmap_report.md +25 -0
- higpertext/templates/skills/best-practices.md +7 -0
- higpertext/templates/skills/clean-code.md +8 -0
- higpertext/templates/skills/ddd-standards.md +7 -0
- higpertext/templates/skills/tdd-practices.md +7 -0
- higpertext/templates/subagents/architect.md +7 -0
- higpertext/templates/subagents/test-engineer.md +7 -0
- higpertext/templates/workflows/build.json +23 -0
- higpertext/templates/workflows/compact.json +21 -0
- higpertext/templates/workflows/plan.json +59 -0
- higpertext/templates/workflows/review.json +26 -0
- higpertext/templates/workflows/spec.json +27 -0
- higpertext_cli-0.8.0.dist-info/METADATA +35 -0
- higpertext_cli-0.8.0.dist-info/RECORD +335 -0
- higpertext_cli-0.8.0.dist-info/WHEEL +5 -0
- higpertext_cli-0.8.0.dist-info/entry_points.txt +2 -0
- higpertext_cli-0.8.0.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"stopwords": [
|
|
3
|
+
"el", "la", "los", "las", "de", "del", "un", "una", "unos", "unas",
|
|
4
|
+
"que", "con", "por", "para", "como", "este", "esta", "estos", "estas",
|
|
5
|
+
"mi", "tu", "su", "sus", "lo", "le", "se", "en", "al", "más", "muy",
|
|
6
|
+
"sistema", "necesito", "quiero", "hacer", "aqui", "aquí",
|
|
7
|
+
"the", "and", "for", "with", "from", "that", "this", "into", "when"
|
|
8
|
+
],
|
|
9
|
+
"state_file_path": ".higpertext/state/window_state.json",
|
|
10
|
+
"window_limit": {
|
|
11
|
+
"env_var": "HIGPERTEXT_WINDOW_LIMIT",
|
|
12
|
+
"default_str": "200000",
|
|
13
|
+
"default_int": 200000
|
|
14
|
+
},
|
|
15
|
+
"roadmap": {
|
|
16
|
+
"version": "1.0.0",
|
|
17
|
+
"default_project": "task-graph",
|
|
18
|
+
"fallback_skills": ["clean-code", "best-practices"],
|
|
19
|
+
"fallback_subagents": ["architect", "test-engineer"],
|
|
20
|
+
"name_truncation": 60,
|
|
21
|
+
"project_truncation": 50
|
|
22
|
+
},
|
|
23
|
+
"markdown": {
|
|
24
|
+
"symbols_header": "## Símbolos relevantes",
|
|
25
|
+
"memories_header": "## Memorias aplicables",
|
|
26
|
+
"skeletons_header": "## Esqueletos de archivos",
|
|
27
|
+
"efficiency_report_title": "# Efficiency Report — {session_id}",
|
|
28
|
+
"efficiency_table_header": [
|
|
29
|
+
"| Métrica | Valor |",
|
|
30
|
+
"|---------|-------|"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.0",
|
|
3
|
+
"protected_branches": ["main", "develop", "release/*"],
|
|
4
|
+
"branch_naming": {
|
|
5
|
+
"feature": "feature/{ticket}-{description}",
|
|
6
|
+
"hotfix": "hotfix/{ticket}-{description}",
|
|
7
|
+
"release": "release/{semver}",
|
|
8
|
+
"bugfix": "bugfix/{ticket}-{description}",
|
|
9
|
+
"fix": "fix/{ticket}-{description}"
|
|
10
|
+
},
|
|
11
|
+
"merge_strategy": {
|
|
12
|
+
"main": "squash",
|
|
13
|
+
"develop": "rebase",
|
|
14
|
+
"feature": "merge"
|
|
15
|
+
},
|
|
16
|
+
"rules": [
|
|
17
|
+
{
|
|
18
|
+
"id": "no-direct-push-main",
|
|
19
|
+
"pattern": "git\\s+push\\s+(origin\\s+)?main\\b",
|
|
20
|
+
"severity": "block",
|
|
21
|
+
"reason": "Push directo a main prohibido — usar PR con al menos 1 review aprobado"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "no-direct-push-develop",
|
|
25
|
+
"pattern": "git\\s+push\\s+(origin\\s+)?develop\\b",
|
|
26
|
+
"severity": "block",
|
|
27
|
+
"reason": "Push directo a develop prohibido — las features deben integrarse vía PR"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "no-direct-push-release",
|
|
31
|
+
"pattern": "git\\s+push\\s+(origin\\s+)?release/",
|
|
32
|
+
"severity": "block",
|
|
33
|
+
"reason": "Push directo a release/* prohibido — solo hotfixes vía PR con aprobación de seguridad"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.0",
|
|
3
|
+
"production_windows": {
|
|
4
|
+
"days": ["Tuesday", "Wednesday", "Thursday"],
|
|
5
|
+
"start_utc": "10:00",
|
|
6
|
+
"end_utc": "16:00"
|
|
7
|
+
},
|
|
8
|
+
"required_approvals": {
|
|
9
|
+
"production": 2,
|
|
10
|
+
"staging": 1
|
|
11
|
+
},
|
|
12
|
+
"strategy": {
|
|
13
|
+
"min_sla_canary": 99.5,
|
|
14
|
+
"preferred": "blue-green"
|
|
15
|
+
},
|
|
16
|
+
"blocked_patterns": [
|
|
17
|
+
{
|
|
18
|
+
"id": "no-prod-deploy-agent",
|
|
19
|
+
"pattern": "deploy.*prod|kubectl.*apply.*prod|helm.*upgrade.*prod",
|
|
20
|
+
"severity": "warn",
|
|
21
|
+
"reason": "Deploy a producción requiere aprobación humana explícita via deployment gate"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "no-force-recreate-prod",
|
|
25
|
+
"pattern": "kubectl.*--force.*prod|docker.*rm.*prod",
|
|
26
|
+
"severity": "block",
|
|
27
|
+
"reason": "Recreación forzada en producción prohibida sin ventana de mantenimiento aprobada"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"code_quality_limits": {
|
|
3
|
+
"max_function_lines": 30,
|
|
4
|
+
"max_class_lines": 200
|
|
5
|
+
},
|
|
6
|
+
"guidelines": {
|
|
7
|
+
"security": [
|
|
8
|
+
"Never hardcode secrets, tokens, or credentials in source code or configuration files.",
|
|
9
|
+
"All secrets must be referenced via environment variables or a secrets manager.",
|
|
10
|
+
"Exposed secrets must be rotated immediately and the incident logged in the postmortem.",
|
|
11
|
+
"Container images must be scanned for CVEs before deployment.",
|
|
12
|
+
"Principle of least privilege applies to all service accounts and IAM roles.",
|
|
13
|
+
"SSH keys and PATs must have a maximum expiry of 90 days."
|
|
14
|
+
],
|
|
15
|
+
"pull_requests": [
|
|
16
|
+
"Every PR must have at least one approved review before merge.",
|
|
17
|
+
"PR titles must follow conventional commits format: type(scope): description.",
|
|
18
|
+
"PRs must not decrease code coverage below the project threshold.",
|
|
19
|
+
"Merge strategy: squash merge on main; rebase merge on feature branches.",
|
|
20
|
+
"PRs touching infrastructure or secrets require a second reviewer from the security team.",
|
|
21
|
+
"Draft PRs must not be merged until explicitly marked ready."
|
|
22
|
+
],
|
|
23
|
+
"deployments": [
|
|
24
|
+
"No deployment to production without a passing CI pipeline on the target commit.",
|
|
25
|
+
"Production deployments require explicit human approval via the deployment gate.",
|
|
26
|
+
"Rollback procedures must be documented and tested before each release.",
|
|
27
|
+
"Blue/green or canary strategy is mandatory for services with SLA > 99.5%.",
|
|
28
|
+
"Deployment windows for production: Tuesday\u2013Thursday 10:00\u201316:00 UTC only.",
|
|
29
|
+
"All deployments must emit a deployment event to the audit log."
|
|
30
|
+
],
|
|
31
|
+
"code_quality": [
|
|
32
|
+
"Functions must not exceed 30 lines; classes must not exceed 200 lines.",
|
|
33
|
+
"Cyclomatic complexity must stay below 10 per function.",
|
|
34
|
+
"All public APIs must have typed signatures.",
|
|
35
|
+
"No commented-out code in merged branches.",
|
|
36
|
+
"Test coverage must be >= 80% for new modules."
|
|
37
|
+
],
|
|
38
|
+
"doc_as_code": [
|
|
39
|
+
"Documentation must be version-controlled in Markdown format alongside the source code.",
|
|
40
|
+
"Any code modification that changes public interfaces or behavior must update the corresponding docs in the same commit or PR.",
|
|
41
|
+
"Documents must be modular, avoiding duplicate explanations (DRY documentation).",
|
|
42
|
+
"Format documentation according to standard Markdown lint rules.",
|
|
43
|
+
"Links within documentation must be relative and verified to prevent broken paths."
|
|
44
|
+
],
|
|
45
|
+
"gitflow_commits": [
|
|
46
|
+
"Commit messages must follow the Conventional Commits specification (e.g., feat(scope): description).",
|
|
47
|
+
"Keep commits atomic: each commit should represent a single logical change with passing tests.",
|
|
48
|
+
"Feature branches must be branched from 'develop' and merged back via Pull Requests, never directly.",
|
|
49
|
+
"Release branches must be created from 'develop' and merged into both 'main' and 'develop'.",
|
|
50
|
+
"Hotfixes must be branched from 'main' and merged back to both 'main' and 'develop' immediately after validation.",
|
|
51
|
+
"Always rebase feature branches against 'develop' before merging to ensure a clean commit history."
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.0",
|
|
3
|
+
"severity": "warn",
|
|
4
|
+
"code_quality_limits": {
|
|
5
|
+
"max_function_lines": 30,
|
|
6
|
+
"max_class_lines": 200,
|
|
7
|
+
"max_cyclomatic_complexity": 10,
|
|
8
|
+
"min_test_coverage": 80
|
|
9
|
+
},
|
|
10
|
+
"gitflow_limits": {
|
|
11
|
+
"max_uncommitted_files": 5
|
|
12
|
+
},
|
|
13
|
+
"rules": [
|
|
14
|
+
{
|
|
15
|
+
"id": "max-function-lines",
|
|
16
|
+
"description": "Functions must not exceed 30 lines",
|
|
17
|
+
"threshold": 30,
|
|
18
|
+
"severity": "warn"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "max-class-lines",
|
|
22
|
+
"description": "Classes must not exceed 200 lines",
|
|
23
|
+
"threshold": 200,
|
|
24
|
+
"severity": "warn"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "min-coverage",
|
|
28
|
+
"description": "Test coverage must be >= 80% for new modules",
|
|
29
|
+
"threshold": 80,
|
|
30
|
+
"severity": "warn"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "max-uncommitted",
|
|
34
|
+
"description": "No more than 5 files modified without committing",
|
|
35
|
+
"threshold": 5,
|
|
36
|
+
"severity": "warn"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"section_map": {
|
|
3
|
+
"security": { "scope": "any", "severity": "critical" },
|
|
4
|
+
"pull_requests": { "scope": "pr", "severity": "high" },
|
|
5
|
+
"deployments": { "scope": "deploy", "severity": "high" },
|
|
6
|
+
"code_quality": { "scope": "commit", "severity": "medium" },
|
|
7
|
+
"doc_as_code": { "scope": "pr", "severity": "low" },
|
|
8
|
+
"gitflow_commits": { "scope": "commit", "severity": "high" }
|
|
9
|
+
},
|
|
10
|
+
"automated_rule_positions": [
|
|
11
|
+
{ "section": "security", "index": 1, "comment": "Never hardcode secrets" },
|
|
12
|
+
{ "section": "code_quality", "index": 1, "comment": "Functions must not exceed 30 lines" },
|
|
13
|
+
{ "section": "code_quality", "index": 5, "comment": "Test coverage >= 80%" },
|
|
14
|
+
{ "section": "gitflow_commits", "index": 1, "comment": "Conventional Commits format" }
|
|
15
|
+
],
|
|
16
|
+
"canonical_ids": [
|
|
17
|
+
{ "section": "security", "index": 1, "id": "security.no-hardcoded-secrets" },
|
|
18
|
+
{ "section": "code_quality", "index": 1, "id": "code_quality.max-function-lines" },
|
|
19
|
+
{ "section": "code_quality", "index": 5, "id": "code_quality.min-coverage" },
|
|
20
|
+
{ "section": "gitflow_commits", "index": 1, "id": "gitflow_commits.conventional-format" }
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"blocked_patterns": [
|
|
4
|
+
{ "pattern": "\\bsudo\\b", "reason": "sudo no permitido por política de seguridad", "severity": "block" },
|
|
5
|
+
{ "pattern": "\\bgit\\s+push\\b", "reason": "git push es acción exclusiva del usuario — el agente no puede publicar cambios al remoto", "severity": "block" },
|
|
6
|
+
{ "pattern": "\\brm\\s+-rf\\s+/", "reason": "eliminación recursiva de raíz del sistema prohibida", "severity": "block" },
|
|
7
|
+
{ "pattern": "\\bcurl\\b.*\\|.*\\bsh\\b", "reason": "pipe de red a shell es vector de ataque de supply chain", "severity": "block" },
|
|
8
|
+
{ "pattern": "\\bchmod\\s+777\\b", "reason": "permisos world-writable prohibidos por política de seguridad", "severity": "block" },
|
|
9
|
+
{ "pattern": "\\bgit\\s+push\\s+--force\\b", "reason": "force push puede destruir historial compartido", "severity": "block" },
|
|
10
|
+
{ "pattern": "\\bdropdb\\b|\\bdrop\\s+database\\b", "reason": "eliminación de base de datos requiere aprobación humana explícita", "severity": "block" },
|
|
11
|
+
{ "pattern": "\\bmkfs(\\.|\\s|$)", "reason": "formateo de discos prohibido para agentes", "severity": "block" },
|
|
12
|
+
{ "pattern": "\\bdd\\s+.*\\bif=", "reason": "operaciones raw de disco con dd requieren intervención humana", "severity": "block" },
|
|
13
|
+
{ "pattern": "\\bshutdown\\b|\\breboot\\b", "reason": "apagado o reinicio del sistema prohibido para agentes", "severity": "block" },
|
|
14
|
+
{ "pattern": "\\bterraform\\s+destroy\\b", "reason": "destrucción de infraestructura requiere aprobación humana explícita", "severity": "block" },
|
|
15
|
+
{ "pattern": "\\bkubectl\\s+delete\\s+namespace\\b", "reason": "eliminación de namespaces de cluster prohibida para agentes", "severity": "block" },
|
|
16
|
+
{ "pattern": "\\bdocker\\s+system\\s+prune\\b", "reason": "limpieza destructiva de Docker prohibida para agentes", "severity": "block" },
|
|
17
|
+
{ "pattern": "\\baws\\b.*\\bdelete\\b", "reason": "borrado de recursos cloud requiere aprobación humana explícita", "severity": "block" },
|
|
18
|
+
{ "pattern": "\\baz\\s+group\\s+delete\\b", "reason": "borrado de resource groups requiere aprobación humana explícita", "severity": "block" },
|
|
19
|
+
{ "pattern": "\\bgcloud\\b.*\\bdelete\\b", "reason": "borrado de recursos cloud requiere aprobación humana explícita", "severity": "block" }
|
|
20
|
+
],
|
|
21
|
+
"approval_patterns": [
|
|
22
|
+
{ "pattern": "\\bdeploy\\b.*\\b(prod|production)\\b", "reason": "deploy a producción requiere aprobación humana explícita" },
|
|
23
|
+
{ "pattern": "\\bsecrets?\\s+rotate\\b", "reason": "rotación de secretos requiere aprobación humana explícita" }
|
|
24
|
+
],
|
|
25
|
+
"warning_patterns": [
|
|
26
|
+
{ "pattern": "\\bdocker\\s+compose\\s+down\\b", "reason": "docker compose down puede interrumpir servicios locales", "severity": "warn" }
|
|
27
|
+
],
|
|
28
|
+
"guardrails": {
|
|
29
|
+
"forbidden_commands": [
|
|
30
|
+
"rm -rf /",
|
|
31
|
+
"mkfs",
|
|
32
|
+
"dd if=",
|
|
33
|
+
"shutdown",
|
|
34
|
+
"reboot",
|
|
35
|
+
"git push --force"
|
|
36
|
+
],
|
|
37
|
+
"require_human_approval": [
|
|
38
|
+
"production.deploy",
|
|
39
|
+
"cluster.destroy",
|
|
40
|
+
"database.drop",
|
|
41
|
+
"secrets.rotate"
|
|
42
|
+
],
|
|
43
|
+
"max_execution_timeout_seconds": 300
|
|
44
|
+
},
|
|
45
|
+
"data_masking": {
|
|
46
|
+
"patterns": [
|
|
47
|
+
{"name": "ADO_PAT", "regex": "(?i)ado_pat[\\s:=]+[a-zA-Z0-9]{20,50}", "mask": "ADO_PAT=********[MASKED]"},
|
|
48
|
+
{"name": "API_KEY", "regex": "(?i)api_key[\\s:=]+[a-zA-Z0-9_\\-]{15,}", "mask": "API_KEY=********[MASKED]"},
|
|
49
|
+
{"name": "SSH_KEY", "regex": "-----BEGIN (RSA|OPENSSH|PRIVATE) KEY-----.*?-----END \\1 KEY-----", "mask": "-----BEGIN PRIVATE KEY-----[MASKED]-----END PRIVATE KEY-----"}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
}
|
config/hooks/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Agent Hooks — Capa de Integración
|
|
2
|
+
|
|
3
|
+
Esta carpeta es propiedad del desarrollador del agente.
|
|
4
|
+
|
|
5
|
+
## Estructura
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
src/hooks/
|
|
9
|
+
├── global/ ← SOLO higpertext Engine escribe aquí (no editar)
|
|
10
|
+
├── profiles/
|
|
11
|
+
│ └── <perfil>/ ← hooks activados cuando ese perfil está activo
|
|
12
|
+
└── custom/ ← hooks libres, sin restricción de perfil
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Esquema de un hook (JSON)
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"id": "custom.mi_hook",
|
|
20
|
+
"event": "PreToolUse | PostToolUse | UserPromptSubmit | Stop",
|
|
21
|
+
"matcher": "Bash | ''",
|
|
22
|
+
"script": "ruta/al/script.py",
|
|
23
|
+
"timeout": 10,
|
|
24
|
+
"priority": 2,
|
|
25
|
+
"override": false,
|
|
26
|
+
"description": "Qué hace este hook"
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- `priority`: 0=global, 1=perfil, 2=custom. A mayor número, mayor precedencia en override.
|
|
31
|
+
- `override`: si `true`, reemplaza el hook de perfil con el mismo `id` base.
|
|
32
|
+
|
|
33
|
+
## Compilación
|
|
34
|
+
|
|
35
|
+
`python htx.py agent init --profile <nombre>` compila estas capas en `.higpertext/config/hooks_config.json`.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "custom.test_output_limiter",
|
|
3
|
+
"event": "PostToolUse",
|
|
4
|
+
"matcher": "Bash|higpertext_task|higpertext_workflow",
|
|
5
|
+
"script": "src/hooks/custom/test_output_limiter.py",
|
|
6
|
+
"timeout": 15,
|
|
7
|
+
"priority": 10,
|
|
8
|
+
"description": "Intercepta y limita la salida del test runner para evitar bloat en el contexto del LLM"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "global.session_prompt",
|
|
3
|
+
"event": "UserPromptSubmit",
|
|
4
|
+
"matcher": "",
|
|
5
|
+
"script": "src/higpertext/hooks/hook_tasks/hook_session_prompt.py",
|
|
6
|
+
"timeout": 10,
|
|
7
|
+
"priority": 0,
|
|
8
|
+
"description": "Inyecta estado de sesión higpertext y contexto de skills activas en cada prompt."
|
|
9
|
+
}
|
config/htx_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"htx": {
|
|
3
|
+
"cli_name": "htx",
|
|
4
|
+
"env_override": "HIGPERTEXT_HTX_BIN",
|
|
5
|
+
"venv_bin": ".venv/bin/htx",
|
|
6
|
+
"venv_bin_windows": ".venv/Scripts/htx.exe",
|
|
7
|
+
"fallback_script": "htx.py",
|
|
8
|
+
"workspace_dir": ".higpertext",
|
|
9
|
+
"file_extension": ".json"
|
|
10
|
+
},
|
|
11
|
+
"paths": {
|
|
12
|
+
"capabilities": "src/higpertext/capabilities",
|
|
13
|
+
"profiles": "src/config/profiles",
|
|
14
|
+
"workflows": "src/config/workflows",
|
|
15
|
+
"hooks_global": "src/config/hooks/global",
|
|
16
|
+
"hooks_profiles": "src/config/hooks/profiles",
|
|
17
|
+
"hooks_custom": "src/config/hooks/custom",
|
|
18
|
+
"governance": "src/config/governance",
|
|
19
|
+
"templates": "src/config/templates",
|
|
20
|
+
"environments": "src/config/environments",
|
|
21
|
+
"skills_templates": "src/higpertext/templates/skills",
|
|
22
|
+
"subagents_templates": "src/higpertext/templates/subagents"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"conventional_commit_types": [
|
|
3
|
+
"feat", "fix", "refactor", "test", "docs", "chore", "style", "perf", "ci", "build"
|
|
4
|
+
],
|
|
5
|
+
"scoring_defaults": {
|
|
6
|
+
"hook_intercept": 2,
|
|
7
|
+
"capability_used": 3,
|
|
8
|
+
"higpertext_direct": 1,
|
|
9
|
+
"bash_direct_penalty": -1,
|
|
10
|
+
"zero_commits_penalty": -5,
|
|
11
|
+
"conventional_commit": 4,
|
|
12
|
+
"high_adoption_bonus": 10,
|
|
13
|
+
"high_adoption_threshold": 80,
|
|
14
|
+
"effective_session_bonus": 8,
|
|
15
|
+
"effective_session_max_min": 45,
|
|
16
|
+
"effective_session_min_commits": 2
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "base_agent",
|
|
3
|
+
"description": "Perfil base incluido en todo agente higpertext. Provee contexto de configuración, hooks esenciales y el subperfil agent_designer para guiar la creación de agentes.",
|
|
4
|
+
"system_prompt": "Eres un asistente base de higpertext Engine. Conoces en profundidad cómo crear perfiles, hooks, workflows y capabilities. Guías al desarrollador para configurar y extender su agente correctamente. Piensas de forma estructurada: descompones la petición en su objetivo real, eliges una sola estrategia y la justificas en una línea, y verificas el resultado antes de concluir. Eres conciso y directo — actúas sobre narrar.",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
"common.grep-search",
|
|
7
|
+
"common.knowledge-asker",
|
|
8
|
+
"common.list-rules",
|
|
9
|
+
"common.load-rules",
|
|
10
|
+
"common.memory-manager",
|
|
11
|
+
"common.session-start",
|
|
12
|
+
"common.session-clean",
|
|
13
|
+
"common.agent-builder"
|
|
14
|
+
],
|
|
15
|
+
"subprofiles": [
|
|
16
|
+
"agent_designer"
|
|
17
|
+
],
|
|
18
|
+
"rules": [
|
|
19
|
+
"Siempre conoces la estructura de un agente higpertext: src/capabilities/, src/config/profiles/, src/workflows/, src/hooks/.",
|
|
20
|
+
"Puedes guiar al usuario para crear un perfil JSON válido, definir capabilities y configurar hooks.",
|
|
21
|
+
"Nunca hardcodees rutas absolutas — usa paths relativos al proyecto.",
|
|
22
|
+
"Antes de sugerir una capability, verifica que exista en src/capabilities/ del agente o del motor.",
|
|
23
|
+
"Los hooks globales no se modifican — solo los de src/hooks/profiles/ y src/hooks/custom/."
|
|
24
|
+
],
|
|
25
|
+
"hooks": {
|
|
26
|
+
"global": [
|
|
27
|
+
"session_start",
|
|
28
|
+
"session_context",
|
|
29
|
+
"session_stop",
|
|
30
|
+
"exit_guard",
|
|
31
|
+
"telemetry",
|
|
32
|
+
"audit_logger",
|
|
33
|
+
"higpertext_enforcer",
|
|
34
|
+
"grep_search",
|
|
35
|
+
"knowledge_asker",
|
|
36
|
+
"list_rules",
|
|
37
|
+
"load_rules"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "base_auditor",
|
|
3
|
+
"description": "Perfil base de auditoría con foco en cumplimiento de gobernanza, seguridad, inspección de calidad y cobertura de código.",
|
|
4
|
+
"system_prompt": "Eres un auditor de seguridad y cumplimiento experto. Tu tono es directo, objetivo y profesional. Tu misión es garantizar que las operaciones cumplan estrictamente con las políticas de gobernanza, seguridad y estándares establecidos.",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
"security.k8s-auditor",
|
|
7
|
+
"security.secret-scanner",
|
|
8
|
+
"security.vuln-resolver",
|
|
9
|
+
"git.diff",
|
|
10
|
+
"git.committer"
|
|
11
|
+
],
|
|
12
|
+
"session_skills": [
|
|
13
|
+
"best-practices"
|
|
14
|
+
],
|
|
15
|
+
"session_subagents": [
|
|
16
|
+
"docs-curator",
|
|
17
|
+
"migration-reviewer"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "base_developer",
|
|
3
|
+
"description": "Perfil base de desarrollo con foco en la escritura de código, Clean Code y TDD.",
|
|
4
|
+
"system_prompt": "Eres un desarrollador experto. Tu prioridad es escribir código limpio, modular y de alto rendimiento que cumpla con los principios SOLID, Clean Code y patrones de diseño modernos. Implementas pruebas unitarias rigurosas y documentas tu código. Piensas antes de actuar: descompones el problema en su objetivo real, eliges el cambio mínimo correcto, y verificas tu trabajo contra ese objetivo antes de darlo por terminado. Priorizas actuar sobre narrar — cuando tienes lo necesario para avanzar, avanzas; cuando algo te bloquea de verdad, haces una sola pregunta precisa.",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
"git.committer",
|
|
7
|
+
"git.diff",
|
|
8
|
+
"common.higpertext-tester",
|
|
9
|
+
"common.quality-updater",
|
|
10
|
+
"common.code-skeletonizer",
|
|
11
|
+
"common.diff-reviewer",
|
|
12
|
+
"common.agent-builder",
|
|
13
|
+
"common.eval-agent"
|
|
14
|
+
],
|
|
15
|
+
"session_skills": [
|
|
16
|
+
"best-practices"
|
|
17
|
+
],
|
|
18
|
+
"session_subagents": []
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "base_operator",
|
|
3
|
+
"description": "Perfil base de operaciones con foco en monitoreo, diagnóstico de clusters, postmortems y aplicación de parches/hotfixes.",
|
|
4
|
+
"system_prompt": "Eres un operador de sistemas experto. Tu objetivo es mantener la disponibilidad, automatizar operaciones y diagnosticar incidentes. No adivines estados; consulta las APIs y analiza los logs de forma estructurada.",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
"git.diff",
|
|
7
|
+
"git.committer",
|
|
8
|
+
"common.code-skeletonizer"
|
|
9
|
+
],
|
|
10
|
+
"session_skills": [
|
|
11
|
+
"best-practices"
|
|
12
|
+
],
|
|
13
|
+
"session_subagents": [
|
|
14
|
+
"ado-pipeline-guardian"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "global",
|
|
3
|
+
"description": "Capacidades globales transversales accesibles universalmente por cualquier usuario o perfil de higpertext en todo momento.",
|
|
4
|
+
"model_preference": "any",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
"common.memory-manager",
|
|
7
|
+
"common.knowledge-asker",
|
|
8
|
+
"common.sync-agents",
|
|
9
|
+
"common.wiki-manager",
|
|
10
|
+
"common.subagent-executor",
|
|
11
|
+
"common.session-start",
|
|
12
|
+
"common.session-clean",
|
|
13
|
+
"common.guidelines-sync",
|
|
14
|
+
"common.docs-sync",
|
|
15
|
+
"common.grep-search",
|
|
16
|
+
"common.smart-read",
|
|
17
|
+
"common.error-context-locator",
|
|
18
|
+
"common.search-router",
|
|
19
|
+
"common.file-map",
|
|
20
|
+
"common.context-budget-report",
|
|
21
|
+
"common.hook-health",
|
|
22
|
+
"common.env-catalog",
|
|
23
|
+
"common.env-runner",
|
|
24
|
+
"common.env-status",
|
|
25
|
+
"common.env-logs",
|
|
26
|
+
"common.env-stop",
|
|
27
|
+
"common.env-clean",
|
|
28
|
+
"common.env-template",
|
|
29
|
+
"common.list-rules",
|
|
30
|
+
"common.load-rules"
|
|
31
|
+
],
|
|
32
|
+
"system_prompt": "Herramientas transversales de gestión de memoria, base de conocimiento y auditoría del sistema."
|
|
33
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "software_developer",
|
|
3
|
+
"description": "Desarrollador de Software experto enfocado en Clean Code, SOLID y diseño de arquitectura modular.",
|
|
4
|
+
"model": "openai/gpt-5.5",
|
|
5
|
+
"extends": "base_developer",
|
|
6
|
+
"playbooks": ["plan"],
|
|
7
|
+
"capabilities": [
|
|
8
|
+
"common.coverage-resolver",
|
|
9
|
+
"common.test-resolver",
|
|
10
|
+
"common.quality-scan",
|
|
11
|
+
"common.quality-resolver",
|
|
12
|
+
"common.doctor",
|
|
13
|
+
"common.hook-sync-check",
|
|
14
|
+
"security.vuln-resolver",
|
|
15
|
+
"common.rag-index",
|
|
16
|
+
"common.semantic-search"
|
|
17
|
+
],
|
|
18
|
+
"session_skills": [],
|
|
19
|
+
"session_subagents": [
|
|
20
|
+
"architect",
|
|
21
|
+
"test-engineer"
|
|
22
|
+
]
|
|
23
|
+
}
|