Skip to content

docs(cli): the --yes option lines of os db orphans, os secret orphans and os secret rewrap don't say that a non-terminal run without --yes writes nothing and exits 1 #38052

Backlog

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Filing gate: ① (b) out-of-scope finding, the contract review on PR #38042 (#36679), N2 in record 7228083567, carried in report 7228826855. Source: fleet.
Blocked-by: #36679

维护者速读

  • 问题:CLI 文档里三条命令的 --yes 选项没写清楚:在脚本或 CI 里(stdin 不是终端)不加 --yes 运行时,什么都不写,并以退出码 1 结束。写脚本的人看文档,不知道会失败。
  • 修法:照 os migrate list-preferences 那一行的写法,给这三行各补一句。只改一页手写文档的三行。
  • 优先级 p3。

What to change

content/docs/**/cli.mdx, the -y, --yes option lines of:

  • os db orphans (about line 486)
  • os secret orphans (about line 667)
  • os secret rewrap (about line 731)

Each gains one sentence in the same form as the os migrate list-preferences line (about line 2541): run without it, a run whose stdin is not a terminal (or one with --json) writes nothing and exits 1.

Acceptance

Activity

  1. added
    documentation
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:build · domain:docs · Task · p3 · pm:blocked · size XS; rationale: the --yes option lines of three CLI commands do not say that, without --yes, a non-interactive run writes nothing and exits 1. A docs omission on one hand-written page; nothing in it is wrong, so the filer's p3 stands. It waits on #36679, per its Blocked-by: line. Graded, not chased (area:build has no seat). Recorded 2026-11-27T22:14Z.

    Blocked-by: #36679

  3. added
    pm:blocked
    on Nov 27, 2026
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

    area:builddocumentationdomain:docspm:blockedpriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions