Skip to content

STOP: agent direction reset — trios-server is Rust on :9005, NOT TypeScript mcp-bridge #18

Closed

Description

@gHashTag

⛔ DIRECTION RESET — READ BEFORE ANY WORK

What happened

Agent worked on trios-mcp-bridge (TypeScript, port 9200) — this is WRONG PATH.

The Truth (SSOT)

CORRECT ARCHITECTURE:
  trios-server  (Rust, Axum, port 9005)  ← THIS IS THE SERVER
      └── crates/trios-server/src/tools.rs  ← 7 tools already implemented

WRONG PATH (do not continue):
  trios-mcp-bridge  (TypeScript, port 9200)  ← NOT IN THIS REPO, NOT GOLD

Why

  1. CLAUDE.md Law L1: NO TypeScript in trios — all automation is Rust binaries
  2. CLAUDE.md Law L5: port 9005 is trios-server — not 9200
  3. trios is a Rust workspace (Cargo.toml) — no package.json, no bun
  4. crates/trios-server/src/tools.rs already has 7 tools in Rust

What agent MUST do instead

RING 0 (#16) — Start here

cd /path/to/trios
cargo build --release         # must be 0 errors
cargo clippy -- -D warnings   # must be 0 warnings  
cargo test                    # must be all green

Then start trios-server

cargo run -p trios-server
# Listens on 0.0.0.0:9005

Verify 7 tools

curl -s http://localhost:9005/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
# Returns: git_status, git_stage_files, git_unstage_files, git_commit, git_create_branch, gb_list_branches, gb_push_stack

Files to touch (ONLY these)

trios/
├── crates/trios-server/src/   ← Rust only
├── crates/trios-git/src/      ← Rust only  
├── crates/trios-gb/src/       ← Rust only
├── crates/trios-core/src/     ← Rust only
└── .trinity/experience/       ← seal logs only

Files to NEVER create

❌ any .ts files
❌ any .js files  
❌ any package.json
❌ any .sh files
❌ trios-mcp-bridge/ directory

Laws (CLAUDE.md)

  • L1: NO .sh files — only Rust binaries
  • L3: clippy zero warnings
  • L4: cargo test before commit
  • L5: port 9005 is trios-server
  • L7: experience log in .trinity/experience/

Next action

Go to issue #16 (RING 0) and execute it in Rust.

φ² + 1/φ² = 3 | RUST ONLY | NO TYPESCRIPT IN TRIOS

Activity

  1. gHashTag commented on Apr 18, 2026

    @gHashTag
    CollaboratorAuthor

    ✅ Architecture confirmed:

    • trios/ = Rust workspace (Cargo.toml, NO TypeScript)
    • port 9005 = trios-server (Rust, Axum)
    • 7 MCP tools registered in crates/trios-server/src/tools.rs
    • cargo test → 14 passed, 0 failed
    • curl localhost:9005/mcp/tools/list → 7 tools

    Closes #18. Next: RING 2.

  2. added a commit that references this issue on Apr 18, 2026
    1010c5f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions