carlos / platform Public

Leave the route table's comment as it was (#491)

The comment edit on the telemetry GET's route declaration moved the
record-write census digest of var routeDecls, which would need a new
census inventory for no change in behaviour. The route's Allow (Operate)
is unchanged; the handler's own comment says what a member now reads.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev a3053944056da0c2080c1cd98cf8a9cbac49d113 parent 4d004aa
1 file changed, +1 −2
  • internal/console/routedecls.go +1 −2
diff --git a/internal/console/routedecls.go b/internal/console/routedecls.go
index 4e9e73ac8..dbc1872b7 100644
--- a/internal/console/routedecls.go
+++ b/internal/console/routedecls.go
@@ -666,8 +666,7 @@ var routeDecls = []routeDecl{
// widen or narrow what its owner is shown.
{Pattern: "PUT /api/cli/apps/{account}/{app}/telemetry", Kind: kindCLI, Allow: svcrole.Allow(svcrole.Operate), Handler: (*Server).handleAPITelemetryPut},
// Its read (`carlos protection` with no flag): the stored settings under
- // the PUT's service role. An owner reads them all; a member reads only
- // the protection half, which the Protection tab shows them (#491).
+ // the PUT's own gate, since they are the settings that PUT writes.
{Pattern: "GET /api/cli/apps/{account}/{app}/telemetry", Kind: kindCLI, Allow: svcrole.Allow(svcrole.Operate), Handler: (*Server).handleAPITelemetryGet},
{Pattern: "POST /api/cli/apps/{account}/{app}/instances", Kind: kindCLIScoped, Allow: svcrole.Allow(svcrole.Instance), Target: scopeCreateBody, Handler: (*Server).handleAPIInstanceCreate},
{Pattern: "GET /api/cli/apps/{account}/{app}/instances/{host}", Kind: kindCLIScoped, Allow: svcrole.Allow(svcrole.Instance), Target: scopeHost, Handler: (*Server).handleAPIInstanceGet},