You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: fix stale build-tag references (teams -> server) in specs/029 and related docs
All //go:build teams, -tags teams, internal/teams/ references updated to
//go:build server, -tags server, internal/serveredition/ to match the
actual build tags used throughout the codebase.
Related #603
Copy file name to clipboardExpand all lines: specs/029-mcpproxy-teams/plan.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
6
6
## Summary
7
7
8
-
Restructure the MCPProxy repository to support two editions (Personal and Teams) built from the same codebase using Go build tags. Personal is the default build; Teams requires `-tags teams`. Add Dockerfile for teams, `native/` directory skeleton for future Swift/C# tray apps, extended Makefile, and edition self-identification.
8
+
Restructure the MCPProxy repository to support two editions (Personal and Teams) built from the same codebase using Go build tags. Personal is the default build; Teams requires `-tags server`. Add Dockerfile for teams, `native/` directory skeleton for future Swift/C# tray apps, extended Makefile, and edition self-identification.
9
9
10
10
## Technical Context
11
11
@@ -60,13 +60,13 @@ specs/029-mcpproxy-teams/
60
60
```text
61
61
cmd/mcpproxy/
62
62
├── main.go # Shared entry point (modify: add edition variable)
63
-
├── teams_register.go # NEW: //go:build teams — registers teams features
63
+
├── teams_register.go # NEW: //go:build server — registers teams features
Copy file name to clipboardExpand all lines: specs/029-mcpproxy-teams/research.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Go Build Tags Pattern
4
4
5
-
**Decision**: Use `//go:build teams` file-level tags to isolate teams-only code.
5
+
**Decision**: Use `//go:build server` file-level tags to isolate teams-only code.
6
6
7
7
**Rationale**: Go build tags are the idiomatic way to compile different feature sets from the same codebase. The `init()` registration pattern allows teams packages to self-register without modifying shared code paths.
Copy file name to clipboardExpand all lines: specs/029-mcpproxy-teams/spec.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -224,11 +224,11 @@ The proxy provides a web interface where users log in via their identity provide
224
224
**Backward Compatibility**
225
225
226
226
-**FR-037**: When operating in personal mode (default), the system MUST behave identically to the current single-user version with no team features active.
227
-
-**FR-038**: The system MUST be built as a separate binary from the personal edition using Go build tags (`-tags teams`), from the same repository and `cmd/mcpproxy` entry point.
227
+
-**FR-038**: The system MUST be built as a separate binary from the personal edition using Go build tags (`-tags server`), from the same repository and `cmd/mcpproxy` entry point.
228
228
229
229
**Build & Distribution**
230
230
231
-
-**FR-039**: The personal edition MUST be the default build output (`go build ./cmd/mcpproxy`). The teams edition MUST require an explicit build tag (`go build -tags teams ./cmd/mcpproxy`).
231
+
-**FR-039**: The personal edition MUST be the default build output (`go build ./cmd/mcpproxy`). The teams edition MUST require an explicit build tag (`go build -tags server ./cmd/mcpproxy`).
232
232
-**FR-040**: The teams edition MUST be distributed as a Docker image (`ghcr.io/smart-mcp-proxy/mcpproxy-teams`), a `.deb` package for Ubuntu/Debian, and a Linux binary tarball.
233
233
-**FR-041**: The personal edition MUST be distributed as macOS DMG installer (with native Swift tray app), Windows MSI/EXE installer (with native C# tray app), Linux binary tarball, and via Homebrew.
234
234
-**FR-042**: Both editions MUST be released under a single GitHub release tag (e.g., `v0.21.0`) with assets clearly named by edition (`mcpproxy-*` for personal, `mcpproxy-teams-*` for teams).
@@ -272,7 +272,7 @@ The proxy provides a web interface where users log in via their identity provide
272
272
- Agent token maximum per user follows the same limit as the personal edition (10 tokens per user).
273
273
- Admin designation is static per configuration (email list or IdP claim) — there is no in-app role assignment UI in v1.
274
274
- Server template definitions are static (shipped with the binary + admin-defined in config) — there is no template marketplace or community sharing.
275
-
- Both editions are built from the same repository (`mcpproxy-go`) using Go build tags. Teams-only code lives in `internal/serveredition/` with `//go:build teams` guards. No `pkg/` migration is needed.
275
+
- Both editions are built from the same repository (`mcpproxy-go`) using Go build tags. Teams-only code lives in `internal/serveredition/` with `//go:build server` guards. No `pkg/` migration is needed.
276
276
- Data retention for activity logs follows the same policy as the personal edition — configurable, with no default auto-purge.
277
277
278
278
## Scope Boundaries
@@ -291,7 +291,7 @@ The proxy provides a web interface where users log in via their identity provide
291
291
- Activity log with user identity and filtering
292
292
- Web UI: login, dashboard, admin panel
293
293
- Backward-compatible personal mode
294
-
- Same-repo build tag architecture (`-tags teams`)
294
+
- Same-repo build tag architecture (`-tags server`)
295
295
- Single GitHub release with labeled assets per edition
296
296
- Docker image and deb package for teams distribution
297
297
- Native tray apps: Swift (macOS), C# (Windows) for personal distribution
0 commit comments