Skip to content

The template's about.md describes the template; rename-template.sh writes the copy's placeholder card - #18

Merged
danieljhkim merged 1 commit into
agent-mainfrom
orbit/ORB-26710-a3c789b8
Nov 22, 2026
Merged

danieljhkim merged 1 commit into
agent-mainfrom
orbit/ORB-26710-a3c789b8

Conversation

@orbit-agent-01

Copy link
Copy Markdown
Contributor

Task

ORB-26710 — The template's about.md describes the template; rename-template.sh writes the copy's placeholder card

Description

The constellation front door (operations/scripts/index.sh in the umbrella) renders each codebase's about.md card. This repository's about.md is the placeholder card every generated copy starts with (codebase: tmpl-cli, summary: <one line — what tmpl-cli does ...>), so now that the repository is onboarded at codebases/rust-cli-template (ORB-26697; design docs/design/rust-cli-template/1_scope.md in the umbrella, Shape 1), the umbrella's INDEX would show that placeholder as the template's own description.

Decided by the captain onboarding it (ORB-26697): the template's own card lives in this repository's about.md, and scripts/rename-template.sh writes the copy's placeholder card when it renames a copy. That keeps the template an ordinary codebase with no umbrella special case. Phase 3 of the design replaces rename-template.sh with scripts/init.sh; that script inherits this behaviour.

Change

  1. about.md describes this repository: codebase: rust-cli-template, owner: daniel, a one-sentence summary of what the template is (the starting point for a new constellation Rust CLI: two crates, an output contract, a local store, gates and CI meeting the constellation standards; copies are made with GitHub's Use this template or the umbrella's operations/scripts/new-rust-cli.sh), status: active, stack: Rust, gate: pr, standards: STD-01,STD-02,STD-03,STD-04,STD-05, agents: "—". Keep the body paragraph, reworded for the template.
  2. scripts/rename-template.sh NAME replaces about.md in the copy with today's placeholder card, with NAME in place of tmpl-cli (frontmatter codebase: NAME, the placeholder summary, status: active, stack: Rust, gate: pr, agents: "—", and the same body paragraph). Write it from a heredoc in the script; do not keep a second card file in the tree.
  3. The README's one-line summary and the new card summary say the same thing for the template (the README keeps its template-only note).

No other file changes. No private task ids in any file (the repository is public): this description's ids stay out of the diff and the commit message.

Acceptance Criteria

  • about.md at the repository root has frontmatter codebase: rust-cli-template, gate: pr, standards: STD-01,STD-02,STD-03,STD-04,STD-05 and a one-sentence summary describing the template, with no < placeholder text.
  • On a scratch copy of the tree, scripts/rename-template.sh demo-cli exits 0, leaves an about.md whose frontmatter has codebase: demo-cli and the placeholder summary naming demo-cli, and make ci passes in that copy.
  • make ci passes in the repository itself.
  • git grep -nE 'ORB-[0-9]+' finds no id added by this change.

Execution Summary

Click to expand

Changed: about.md, scripts/rename-template.sh, README.md. No other files. Uncommitted.

Acceptance criteria:

  1. about.md: codebase rust-cli-template, owner daniel, status active, stack Rust, gate pr, standards STD-01..STD-05, agents "—", one-line summary describing the template, body reworded. No "<" in the file. PASS.
  2. Scratch copy (.orbit/tmp/rename-check, copied without target/, .orbit/, .git/): scripts/rename-template.sh demo-cli exited 0; about.md has codebase: demo-cli and a placeholder summary naming demo-cli; make ci in the copy exited 0 (fmt, structure, standards, clippy, deny, 106 tests, doctests, goldens). PASS.
  3. make ci in the repository exited 0 (full run, see below). PASS.
  4. git diff -U0 adds no ORB- id; git grep of the three changed files finds none. PASS. Existing ids in docs/design/tmpl-cli/1_overview.md and crates/tmpl-cli/src/tests/cli.rs are untouched.

Validation (repository):

  • First make ci: fmt-check, structure, standards-check and clippy -D warnings passed; deny failed with "failed to obtain lock file '~/.cargo/advisory-dbs/db.lock': attempted to take an exclusive lock on a read-only path". That is a sandbox write denial, not a policy failure. The diff touches no Cargo.toml, Cargo.lock or deny.toml.
  • Workaround, no policy bypass: CARGO_HOME=/.orbit/tmp/cargo-home, a writable home holding a symlink to the shared registry and a copy of advisory-dbs (advisory-db commit 55e1c3d, 2026-11-21). Full make ci with that CARGO_HOME: exit 0. Standalone cargo deny check --disable-fetch: advisories, bans, licenses, sources ok. No network refresh of the advisory DB.
  • make test: exit 0 (106 nextest tests passed, 2 doctests passed). make goldens: exit 0 (2 passed). git diff --check: clean.

Reconciliation: git status --short shows only M README.md, M about.md, M scripts/rename-template.sh. Gitignored run scratch under .orbit/tmp/ (logs make-*.log, rename-check/, cargo-home/ with a 68 MB advisory-db copy) was not removed. The worktree target/ also holds demo-cli build artifacts from the copy build (sandbox-owned, ignored).

Decisions and deviations:

  • owner: daniel stays on the placeholder card, as it is on today's card; the task's field list omits it.
  • The README one-line summary now carries the same sentence as the card summary. Copies inherit it until filled in, as the README's Starting point section already says.
  • The placeholder heredoc is quoted and uses a NAME token filled by perl -pi (portable to macOS, and backticks in the body stay literal). The copy card keeps the "<one line ...>" placeholder by design.
  • Left unchanged: the crate Cargo.toml description and cli.rs doc comment ("Keep short notes in a local store."), since they describe the note tool and the task says no other files change.

Validation

  • Not reported

Branch Freshness

  • Base ref: refs/remotes/origin/agent-main
  • Head ref: orbit/ORB-26710-a3c789b8
  • Behind base: 0
  • Ahead of base: 1

Orchestrated-By: opus

The template's about.md describes the template; rename-template.sh writes the copy's placeholder card

Changed: about.md, scripts/rename-template.sh, README.md. No other files. Uncommitted.

Orbit-Task: ORB-26710
Orchestrated-By: Orchestrated-By: opus
@danieljhkim
danieljhkim merged commit b75b6a1 into agent-main Nov 22, 2026
2 checks passed
@danieljhkim
danieljhkim deleted the orbit/ORB-26710-a3c789b8 branch November 22, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants