Repository navigation
Description
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 sharedEnvVarListEditorwithforceSecret. 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.
- Names must match
- Access: non-admins get Admin access required ("Only project administrators can view or manage them",
projectSecrets.ymlerrors.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.mdorproject-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
- A docs section covers the points under "Expected", in en, de and fr. The CI outline and link checks pass.
overview.md:48links to it.- 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
docs(platform): explain project environment credentials (#4463)
yannickmonney commentedon Oct 7, 2026
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.mdnow has a "Project credentials" section (#environment-credentials), linked from the tab list at:48. It covers: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_secretsoutside 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.docs: update v0.5.76 release notes
yannickmonney commentedon Oct 7, 2026
Docs follow-up after #4469 (TALE-358 Review A, run
c5f148b5;main6eaa56999bb6528abe26666aa23bfcad607ef862, 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:58opens 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.:54says 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/TOKENrefused 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.
tale-code-bot commentedon Oct 30, 2026
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 ofmain.What I checked on
mainat49ce42fdd3b20a452a2572554c587f4f89bdb4f8:docs/en/platform/projects/overview.mdlinks Environment to#environment-credentials. Its "Project credentials" section covers: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.