baseline repo characteristics no longer crowd the candidate graph

This commit is contained in:
2026-05-03 00:14:59 +02:00
parent 4672ac6edc
commit 6c4b0e6dcb
7 changed files with 338 additions and 64 deletions

View File

@@ -163,3 +163,62 @@ def write_dependency_only_repo(root: Path) -> Path:
encoding="utf-8",
)
return repo
def write_ops_bridge_like_repo(root: Path) -> Path:
repo = root / "ops-bridge-like"
repo.mkdir()
(repo / "INTENT.md").write_text(
"# INTENT\n\n"
"## Purpose\n\n"
"This repository exists to provide a **reliable, inspectable, and controllable "
"connectivity layer** between distributed dev, build, test and execution "
"environments for dev and ops personal human and agentic.\n\n"
"## Primary Utility\n\n"
"The repository provides a **managed SSH reverse tunneling system** that:\n\n"
"* Maintains continuous connectivity between remote systems and a central hub\n"
"* Makes connectivity **observable, auditable, and controllable**\n"
"* Exposes this capability as both a **CLI tool and an MCP-accessible service**\n\n"
"## Intended Users\n\n"
"* Human operators managing infrastructure and connectivity\n"
"* LLM-based agents requiring stable access to local services\n",
encoding="utf-8",
)
(repo / "SCOPE.md").write_text(
"# SCOPE\n\nSSH reverse tunnel lifecycle manager for remote execution environments.\n",
encoding="utf-8",
)
(repo / "README.txt").write_text(
"# Ops Bridge\n\n"
"Manages named SSH reverse tunnels with auto-reconnect, health checks, "
"audit logging, and an MCP server so Claude Code can start and inspect tunnels.\n",
encoding="utf-8",
)
(repo / "pyproject.toml").write_text(
"[project]\ndependencies = ['typer', 'pytest']\n",
encoding="utf-8",
)
(repo / "scripts").mkdir()
(repo / "scripts" / "register_mcp.py").write_text(
'"""Register the ops-bridge MCP server with Claude MCP."""\n'
"from pathlib import Path\n"
"CLAUDE_JSON = Path.home() / '.claude.json'\n"
"def main():\n"
" return CLAUDE_JSON.exists()\n",
encoding="utf-8",
)
(repo / "bridge").mkdir()
(repo / "bridge" / "cli.py").write_text(
"import typer\n"
"app = typer.Typer()\n"
"@app.command()\n"
"def up(name: str):\n"
" return name\n",
encoding="utf-8",
)
(repo / "workplans").mkdir()
(repo / "workplans" / "BRIDGE-WP-0003.md").write_text(
"# MCP skill work\n\nClaude Code sessions can call bridge_status().\n",
encoding="utf-8",
)
return repo