Skip to content

Secret-fields table renders section labels, not writable YAML paths #32

Description

@oschaaf

Cosmetic: the generated "Secret fields" table in dtwo-gateway-config's SKILL.md prints section paths with variant parentheticals, e.g. mcp_servers[].authentication (bearer).token. That is the artifact's section naming, not a valid YAML path — a model (or user) copying it verbatim writes a key that does not exist.

skill-harness/src/paths.ts already has a stripVariantParentheticals helper that produces the real path form. Suggested fix: strip the parenthetical in renderSecretFields (scripts/generate-schema-digest.mjs) and, if the variant context is worth keeping, move it to its own column. Low priority — the secret list is unchanged by recent re-vendors and the surrounding prose makes the intent clear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions