Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(devenv): remove orphan hypercache capability + guard test (#66118)

Raúl Negrón-Oteroaf96130602e7
diff --git a/bin/mprocs.yaml b/bin/mprocs.yaml
index ad34852bbc19..ab3903ba60fd 100755
--- a/bin/mprocs.yaml
+++ b/bin/mprocs.yaml
@@ -341,7 +341,7 @@ procs:
shell: |-
bin/wait-for-docker && \
bin/start-rust-service hypercache-server
- capability: hypercache
+ # no capability: always_required via intent-map.yaml
ready_pattern: 'listening on *'
groups:
layer: Product services
diff --git a/tools/hogli-commands/hogli_commands/tests/test_devenv.py b/tools/hogli-commands/hogli_commands/tests/test_devenv.py
index 9451f33811e9..dd87a0943268 100644
--- a/tools/hogli-commands/hogli_commands/tests/test_devenv.py
+++ b/tools/hogli-commands/hogli_commands/tests/test_devenv.py
@@ -512,6 +512,15 @@ class TestMprocsRegistry:
assert "shell" in config
assert "start-backend" in config["shell"]
+ def test_all_declared_capabilities_are_defined(self) -> None:
+ """Every proc-declared capability must exist in intent-map.yaml; orphans raise ValueError on resolution."""
+ registry = create_mprocs_registry()
+ intent_map = load_intent_map()
+
+ orphans = registry.get_all_capabilities() - set(intent_map.capabilities)
+
+ assert not orphans, f"procs declare capabilities not defined in intent-map.yaml: {orphans}"
+
class TestDevenvConfig:
"""Test DevenvConfig data class."""