Skip to content

Commit aef5dbe

Browse files
committed
docs(AGENTS): auto-sync from SIN-Code-Bundle
1 parent 1f2d27f commit aef5dbe

1 file changed

Lines changed: 61 additions & 62 deletions

File tree

AGENTS.md

Lines changed: 61 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,50 @@
1616
| **URLs abrufen, APIs konsumieren** | `sin-harvest` | `opencode` interne HTTP-Requests | Caching, Struktur-Extraktion, Change-Detection, Auth-Management |
1717
| **Tasks managen, Planung, Rollback** | `sin-orchestrate` | `opencode` interne Task-Planung | Dependencies, Parallel-Execution, Blocker-Detection, Rollback-Plan |
1818

19+
## ⚠️ DEPRECATION WARNING — `sin-code-bundle` (Python, legacy `sin` CLI)
20+
21+
> ⚠️ **DEPRECATED:** The `sin-code-bundle` MCP server (Python, old `sin` CLI) is DEPRECATED as of v1.1.0.
22+
> Use `sin-code` (Go binary at `~/.local/bin/sin-code serve`) instead. The Go binary's tools are named
23+
> `sin_discover`, `sin_execute`, `sin_map`, `sin_grasp`, `sin_scout`, `sin_harvest`, `sin_orchestrate`,
24+
> `sin_ibd`, `sin_poc`, `sin_sckg`, `sin_adw`, `sin_oracle`, `sin_efm` — NOT `sin-code-bundle_*`.
25+
>
26+
> **Reason:** The legacy Python MCP server's tools (`sin-code-bundle_sin_edit`, `sin-code-bundle_sin_search`,
27+
> etc.) have a longer `sin-code-bundle_` prefix and were winning tool-selection over the newer Go tools.
28+
> The legacy server is now `enabled: false` in `opencode.json`. Re-enable only for rollback.
29+
1930
### Tool-Verweisung & Skills/MCP
2031

2132
**⚡ UNIFIED BINARY (v1.0.5+):** All 19 sin-code subcommands (13 MCP + 6 CLI-only) live in a single Go binary: `~/.local/bin/sin-code`.
2233
The opencode.json registers ONE MCP server `sin-code` that exposes all 13 tools via the `serve` subcommand.
2334
Note: 6 utility subcommands (config, sbom, security, self-update, tui, serve) are CLI-only, not exposed via MCP.
2435

25-
| Tool (MCP) | CLI | Subcommand | Purpose |
26-
|------------|-----|------------|---------|
27-
| `sin_discover` | `sin-code` | `discover` | Dateien suchen, Relevanz-Scoring |
28-
| `sin_execute` | `sin-code` | `execute` | Befehle sicher ausführen |
29-
| `sin_map` | `sin-code` | `map` | Architektur analysieren |
30-
| `sin_grasp` | `sin-code` | `grasp` | Einzelne Datei verstehen |
31-
| `sin_scout` | `sin-code` | `scout` | Code durchsuchen |
32-
| `sin_harvest` | `sin-code` | `harvest` | URLs abrufen |
33-
| `sin_orchestrate` | `sin-code` | `orchestrate` | Tasks managen |
34-
| `sin_ibd` | `sin-code` | `ibd` | Intent-Based Diffing |
35-
| `sin_poc` | `sin-code` | `poc` | Proof-of-Correctness |
36-
| `sin_sckg` | `sin-code` | `sckg` | Semantic Codebase Knowledge Graphs |
37-
| `sin_adw` | `sin-code` | `adw` | Architectural Debt Watchdogs |
38-
| `sin_oracle` | `sin-code` | `oracle` | Verification Oracle |
39-
| `sin_efm` | `sin-code` | `efm` | Ephemeral Full-Stack Mocking (auto: OrbStack on macOS, Docker on Linux; `--runtime orb|docker|auto` to override) |
40-
| `sin_security` | `sin-code` | `security` | Security-Scan (Go/Python/Node/Generic) — CLI-only |
41-
| `sin_config` | `sin-code` | `config` | Konfiguration verwalten — CLI-only |
42-
| `sin_tui` | `sin-code` | `tui` | Interaktives TUI Menu — CLI-only |
43-
| `sin_sbom` | `sin-code` | `sbom` | SBOM Generation (SPDX/CycloneDX) — CLI-only |
44-
|| `sin-code` | `self-update` | Update to latest release — CLI-only |
45-
|| `sin-code` | `serve` | Start MCP server (13 tools) — CLI-only |
36+
| Tool (MCP, **preferred — Go**) | Backend | Status | Purpose |
37+
|------------------------------|---------|--------|---------|
38+
| `sin_discover`| `sin-code` (Go) | ✅ Native | Dateien suchen, Relevanz-Scoring |
39+
| `sin_execute`| `sin-code` (Go) | ✅ Native | Befehle sicher ausführen |
40+
| `sin_map`| `sin-code` (Go) | ✅ Native | Architektur analysieren |
41+
| `sin_grasp`| `sin-code` (Go) | ✅ Native | Einzelne Datei verstehen |
42+
| `sin_scout`| `sin-code` (Go) | ✅ Native | Code durchsuchen |
43+
| `sin_harvest`| `sin-code` (Go) | ✅ Native | URLs abrufen |
44+
| `sin_orchestrate`| `sin-code` (Go) | ✅ Native | Tasks managen |
45+
| `sin_ibd`| `sin-code` (Go) | ✅ Native | Intent-Based Diffing |
46+
| `sin_poc`| `sin-code` (Go) | ✅ Native | Proof-of-Correctness |
47+
| `sin_sckg`| `sin-code` (Go) | ✅ Native | Semantic Codebase Knowledge Graphs |
48+
| `sin_adw`| `sin-code` (Go) | ✅ Native | Architectural Debt Watchdogs |
49+
| `sin_oracle`| `sin-code` (Go) | ✅ Native | Verification Oracle |
50+
| `sin_efm`| `sin-code` (Go) | ✅ Native | Ephemeral Full-Stack Mocking (auto: OrbStack on macOS, Docker on Linux; `--runtime orb|docker|auto` to override) |
51+
| `sin-code-bundle_sin_edit` ⚠️ | `sin-code-bundle` (Python, **DEPRECATED**) | ⚠️ Legacy | Hashline-anchored edit only — disabled by default |
52+
| `sin-code-bundle_sin_read` 🚫 | `sin-code-bundle` (Python, **DEPRECATED**) | 🚫 Do not use | Use `read` URI schemes instead (sckg://, oracle://, etc.) |
53+
| `sin-code-bundle_sin_write` 🚫 | `sin-code-bundle` (Python, **DEPRECATED**) | 🚫 Do not use | Use `sin_discover` + native editors |
54+
| `sin-code-bundle_sin_search` 🚫 | `sin-code-bundle` (Python, **DEPRECATED**) | 🚫 Do not use | Use `sin_scout` instead |
55+
| `sin-code-bundle_sin_bash` 🚫 | `sin-code-bundle` (Python, **DEPRECATED**) | 🚫 Do not use | Use `sin_execute` instead |
56+
| `sin_security`| `sin-code` (Go) | ✅ Native | Security-Scan (Go/Python/Node/Generic) — CLI-only |
57+
| `sin_config`| `sin-code` (Go) | ✅ Native | Konfiguration verwalten — CLI-only |
58+
| `sin_tui`| `sin-code` (Go) | ✅ Native | Interaktives TUI Menu — CLI-only |
59+
| `sin_sbom`| `sin-code` (Go) | ✅ Native | SBOM Generation (SPDX/CycloneDX) — CLI-only |
60+
|| `sin-code` (Go) | ✅ Native | `self-update` — Update to latest release — CLI-only |
61+
|| `sin-code` (Go) | ✅ Native | `serve` — Start MCP server (13 tools) — CLI-only |
62+
4663

4764
**Installiert:** `~/.local/bin/sin-code` (1 binary, 19 subcommands: 13 MCP + 6 CLI-only)
4865
**Repo:** `OpenSIN-Code/SIN-Code-Bundle/cmd/sin-code`
@@ -460,53 +477,35 @@ v0.2.4-fixes
460477

461478
---
462479

463-
# SIN-Code-Bundle
480+
# SIN-Code-Bundle (LEGACY — superseded by `sin-code` Go binary)
464481

465-
Unified CLI and MCP server for the entire SIN-Code agent-engineering stack.
482+
> ⚠️ **DEPRECATED as of v1.1.0.** The Python `sin` CLI / `sin-code-bundle` MCP server is **superseded**
483+
> by the unified Go binary `sin-code` (`~/.local/bin/sin-code serve`). The Python repo lives on for
484+
> historical reference and as a fallback for users who cannot install the Go toolchain. Do not start a
485+
> new project on the Python stack.
466486
467-
## Quick Start
487+
The Python implementation that originally unified the SIN-Code agent-engineering stack. The active stack
488+
is now the **Go binary** documented in the **SIN-Code Tool Suite** section above.
468489

469-
```bash
470-
# Install
471-
pip install -e .
490+
## Migration
472491

473-
# Show status
474-
sin status
475-
476-
# Bootstrap repo
477-
sin bootstrap .
478-
479-
# Run SIN-Code Go tool
480-
sin sin-code run discover --path . -pattern "**/*.py" -format json
481-
482-
# Generate AGENTS.md
483-
sin sin-code agents-md --output AGENTS.md
484-
```
492+
| Old (Python, deprecated) | New (Go, current) |
493+
|--------------------------|-------------------|
494+
| `pip install -e .` (in `SIN-Code-Bundle/`) | `go install` or download release of `sin-code` |
495+
| `sin status` | `sin-code tui` (or just `sin-code --help`) |
496+
| `sin bootstrap .` | `sin-code adw` (Architectural Debt Watchdogs) |
497+
| `sin sin-code run discover --path . ...` | `sin-code discover --path . ...` |
498+
| `sin serve` (launches the Python MCP) | `sin-code serve` (launches the Go MCP, 13 tools) |
499+
| `sin sin-code agents-md --output AGENTS.md` | Not needed — the canonical AGENTS.md ships in this repo |
485500

486-
## Features
487-
488-
- **Unified CLI**: Single `sin` command for all tools
489-
- **MCP server**: Unified MCP server for all agents
490-
- **Status detection**: Auto-detects installed subsystems
491-
- **Graceful degradation**: Works with partial installations
492-
- **Go tool integration**: Runs SIN-Code Go tools via `sin sin-code run`
493-
- **AGENTS.md generator**: Generates tool suite documentation
494-
495-
## Links
496-
497-
- [GitHub](https://github.com/OpenSIN-Code/SIN-Code-Bundle)
498-
- [SIN-Code-Discover-Tool](https://github.com/OpenSIN-Code/SIN-Code-Discover-Tool)
499-
- [SIN-Code-Execute-Tool](https://github.com/OpenSIN-Code/SIN-Code-Execute-Tool)
500-
- [SIN-Code-Map-Tool](https://github.com/OpenSIN-Code/SIN-Code-Map-Tool)
501-
- [SIN-Code-Grasp-Tool](https://github.com/OpenSIN-Code/SIN-Code-Grasp-Tool)
502-
- [SIN-Code-Scout-Tool](https://github.com/OpenSIN-Code/SIN-Code-Scout-Tool)
503-
- [SIN-Code-Harvest-Tool](https://github.com/OpenSIN-Code/SIN-Code-Harvest-Tool)
504-
- [SIN-Code-Orchestrate-Tool](https://github.com/OpenSIN-Code/SIN-Code-Orchestrate-Tool)
505-
- [SIN-Brain](https://github.com/OpenSIN-Code/SIN-Brain)
506-
507-
## Version
501+
## Why the Go binary won
508502

509-
v0.2.0
503+
- **Single binary** — no Python venv to maintain, no pip resolution, no platform issues
504+
- **13 MCP tools in one server** — replaces the Python MCP's tool sprawl with a clean, discoverable set
505+
- **No tool-shadowing** — Go tools have short, consistent names (`sin_discover`, `sin_execute`, …) that
506+
do not collide with the deprecated `sin-code-bundle_*` prefix
507+
- **Atomic, AST-verified writes**`sin-code-bundle_sin_edit` survives line shifts; for everything else
508+
the Go binary uses standard `read`/`write` URI schemes (`sckg://`, `oracle://`, etc.)
510509

511510
<!-- gitnexus:start -->
512511
# GitNexus — Code Intelligence

0 commit comments

Comments
 (0)