From 6db6556935049a33f77a723a70c1e5175ac59802 Mon Sep 17 00:00:00 2001 From: Lakshman Patel Date: Wed, 2 Dec 2026 19:18:35 +0530 Subject: [PATCH] docs: align relay docs with v1.0.1 - install the published v1.0.1 tag instead of @main and drop the stale v0.0.1 module-path caveat - point versioning links at reflect/docs/versioning.md, not the retired decoder repo - correct the LICENSE holder in the enterprise design doc - document the manual release PR/tag flow instead of release-please - update the 1.x support wording and company security contact - replace remaining user-facing 'decoder models refresh' commands with 'reflect models refresh' - fix the retract comment to match the published v0.0.1 tag --- CONTRIBUTING.md | 12 +++++------- README.md | 5 +---- SECURITY.md | 9 ++++----- catalog/errors.go | 2 +- catalog/refresh.go | 2 +- catalog/v1.go | 4 ++-- config/routing_build.go | 2 +- docs/design/RELAY-ENTERPRISE.md | 6 +++--- go.mod | 3 +-- llms.txt | 2 +- setup/catalog.go | 2 +- setup/deployment.go | 2 +- setup/status.go | 2 +- 13 files changed, 23 insertions(+), 30 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ee6b58aa..5a0fcd39 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ Thanks for your interest! This guide covers the conventions used across the graycode-eco. The eco-wide standards (versioning, release tooling, repo layout) -are defined in . +are defined in . ## Quick start @@ -38,8 +38,8 @@ for the full list. The most common targets: ## Commit message convention We use [Conventional Commits](https://www.conventionalcommits.org/). This -isn't cosmetic — release-please reads commit messages to bump the `VERSION` -file and generate the CHANGELOG, so getting them right matters. +isn't cosmetic — commit messages drive the release notes and the hand-written +CHANGELOG, so getting them right matters. ``` (): @@ -101,10 +101,8 @@ Before requesting review: - [ ] `make ci` passes locally. - [ ] New behaviour has tests; bug fixes have a regression test. -- [ ] `CHANGELOG.md` entries are **not** edited manually — release-please - generates them from your commit messages. -- [ ] The `VERSION` file is **not** edited manually — release-please bumps - it on release. +- [ ] `CHANGELOG.md` and `VERSION` are **not** edited in a feature PR — + the release PR updates both, then the matching `vX.Y.Z` tag is pushed. - [ ] Public API changes have updated doc comments. - [ ] No secrets, API keys, or PII in code, comments, tests, or fixtures. diff --git a/README.md b/README.md index 5f1c186e..584e597b 100644 --- a/README.md +++ b/README.md @@ -79,12 +79,9 @@ symbols are frozen as part of the contract; see ## Quick Start ```bash -go get github.com/GrayCodeAI/relay@main +go get github.com/GrayCodeAI/relay@v1.0.1 ``` -Until a post-rename release is tagged, use `@main`; the existing `v0.0.1` tag -declares a different Go module path. - Requires Go 1.27.2+ and a configured provider credential. Direct dependencies: UUID, tiktoken tokenizer, OS keyring, OpenTelemetry, pure-Go SQLite, and gRPC (linked only into `-tags grpc` builds of `internal/grpc`). diff --git a/SECURITY.md b/SECURITY.md index 172163f5..d0efa4ed 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,12 +2,11 @@ ## Supported versions -We support the latest minor version on each `0.x` line, and the latest two -minor versions once `1.x` ships. Older versions receive critical-severity -fixes only on a best-effort basis. +We support the latest minor version on the current `1.x` line. Older +versions receive critical-severity fixes only on a best-effort basis. The current canonical version is the contents of the [`VERSION`](./VERSION) -file at the repo root. See [`VERSIONING.md`](https://github.com/GrayCodeAI/decoder/blob/main/docs/versioning.md) +file at the repo root. See [the versioning standard](https://github.com/GrayCodeAI/reflect/blob/main/docs/versioning.md) for the eco-wide versioning scheme. ## Reporting a vulnerability @@ -15,7 +14,7 @@ for the eco-wide versioning scheme. **Do not open a public GitHub issue for security vulnerabilities.** Instead: 1. Open a private [GitHub Security Advisory](https://github.com/GrayCodeAI/relay/security/advisories/new), **or** -2. Email `security@decoder.ai` with the details below. +2. Email `security@graycodeai.com` with the details below. Include in your report: diff --git a/catalog/errors.go b/catalog/errors.go index e4820882..f313d62c 100644 --- a/catalog/errors.go +++ b/catalog/errors.go @@ -3,5 +3,5 @@ package catalog import "errors" // ErrCatalogCacheRequired is returned when no valid ~/.relay/model_catalog.json exists. -// Run catalog discovery (decoder models refresh / relay catalog discover) to populate the cache. +// Run catalog discovery (reflect models refresh / relay catalog discover) to populate the cache. var ErrCatalogCacheRequired = errors.New("model catalog cache required") diff --git a/catalog/refresh.go b/catalog/refresh.go index 48aa124f..2d9bdd9a 100644 --- a/catalog/refresh.go +++ b/catalog/refresh.go @@ -96,7 +96,7 @@ func (r *RefreshResult) Summary() string { ) } -// DiscoverReport returns a multi-line report for `decoder models refresh` / `relay catalog discover`. +// DiscoverReport returns a multi-line report for `reflect models refresh` / `relay catalog discover`. func (r *RefreshResult) DiscoverReport() string { if r == nil || r.Compiled == nil { return "Catalog discovery: no data" diff --git a/catalog/v1.go b/catalog/v1.go index 390c9e7e..20ba65b7 100644 --- a/catalog/v1.go +++ b/catalog/v1.go @@ -643,7 +643,7 @@ func LoadCatalog(ctx context.Context, opts LoadCatalogOptions) (*CompiledCatalog return compiled, nil } if opts.RequireCache { - return nil, fmt.Errorf("%w (%s missing or invalid; run: decoder models refresh)", ErrCatalogCacheRequired, opts.CachePath) + return nil, fmt.Errorf("%w (%s missing or invalid; run: reflect models refresh)", ErrCatalogCacheRequired, opts.CachePath) } bootstrap := BootstrapCatalog() compiled, err := CompileCatalog(&bootstrap) @@ -652,7 +652,7 @@ func LoadCatalog(ctx context.Context, opts LoadCatalogOptions) (*CompiledCatalog } compiled.Diagnostics = append(compiled.Diagnostics, CatalogDiagnostic{ Code: "bootstrap_only", - Message: "no model catalog cache; run decoder models refresh or relay catalog discover", + Message: "no model catalog cache; run reflect models refresh or relay catalog discover", }) return compiled, nil } diff --git a/config/routing_build.go b/config/routing_build.go index 9b4bd4cc..aff4cb92 100644 --- a/config/routing_build.go +++ b/config/routing_build.go @@ -109,7 +109,7 @@ func longcatProviderStages(deployments map[string]DeploymentConfig) []RoutingSta return nil } // Single OpenAI-compatible endpoint only (longcat-direct). - // Official LongCat also documents /anthropic; decoder does not require it when OpenAI works. + // Official LongCat also documents /anthropic; Reflect does not require it when OpenAI works. return singleDeploymentStages("longcat-direct", 1) } diff --git a/docs/design/RELAY-ENTERPRISE.md b/docs/design/RELAY-ENTERPRISE.md index 25511460..4a8e40e4 100644 --- a/docs/design/RELAY-ENTERPRISE.md +++ b/docs/design/RELAY-ENTERPRISE.md @@ -58,7 +58,7 @@ it is treated here as a multi-month effort. ("run prompt vX against models A/B/C"). 5. **Canary / blue-green model testing** promoted from the existing weighted/preview routing primitives into a named, observable production-traffic flow. -6. **A2A protocol** so decoder agents can call external agents (LangGraph, Vertex Agent Engine, +6. **A2A protocol** so Reflect agents can call external agents (LangGraph, Vertex Agent Engine, Azure AI Foundry, Bedrock AgentCore) as tool calls through the relay proxy. 7. **Fine-tuning workflow client** that submits training data, polls jobs, and registers the resulting model in relay's catalog. @@ -75,7 +75,7 @@ it is treated here as a multi-month effort. (the existing `internal/grpc/README.md` policy of not adding `google.golang.org/grpc` speculatively is preserved). - **No model training** — only orchestration of provider-side fine-tuning APIs. -- The browser/IDE/cloud-execution gaps belong to decoder, not this doc. +- The browser/IDE/cloud-execution gaps belong to Reflect, not this doc. --- @@ -372,7 +372,7 @@ Exit: full enterprise parity with LiteLLM/Portkey gateway feature set per the co | Redis (distributed state, priority across instances) | **Adopt opt-in** `redis/go-redis` (BSD-2) | Behind interface; not default. | | gRPC | **Defer** — keep skeleton, do not add `google.golang.org/grpc` until demanded | Per `internal/grpc/README.md` policy. | -**Licensing:** relay is MIT (`LICENSE`, "Copyright (c) 2026 Decoder Contributors"). All proposed +**Licensing:** relay is MIT (`LICENSE`, "Copyright (c) 2026 GrayCode AI"). All proposed default deps (SQLite, go-keyring, OTel, uuid) are already MIT/BSD/Apache-2.0 (`go.mod`). Any opt-in adds (go-oidc Apache-2.0, pgx MIT, go-redis BSD) are MIT-compatible. **No GPL/AGPL.** A UI build toolchain (Vite/esbuild, MIT) is a dev-time dependency only — it does not ship in the diff --git a/go.mod b/go.mod index 5a94f73d..77facdd0 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,7 @@ module github.com/GrayCodeAI/relay go 1.27.2 -// The existing v0.0.1 tag declares a different module path. -// Consumers of github.com/GrayCodeAI/relay must use a post-rename revision. +// v0.0.1 is a historical pre-1.0 tag; use v0.0.2 or a later release. retract v0.0.1 require ( diff --git a/llms.txt b/llms.txt index 08081f5f..4399b245 100644 --- a/llms.txt +++ b/llms.txt @@ -176,5 +176,5 @@ routing strategies. Internal infrastructure (`retry.go`, `ratelimit.go`, - pkg.go.dev: https://pkg.go.dev/github.com/GrayCodeAI/relay - CONTRIBUTING.md — development setup, commit conventions, PR process - SECURITY.md — report privately (GitHub Security Advisory or - security@decoder.ai), never a public issue + security@graycodeai.com), never a public issue - Example host: https://github.com/GrayCodeAI/reflect diff --git a/setup/catalog.go b/setup/catalog.go index 872749f0..9442bf0f 100644 --- a/setup/catalog.go +++ b/setup/catalog.go @@ -20,7 +20,7 @@ func DiscoverModelCatalog(ctx context.Context, creds catalog.Credentials) (*cata return DiscoverModelCatalogWithOptions(ctx, creds, DiscoverModelCatalogOptions{}) } -// DiscoverModelCatalogWithOptions runs discover with optional force refresh (manual decoder models refresh). +// DiscoverModelCatalogWithOptions runs discover with optional force refresh (manual reflect models refresh). func DiscoverModelCatalogWithOptions(ctx context.Context, creds catalog.Credentials, opts DiscoverModelCatalogOptions) (*catalog.RefreshResult, error) { cachePath := catalog.DefaultCachePath() refreshRemote := opts.ForceRefresh diff --git a/setup/deployment.go b/setup/deployment.go index f23ac260..2b91bf2b 100644 --- a/setup/deployment.go +++ b/setup/deployment.go @@ -1,4 +1,4 @@ -// Package setup wires catalog-backed deployment routing for decoder and relay CLIs. +// Package setup wires catalog-backed deployment routing for the Reflect and Relay CLIs. package setup import ( diff --git a/setup/status.go b/setup/status.go index ad03ecc9..99eccb45 100644 --- a/setup/status.go +++ b/setup/status.go @@ -132,7 +132,7 @@ func FormatStatus(report StatusReport) string { fmt.Fprintf(&b, " cached: no (using embedded catalog: %d models)\n", report.CatalogModels) } if report.CatalogStale { - b.WriteString(" stale: yes — decoder refreshes automatically; use `decoder models refresh` or `/refresh-model-catalog` for a manual run\n") + b.WriteString(" stale: yes — decoder refreshes automatically; use `reflect models refresh` or `/refresh-model-catalog` for a manual run\n") } if report.ActiveModel != "" { fmt.Fprintf(&b, "Active canonical model: %s\n", report.ActiveModel)