Skip to content

docs(platform): a project's Environment tab (credentials for its agents) is undocumented #4454

Closed

Description

@yannickmonney

Summary

A project's Environment tab (/dashboard/{org}/projects/{project}/secrets) stores encrypted credentials that the project's agents can use. No docs page explains it.

Across all 143 English pages, the tab is named once: docs/en/platform/projects/overview.md:48, "project administrators can configure Environment". A project admin who wants to give an agent a credential finds no guide. The docs don't cover:

  • what the tab is for;
  • which agents receive the values, and how;
  • the naming rules;
  • that values are never shown again;
  • who can see it.

What the product does (main 6ad6869d6ed5882079f8f6c0f61ab2edc22e1686)

  • The page says (services/platform/messages/en/projectSecrets.yml): "Encrypted credentials this project's agents can use. Values are never shown after saving." Under Available to agents: "Agent runtimes (e.g. Hermes, OpenClaw) can use these secrets when they run tasks for this project … Values are injected at runtime and are never shown to the chat model or revealed in the UI."
  • The editor (project-secrets-tab.tsx:147) is the shared EnvVarListEditor with forceSecret. It adds, replaces and deletes named values.
    • Names must match ^[A-Za-z_][A-Za-z0-9_]*$ and be unique (env-var-list-editor.tsx:28, :297–304).
    • On an archived project it's disabled.
  • Access: non-admins get Admin access required ("Only project administrators can view or manage them", projectSecrets.yml errors.PROJECT_FORBIDDEN).
  • Failed reads: if the read fails, no editor is shown, so nothing can be overwritten blind (:142–146). This is the failed-read and recovery behavior fix(platform): show a failed secrets read, not an empty editor #4317 fixed.

Expected and observed

  • Expected: a short section, for example in platform/projects/overview.md or project-agents.md, in en, de and fr. It says:
    • what Environment holds;
    • which agents and runtimes receive the values, and as what (environment variables at run time);
    • the naming rule;
    • that values can be replaced or deleted but never read back;
    • that only project administrators see the tab, and that it's read-only for archived projects.
  • Observed: one mention in a list of tabs.

Severity

Low (DOCS). The page explains itself in a sentence, but the setup journey "give my project's agent a credential" has no guide. Its relation to other credential places (organization connectors, provider credentials, an agent's Secrets grants in project-agents.md:66) is also left unexplained.

Acceptance checks

  1. A docs section covers the points under "Expected", in en, de and fr. The CI outline and link checks pass.
  2. overview.md:48 links to it.
  3. If the platform has a precedence between personal, project, agent and automation values (as once proposed in Improvement: Env var precedence Personal > Project > Agent > Automation #2791), the section states it.

Limits

  • Static: catalogs, components and the docs tree at main. The tab wasn't driven in a browser, and the runtime delivery to Hermes or OpenClaw wasn't traced in the backend.

Found by TALE-358 Review A (product and experience: DOCS, critical cell projects.secrets), occurrence 2026-10-06 20:15 Europe/Zurich, run 9d9fef5f-ca72-41e8-b949-fde38dbd29ae.

Activity

  1. yannickmonney commented on Oct 7, 2026

    @yannickmonney
    ContributorAuthor

    Post-merge recheck (TALE-358 Review A, run df3cb260; static plus CI): the docs part is done by #4463 (6682e4818). I recommend closing this issue.

    Coverage: docs/{en,de,fr}/platform/projects/overview.md now has a "Project credentials" section (#environment-credentials), linked from the tab list at :48. It covers:

    • what Environment stores;
    • admin-only access and read-only on archived projects;
    • the editor's and the server's naming rules;
    • that values are write-only (replace or remove);
    • read-failure recovery.

    CI: the docs structure and link suite ran uncached and passed at a89498df4 (Checks run 37559607699, Unit (workspaces), 16 tasks MISS).

    One correction to this issue's premise, which the #4463 author found: project credentials are not injected into agent runs; nothing reads app.project_secrets outside the tab. The docs now say so, but the tab's own copy still promises runtime injection to Hermes and OpenClaw. That product side is filed as #4466, together with the editor/server name-rule mismatch.

  2. yannickmonney commented on Oct 7, 2026

    @yannickmonney
    ContributorAuthor

    Docs follow-up after #4469 (TALE-358 Review A, run c5f148b5; main 6eaa56999bb6528abe26666aa23bfcad607ef862, static).

    #4469 changed the Environment tab and its editor, but the "Project credentials" section that #4463 added still describes the old versions in all three languages:

    • docs/{en,de,fr}/platform/projects/overview.md:58 opens with "The tab describes credentials for task runtimes such as Hermes and OpenClaw". The tab now says the credentials are stored for the project, are not currently passed to agent runs, and that an agent gets access through its Secrets grants.
    • :54 says the editor accepts ^[A-Za-z_][A-Za-z0-9_]*$ and only the server adds the uppercase, leading-letter and 64-character rule. The editor now applies that rule itself (^[A-Z][A-Z0-9_]{0,63}$, names upper-cased, token/TOKEN refused as duplicates), with a field error.

    The rest of the section still matches the code: nothing passes these credentials to runs, and agents get values through their Secrets grants. Once these two lines are updated, #4454 can close. Recheck on #4466: see the comment there.

  3. added
    agent-ready
    on Oct 29, 2026
  4. tale-code-bot commented on Oct 30, 2026

    @tale-code-bot
    Collaborator

    I'm closing this as completed: PR #4463 added the project credentials section this issue asks for. It merged on 2026-10-07 as 6682e48183bd57faa48d7385c2ac6d7074e611d9, which is an ancestor of main.

    What I checked on main at 49ce42fdd3b20a452a2572554c587f4f89bdb4f8:

    • docs/en/platform/projects/overview.md links Environment to #environment-credentials. Its "Project credentials" section covers:
      • what the tab stores;
      • that only project administrators see it, and that it is read-only on an archived project;
      • the naming rule;
      • that values are never shown again and can only be replaced or removed;
      • how to recover when the list fails to load.
    • The de and fr overview pages carry the same section.
    • On acceptance check 3: the section says project credentials are currently stored but not injected into agent runs. It points to the organization Secrets grants, which do reach the runtime. So there is no precedence to state.

    One thing outside this issue, which I did not file here: the tab's own copy (projectSecrets.yml) says values are injected at runtime, and the guide says they are not.

    Tale task: TALE-80.

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

    agent-readydocs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions