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,27 @@
|
|
|
1
|
+
id: node-vitest
|
|
2
|
+
description: Node.js npm test/vitest runner
|
|
3
|
+
services:
|
|
4
|
+
app:
|
|
5
|
+
image: node:22-alpine
|
|
6
|
+
working_dir: /workspace
|
|
7
|
+
volumes:
|
|
8
|
+
- .:/workspace
|
|
9
|
+
command: sleep infinity
|
|
10
|
+
tasks:
|
|
11
|
+
test:
|
|
12
|
+
service: app
|
|
13
|
+
command: npm test
|
|
14
|
+
vitest:
|
|
15
|
+
service: app
|
|
16
|
+
command: npx vitest run
|
|
17
|
+
defaults:
|
|
18
|
+
service: app
|
|
19
|
+
task: test
|
|
20
|
+
timeout_seconds: 300
|
|
21
|
+
cleanup: true
|
|
22
|
+
limits:
|
|
23
|
+
cpus: "2"
|
|
24
|
+
memory: "2g"
|
|
25
|
+
security:
|
|
26
|
+
network: isolated
|
|
27
|
+
privileged: false
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
id: python-pytest
|
|
2
|
+
description: Python pytest isolated runner
|
|
3
|
+
services:
|
|
4
|
+
app:
|
|
5
|
+
image: python:3.12-slim
|
|
6
|
+
working_dir: /workspace
|
|
7
|
+
volumes:
|
|
8
|
+
- .:/workspace
|
|
9
|
+
command: sleep infinity
|
|
10
|
+
env:
|
|
11
|
+
PYTHONUNBUFFERED: "1"
|
|
12
|
+
tasks:
|
|
13
|
+
test:
|
|
14
|
+
service: app
|
|
15
|
+
command: python -m pytest -q
|
|
16
|
+
reproduce:
|
|
17
|
+
service: app
|
|
18
|
+
command: python -m pytest -q
|
|
19
|
+
defaults:
|
|
20
|
+
service: app
|
|
21
|
+
task: test
|
|
22
|
+
timeout_seconds: 300
|
|
23
|
+
cleanup: true
|
|
24
|
+
limits:
|
|
25
|
+
cpus: "2"
|
|
26
|
+
memory: "2g"
|
|
27
|
+
security:
|
|
28
|
+
network: isolated
|
|
29
|
+
privileged: false
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<h1>{commit_type} — {subject} <small style="font-size:14px;color:#8b949e">#{short_hash}</small></h1>
|
|
2
|
+
<div class="meta">{date} · {author}</div>
|
|
3
|
+
<div class="summary">{summary}</div>
|
|
4
|
+
<div style="margin:12px 0">{tags_html}</div>
|
|
5
|
+
<h2>Stats</h2>
|
|
6
|
+
<table>
|
|
7
|
+
<tr>
|
|
8
|
+
<th>Files changed</th>
|
|
9
|
+
<th>Lines added</th>
|
|
10
|
+
<th>Lines removed</th>
|
|
11
|
+
</tr>
|
|
12
|
+
<tr>
|
|
13
|
+
<td>{changed_files_count}</td>
|
|
14
|
+
<td class="add">+{total_additions}</td>
|
|
15
|
+
<td class="del">-{total_deletions}</td>
|
|
16
|
+
</tr>
|
|
17
|
+
</table>
|
|
18
|
+
<h2>Files by Layer</h2>
|
|
19
|
+
{layers_html}
|
|
20
|
+
{diff_section}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="es">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>higpertext — Índice de Commits</title>
|
|
6
|
+
<style>
|
|
7
|
+
body { font-family: monospace; padding: 2rem; background: #0d1117; color: #e6edf3; }
|
|
8
|
+
a { color: #58a6ff; }
|
|
9
|
+
table { border-collapse: collapse; width: 100%; }
|
|
10
|
+
th, td { padding: .5rem 1rem; border: 1px solid #30363d; text-align: left; }
|
|
11
|
+
th { background: #161b22; }
|
|
12
|
+
</style>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<h1>📋 Índice de Reportes de Commit</h1>
|
|
16
|
+
<p>Proyecto: <code>{project_name}</code> — {report_count} reporte(s)</p>
|
|
17
|
+
<table>
|
|
18
|
+
<thead>
|
|
19
|
+
<tr>
|
|
20
|
+
<th>Commit</th>
|
|
21
|
+
<th>Timestamp</th>
|
|
22
|
+
</tr>
|
|
23
|
+
</thead>
|
|
24
|
+
<tbody>
|
|
25
|
+
{rows}
|
|
26
|
+
</tbody>
|
|
27
|
+
</table>
|
|
28
|
+
</body>
|
|
29
|
+
</html>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Commit {short_hash}</title>
|
|
6
|
+
<style>
|
|
7
|
+
body {{ margin: 0; background: #0d1117; font-family: monospace; color: #c9d1d9; padding: 24px; }}
|
|
8
|
+
h1 {{ color: var(--accent-color); border-bottom: 1px solid #30363d; padding-bottom: 8px; }}
|
|
9
|
+
.meta {{ color: #8b949e; font-size: 13px; margin-bottom: 16px; }}
|
|
10
|
+
.summary {{ background: #161b22; border-left: 4px solid var(--accent-color); padding: 12px; border-radius: 4px; margin: 16px 0; }}
|
|
11
|
+
.tag {{ background: #21262d; border: 1px solid #30363d; border-radius: 4px; padding: 2px 8px; font-size: 11px; margin-right: 4px; }}
|
|
12
|
+
table {{ border-collapse: collapse; width: 100%; margin: 16px 0; }}
|
|
13
|
+
th {{ background: #161b22; padding: 8px 12px; text-align: left; border: 1px solid #30363d; }}
|
|
14
|
+
td {{ padding: 6px 12px; border: 1px solid #30363d; font-size: 12px; word-break: break-all; }}
|
|
15
|
+
.add {{ color: #3fb950; }}
|
|
16
|
+
.del {{ color: #f85149; }}
|
|
17
|
+
h3 {{ color: var(--accent-color); margin-top: 20px; }}
|
|
18
|
+
.diff-block {{ background: #0d1117; border: 1px solid #30363d; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 12px; line-height: 1.6; }}
|
|
19
|
+
.diff-add {{ background: #0d4429; color: #3fb950; }}
|
|
20
|
+
.diff-del {{ background: #4d1919; color: #f85149; }}
|
|
21
|
+
.diff-hunk {{ color: #79c0ff; }}
|
|
22
|
+
.diff-file {{ color: #d2a8ff; font-weight: bold; margin-top: 12px; }}
|
|
23
|
+
</style>
|
|
24
|
+
</head>
|
|
25
|
+
<body style="--accent-color: {color};">
|
|
26
|
+
{body}
|
|
27
|
+
</body>
|
|
28
|
+
</html>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>higpertext Semantic Graph</title>
|
|
6
|
+
<script src="https://d3js.org/d3.v7.min.js"></script>
|
|
7
|
+
<style>
|
|
8
|
+
body { margin: 0; background: #0d1117; font-family: monospace; color: #c9d1d9; }
|
|
9
|
+
svg { width: 100vw; height: 100vh; }
|
|
10
|
+
.node circle { stroke: #30363d; stroke-width: 1.5px; cursor: pointer; }
|
|
11
|
+
.node text { font-size: 11px; fill: #c9d1d9; pointer-events: none; }
|
|
12
|
+
.link { stroke: #30363d; stroke-opacity: 0.6; }
|
|
13
|
+
.god { stroke: #f85149 !important; stroke-width: 2.5px !important; }
|
|
14
|
+
#info { position: fixed; top: 12px; left: 12px; background: #161b22;
|
|
15
|
+
border: 1px solid #30363d; padding: 12px; border-radius: 6px; font-size: 12px; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<div id="info">
|
|
20
|
+
<b>higpertext Semantic Graph</b><br>
|
|
21
|
+
Nodes: {node_count} | Edges: {edge_count}<br>
|
|
22
|
+
<span style="color:#f85149">●</span> God nodes (in-degree ≥ {god_threshold})
|
|
23
|
+
</div>
|
|
24
|
+
<svg id="graph"></svg>
|
|
25
|
+
<script>
|
|
26
|
+
const graphData = {graph_json};
|
|
27
|
+
const godThreshold = {god_threshold};
|
|
28
|
+
|
|
29
|
+
const inDegree = {};
|
|
30
|
+
graphData.links.forEach(l => {
|
|
31
|
+
inDegree[l.target] = (inDegree[l.target] || 0) + 1;
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
const colorMap = { class: "#388bfd", function: "#3fb950", method: "#d2a8ff",
|
|
35
|
+
variable: "#e3b341", module: "#79c0ff" };
|
|
36
|
+
|
|
37
|
+
const svg = d3.select("#graph");
|
|
38
|
+
const width = window.innerWidth, height = window.innerHeight;
|
|
39
|
+
|
|
40
|
+
// Contenedor zoomeable — pan y zoom sobre el canvas completo
|
|
41
|
+
const container = svg.append("g").attr("class", "zoom-container");
|
|
42
|
+
|
|
43
|
+
const zoom = d3.zoom()
|
|
44
|
+
.scaleExtent([0.05, 4])
|
|
45
|
+
.on("zoom", (e) => container.attr("transform", e.transform));
|
|
46
|
+
svg.call(zoom);
|
|
47
|
+
|
|
48
|
+
const sim = d3.forceSimulation(graphData.nodes)
|
|
49
|
+
.force("link", d3.forceLink(graphData.links).id(d => d.id).distance(80))
|
|
50
|
+
.force("charge", d3.forceManyBody().strength(-120))
|
|
51
|
+
.force("center", d3.forceCenter(width / 2, height / 2));
|
|
52
|
+
|
|
53
|
+
const link = container.append("g").selectAll("line")
|
|
54
|
+
.data(graphData.links).join("line")
|
|
55
|
+
.attr("class", "link");
|
|
56
|
+
|
|
57
|
+
const node = container.append("g").selectAll("g")
|
|
58
|
+
.data(graphData.nodes).join("g")
|
|
59
|
+
.attr("class", "node")
|
|
60
|
+
.call(d3.drag()
|
|
61
|
+
.on("start", (e,d) => { if (!e.active) sim.alphaTarget(0.3).restart(); d.fx=d.x; d.fy=d.y; })
|
|
62
|
+
.on("drag", (e,d) => { d.fx=e.x; d.fy=e.y; })
|
|
63
|
+
.on("end", (e,d) => { if (!e.active) sim.alphaTarget(0); d.fx=null; d.fy=null; }));
|
|
64
|
+
|
|
65
|
+
node.append("circle")
|
|
66
|
+
.attr("r", d => 5 + Math.min((inDegree[d.id] || 0) * 2, 14))
|
|
67
|
+
.attr("fill", d => colorMap[d.type] || "#8b949e")
|
|
68
|
+
.attr("class", d => (inDegree[d.id] || 0) >= godThreshold ? "god" : "");
|
|
69
|
+
|
|
70
|
+
node.append("text").attr("dx", 8).attr("dy", 4).text(d => d.label);
|
|
71
|
+
|
|
72
|
+
sim.on("tick", () => {
|
|
73
|
+
link.attr("x1", d => d.source.x).attr("y1", d => d.source.y)
|
|
74
|
+
.attr("x2", d => d.target.x).attr("y2", d => d.target.y);
|
|
75
|
+
node.attr("transform", d => `translate(${d.x},${d.y})`);
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
// Hint de controles
|
|
79
|
+
d3.select("#info").append("div")
|
|
80
|
+
.style("margin-top", "8px")
|
|
81
|
+
.style("color", "#8b949e")
|
|
82
|
+
.style("font-size", "11px")
|
|
83
|
+
.html("🖱 Scroll: zoom | Drag canvas: pan | Drag node: move");
|
|
84
|
+
</script>
|
|
85
|
+
</body>
|
|
86
|
+
</html>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<h1>Roadmap — {name}</h1>
|
|
2
|
+
<div class="meta">{done_phases}/{total_phases} Fases completadas</div>
|
|
3
|
+
<div class="summary">{summary}</div>
|
|
4
|
+
<div style="margin:12px 0">{tags_html}</div>
|
|
5
|
+
<h2>Progreso general</h2>
|
|
6
|
+
<div class="progress-bar"><div class="progress-fill" style="width:{pct}%"></div></div>
|
|
7
|
+
<div style="font-size:13px;color:#8b949e">{pct}% completado</div>
|
|
8
|
+
<h2>Fases</h2>
|
|
9
|
+
{phases_html}
|
|
10
|
+
<h2>Recursos utilizados</h2>
|
|
11
|
+
<p><strong>Skills:</strong> {skills_html}</p>
|
|
12
|
+
<p><strong>Subagents:</strong> {subs_html}</p>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Roadmap — {title}</title>
|
|
6
|
+
<style>
|
|
7
|
+
body {{ margin: 0; background: #0d1117; font-family: monospace; color: #c9d1d9; padding: 24px; }}
|
|
8
|
+
h1 {{ color: #79c0ff; border-bottom: 1px solid #30363d; padding-bottom: 8px; }}
|
|
9
|
+
.meta {{ color: #8b949e; font-size: 13px; margin-bottom: 16px; }}
|
|
10
|
+
.summary {{ background: #161b22; border-left: 4px solid #79c0ff; padding: 12px; border-radius: 4px; margin: 16px 0; }}
|
|
11
|
+
.tag {{ background: #21262d; border: 1px solid #30363d; border-radius: 4px; padding: 2px 8px; font-size: 11px; margin-right: 4px; }}
|
|
12
|
+
.progress-bar {{ background: #21262d; border-radius: 8px; height: 14px; margin: 8px 0; overflow: hidden; }}
|
|
13
|
+
.progress-fill {{ height: 100%; border-radius: 8px; background: #3fb950; transition: width 0.3s; }}
|
|
14
|
+
.phase-block {{ border: 1px solid #30363d; border-radius: 6px; padding: 12px 16px; margin: 10px 0; border-left-width: 4px; }}
|
|
15
|
+
.phase-done {{ border-left-color: #3fb950; background: #0d2218; }}
|
|
16
|
+
.phase-active {{ border-left-color: #e3b341; background: #1c1a0d; }}
|
|
17
|
+
.phase-pending {{ border-left-color: #8b949e; background: #161b22; }}
|
|
18
|
+
.phase-title {{ font-size: 15px; font-weight: bold; margin-bottom: 6px; }}
|
|
19
|
+
.skill-tag {{ background: #0d4429; color: #3fb950; border-radius: 3px; padding: 1px 6px; font-size: 11px; margin-right: 4px; }}
|
|
20
|
+
.sub-tag {{ background: #1c1a0d; color: #e3b341; border-radius: 3px; padding: 1px 6px; font-size: 11px; margin-right: 4px; }}
|
|
21
|
+
table {{ border-collapse: collapse; width: 100%; margin: 8px 0; }}
|
|
22
|
+
th {{ background: #161b22; padding: 8px 12px; text-align: left; border: 1px solid #30363d; }}
|
|
23
|
+
td {{ padding: 6px 12px; border: 1px solid #30363d; font-size: 12px; }}
|
|
24
|
+
</style>
|
|
25
|
+
</head>
|
|
26
|
+
<body>
|
|
27
|
+
{body}
|
|
28
|
+
</body>
|
|
29
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Commit Report — `{short_hash}`
|
|
2
|
+
|
|
3
|
+
**{date}** · {author}
|
|
4
|
+
|
|
5
|
+
> {summary}
|
|
6
|
+
|
|
7
|
+
**Tags**: {tags}
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Stats
|
|
12
|
+
| Files | +Lines | -Lines |
|
|
13
|
+
|-------|--------|--------|
|
|
14
|
+
| {changed_files_count} | +{total_additions} | -{total_deletions} |
|
|
15
|
+
|
|
16
|
+
## Files by Layer
|
|
17
|
+
{layers_md}
|
|
18
|
+
{diff_section}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Efficiency Report — {session_id}
|
|
2
|
+
|
|
3
|
+
| Métrica | Valor |
|
|
4
|
+
|---------|-------|
|
|
5
|
+
| Tokens totales | {total_tokens} |
|
|
6
|
+
| Costo estimado | ${total_cost_usd} USD |
|
|
7
|
+
| Lecturas de exploración (sin higpertext) | {exploration_reads} |
|
|
8
|
+
| Lecturas vía higpertext | {higpertext_reads} |
|
|
9
|
+
| Hook intercepts | {hook_intercepts} |
|
|
10
|
+
| Context hit rate | {hit_pct} |
|
|
11
|
+
| Exploration waste ratio | {waste_pct} |
|
|
12
|
+
| Window usage | {win_pct} ({peak_window_tokens} tokens peak) |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Roadmap Report — {name}
|
|
2
|
+
|
|
3
|
+
> {summary}
|
|
4
|
+
|
|
5
|
+
**Completitud**: {completion_pct}% ({done_phases}/{total_phases} fases)
|
|
6
|
+
|
|
7
|
+
**Tags**: {tags}
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Fases
|
|
12
|
+
| # | Fase | Status | Skills | Subagents |
|
|
13
|
+
|---|------|--------|--------|-----------|
|
|
14
|
+
{phases_rows}
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Insights por Fase
|
|
19
|
+
{insights}
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
**Skills totales**: {skills_all}
|
|
24
|
+
|
|
25
|
+
**Subagents totales**: {subs_all}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Skill: Best Practices
|
|
2
|
+
Estándares y directrices generales de desarrollo del proyecto.
|
|
3
|
+
|
|
4
|
+
## Reglas
|
|
5
|
+
- Mantener la integridad de los docstrings y comentarios existentes.
|
|
6
|
+
- Proteger secretos y tokens de entorno (nunca hardcodear).
|
|
7
|
+
- Asegurar cobertura de tests unitarios superior o igual al 80%.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Skill: Clean Code
|
|
2
|
+
Directrices de codificación limpia y buenas prácticas de desarrollo.
|
|
3
|
+
|
|
4
|
+
## Reglas Principales
|
|
5
|
+
- **SOLID**: El código debe seguir rigurosamente los principios SOLID.
|
|
6
|
+
- **Funciones Cortas**: Las funciones no deben exceder las 30 líneas de código.
|
|
7
|
+
- **Nombres Claros**: Usar nombres descriptivos e inequívocos para variables, funciones y clases.
|
|
8
|
+
- **Comentarios Mínimos**: El código debe ser autodocumentado. Usar comentarios solo para explicar el 'por qué', no el 'cómo'.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Skill: Domain-Driven Design (DDD) Standards
|
|
2
|
+
Directrices de arquitectura limpia y separación de responsabilidades.
|
|
3
|
+
|
|
4
|
+
## Capas del Kernel
|
|
5
|
+
- **Domain**: Lógica pura del negocio, entidades, agregados, contratos e interfaces. Sin dependencias externas.
|
|
6
|
+
- **Application**: Casos de uso y coordinadores de servicios. Consume el dominio.
|
|
7
|
+
- **Infrastructure**: Implementación de interfaces de comunicación, base de datos, APIs de red y frameworks de IO.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Skill: Test-Driven Development (TDD) Practices
|
|
2
|
+
Prácticas de diseño dirigido por pruebas.
|
|
3
|
+
|
|
4
|
+
## Ciclo TDD
|
|
5
|
+
1. **Red**: Escribir un test unitario que falle antes de implementar cualquier código de producción.
|
|
6
|
+
2. **Green**: Escribir el código mínimo necesario para que el test pase.
|
|
7
|
+
3. **Refactor**: Limpiar y optimizar el código manteniendo la suite de pruebas en verde.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Subagent: Architect
|
|
2
|
+
Subagente experto en diseño de software y arquitectura.
|
|
3
|
+
|
|
4
|
+
## Rol y Responsabilidades
|
|
5
|
+
- Analizar especificaciones del sistema.
|
|
6
|
+
- Diseñar diagramas de arquitectura de componentes (en Mermaid).
|
|
7
|
+
- Definir contratos de interfaces y modularidad del código.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Subagent: Test Engineer
|
|
2
|
+
Subagente experto en aseguramiento de calidad y pruebas unitarias/integración.
|
|
3
|
+
|
|
4
|
+
## Rol y Responsabilidades
|
|
5
|
+
- Diseñar y escribir tests de regresión y cobertura de código.
|
|
6
|
+
- Identificar fallos de tests y proponer correcciones.
|
|
7
|
+
- Validar requerimientos funcionales del sistema.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "build",
|
|
3
|
+
"description": "Implement approved changes in small, verifiable increments.",
|
|
4
|
+
"mode": "primary",
|
|
5
|
+
"temperature": 0.2,
|
|
6
|
+
"permission": {
|
|
7
|
+
"edit": "allow",
|
|
8
|
+
"bash": "allow"
|
|
9
|
+
},
|
|
10
|
+
"when_to_use": [
|
|
11
|
+
"After plan approval",
|
|
12
|
+
"For concrete file changes in allowed scope"
|
|
13
|
+
],
|
|
14
|
+
"do": [
|
|
15
|
+
"Keep changes minimal and scoped",
|
|
16
|
+
"Update docs/rules when source-of-truth moves",
|
|
17
|
+
"Run validation commands relevant to changed artifacts"
|
|
18
|
+
],
|
|
19
|
+
"do_not": [
|
|
20
|
+
"Expand scope beyond approved tasks",
|
|
21
|
+
"Modify production PowerShell code when task is docs/agents-only"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "compact",
|
|
3
|
+
"description": "Checkpoint and summarize agreements, resolved errors, and current code state before resetting history.",
|
|
4
|
+
"mode": "primary",
|
|
5
|
+
"temperature": 0.1,
|
|
6
|
+
"permission": {
|
|
7
|
+
"edit": "allow",
|
|
8
|
+
"bash": "allow"
|
|
9
|
+
},
|
|
10
|
+
"when_to_use": [
|
|
11
|
+
"After 15-20 messages discussing the same problem to avoid model confusion and save token costs."
|
|
12
|
+
],
|
|
13
|
+
"do": [
|
|
14
|
+
"Summarize all key decisions, current code state, resolved errors, and remaining task checklist.",
|
|
15
|
+
"Persist learnings and state in the context memory (.memory/context.md).",
|
|
16
|
+
"Instruct the user to use the `/compact` command (or clear chat history) to reduce context length while keeping the summary."
|
|
17
|
+
],
|
|
18
|
+
"do_not": [
|
|
19
|
+
"Lose active task agreements or historical context required for the current implementation."
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "planner",
|
|
3
|
+
"description": "Act as a Software Architect to design modular components, define DDD boundaries, and produce safe execution plans.",
|
|
4
|
+
"mode": "primary",
|
|
5
|
+
"temperature": 0.1,
|
|
6
|
+
"permission": {
|
|
7
|
+
"edit": "allow",
|
|
8
|
+
"bash": "deny"
|
|
9
|
+
},
|
|
10
|
+
"when_to_use": [
|
|
11
|
+
"At task intake for non-trivial work",
|
|
12
|
+
"Before making structural, cross-file, or architectural changes",
|
|
13
|
+
"After /spec produces an approved specification"
|
|
14
|
+
],
|
|
15
|
+
"do": [
|
|
16
|
+
"Before proposing architecture or roadmap, consult the semantic graph with common.graph-query for the relevant symbols; if .higpertext/state/semantic_graph.json is missing, request/run common.graph-rebuild first",
|
|
17
|
+
"Use .higpertext/state/semantic_graph.md/json as the source of truth for existing modules, symbols, dependencies, and impact boundaries",
|
|
18
|
+
"Establish the architectural design, identify bounded contexts (DDD), and SOLID layers",
|
|
19
|
+
"Define clear specifications for new classes, functions, and interfaces",
|
|
20
|
+
"Build a stepwise implementation checklist with rollback points",
|
|
21
|
+
"Design a test verification plan following TDD principles (red-green-refactor steps)",
|
|
22
|
+
"After the user approves the plan, write .higpertext/roadmap.json with the phases, required skills and subagents derived from the plan",
|
|
23
|
+
"Each phase in roadmap.json must declare: id, name, description, status (pending|active|done), skills[], subagents[]",
|
|
24
|
+
"Aggregate all unique skills and subagents across phases into session_resources.skills[] and session_resources.subagents[]",
|
|
25
|
+
"Ensure the plan prioritizes applying Clean Code, DDD, TDD, and SOLID principles"
|
|
26
|
+
],
|
|
27
|
+
"do_not": [
|
|
28
|
+
"Plan cross-file or architectural changes without first checking the semantic graph or explicitly reporting that it is unavailable",
|
|
29
|
+
"Modify code files without an approved technical plan",
|
|
30
|
+
"Assume implementation details without formalizing them in the architecture",
|
|
31
|
+
"Write roadmap.json before the user explicitly approves the plan",
|
|
32
|
+
"Include skills or subagents that have no template in src/core/templates/"
|
|
33
|
+
],
|
|
34
|
+
"roadmap_schema": {
|
|
35
|
+
"description": "Schema for .higpertext/roadmap.json — written by /planner after user approval",
|
|
36
|
+
"example": {
|
|
37
|
+
"schema_version": "1.0.0",
|
|
38
|
+
"project": "project-name",
|
|
39
|
+
"description": "Brief architectural goal description",
|
|
40
|
+
"created_at": "<ISO timestamp>",
|
|
41
|
+
"last_updated": "<ISO timestamp>",
|
|
42
|
+
"status": "active",
|
|
43
|
+
"phases": [
|
|
44
|
+
{
|
|
45
|
+
"id": "phase-1",
|
|
46
|
+
"name": "Phase name",
|
|
47
|
+
"description": "What is built in this phase",
|
|
48
|
+
"status": "pending",
|
|
49
|
+
"skills": ["clean-code", "ddd-standards"],
|
|
50
|
+
"subagents": ["architect", "code-auditor"]
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"session_resources": {
|
|
54
|
+
"skills": ["clean-code", "ddd-standards", "tdd-practices", "best-practices"],
|
|
55
|
+
"subagents": ["architect", "test-engineer", "code-auditor"]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "review",
|
|
3
|
+
"description": "Perform risk-oriented review of proposed or implemented changes against Clean Code, DDD, TDD, and best practices.",
|
|
4
|
+
"mode": "primary",
|
|
5
|
+
"temperature": 0.1,
|
|
6
|
+
"permission": {
|
|
7
|
+
"edit": "deny",
|
|
8
|
+
"bash": "deny"
|
|
9
|
+
},
|
|
10
|
+
"when_to_use": [
|
|
11
|
+
"Before merge or release tagging",
|
|
12
|
+
"After structural changes across code, skills, agents, or documentation"
|
|
13
|
+
],
|
|
14
|
+
"do": [
|
|
15
|
+
"Audit implementation against Clean Code principles (naming clarity, single responsibility functions, small function size, minimal comments)",
|
|
16
|
+
"Verify DDD architecture integrity (ensure domain model isolation from infrastructure/interfaces, repository abstractions are respected)",
|
|
17
|
+
"Verify TDD test coverage and quality (isolated tests, proper mocking, happy and negative path coverage)",
|
|
18
|
+
"Check compliance with SOLID principles, DRY, KISS, and YAGNI",
|
|
19
|
+
"Detect contract regressions, rule duplication, and ensure documentation integrity",
|
|
20
|
+
"Flag unknown/planned references clearly"
|
|
21
|
+
],
|
|
22
|
+
"do_not": [
|
|
23
|
+
"Edit code or documentation files directly during review",
|
|
24
|
+
"Approve a change without confirming complete coverage of the quality checklist"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "spec",
|
|
3
|
+
"description": "Generate and refine functional specifications through interactive assumptions clarification and BDD output.",
|
|
4
|
+
"mode": "primary",
|
|
5
|
+
"temperature": 0.1,
|
|
6
|
+
"permission": {
|
|
7
|
+
"edit": "deny",
|
|
8
|
+
"bash": "deny"
|
|
9
|
+
},
|
|
10
|
+
"when_to_use": [
|
|
11
|
+
"When user asks to define/create/refine a specification",
|
|
12
|
+
"When requirements come as a user story, spec draft, descriptive brief or script path"
|
|
13
|
+
],
|
|
14
|
+
"do": [
|
|
15
|
+
"Run the clarification workflow from `spec-clarification`",
|
|
16
|
+
"Produce initial spec draft plus numbered non-technical/functional assumptions",
|
|
17
|
+
"Ask rejected assumptions one by one with progress bar and `Otra` option",
|
|
18
|
+
"Confirm readiness before delivering final spec",
|
|
19
|
+
"Deliver final spec including BDD scenarios",
|
|
20
|
+
"Keep output focused on specification, then handoff to `plan` after user approval"
|
|
21
|
+
],
|
|
22
|
+
"do_not": [
|
|
23
|
+
"Start implementation planning before spec is confirmed",
|
|
24
|
+
"Skip assumption validation loop",
|
|
25
|
+
"Merge assumptions into requirements without explicit user confirmation"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: higpertext-cli
|
|
3
|
+
Version: 0.8.0
|
|
4
|
+
Summary: higpertext Engine — LLM-powered terminal agent framework
|
|
5
|
+
Author-email: Angel Ortega <codenodehg@gmail.com>
|
|
6
|
+
License: Proprietary
|
|
7
|
+
Project-URL: Homepage, https://github.com/aomerge/higpertext
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
18
|
+
Requires-Dist: requests>=2.28.0
|
|
19
|
+
Requires-Dist: urllib3>=1.26.0
|
|
20
|
+
Requires-Dist: pyyaml>=6.0
|
|
21
|
+
Requires-Dist: pydantic>=2.0.0
|
|
22
|
+
Requires-Dist: rich>=13.0.0
|
|
23
|
+
Requires-Dist: tqdm>=4.65.0
|
|
24
|
+
Provides-Extra: gemini
|
|
25
|
+
Requires-Dist: google-generativeai>=0.5.0; extra == "gemini"
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-mock>=3.10.0; extra == "dev"
|
|
29
|
+
Requires-Dist: pytest-cov>=5.0.0; extra == "dev"
|
|
30
|
+
Requires-Dist: flake8>=7.0.0; extra == "dev"
|
|
31
|
+
Requires-Dist: pylint>=4.0.0; extra == "dev"
|
|
32
|
+
Requires-Dist: bandit>=1.7.0; extra == "dev"
|
|
33
|
+
Requires-Dist: autopep8>=2.0.0; extra == "dev"
|
|
34
|
+
Requires-Dist: isort>=5.0.0; extra == "dev"
|
|
35
|
+
Requires-Dist: radon>=6.0.0; extra == "dev"
|