Do we have term inconsistencies in the cli if you look at our docs?…
- User
Do we have term inconsistencies in the cli if you look at our docs? https://docs.intropy.io/concepts/intropy-model/
Assistant
I'll compare the terminology on the Intropy model docs page against what the CLI actually says. First, let me fetch the docs page to get the canonical vocabulary.
Assistant
The docs site returned 403 to the fetcher — let me try curl, and it may need a browser session otherwise.
Assistant
All three decisions are in. Writing the plan now.
Assistant
What would you like to clarify before we settle the vocabulary questions? For context, the two open decisions are: (1) what the CLI should call the items in the
intropy-blueprintsrepo — "Blueprint template", bare "blueprint", or just "template" — and (2) whether to flag the docs' "two or more Blocks" definition clashing with the single-Blocktransactionaltemplate as a docs follow-up.- User
You dont see any conflict in using blueprints to describe what is in the blueprint repo at all?
Assistant
Yes — I do, and I should state it more sharply than I did. My earlier "Blueprint template" suggestion actually papers over it, so let me lay out the conflict in full:
The repo's contents don't match its name at any level.
- A docs Blueprint is a composition of two or more Blocks. Nothing in the repo composes Blocks — each entry renders exactly one deployable component.
- The
transactionalentry is titled "Transactional Integration", which the docs classify as a Block type. So the most substantive thing in the "blueprints" repo is, in docs vocabulary, a Block template — the other primitive entirely. Even calling it a "Blueprint template" would be wrong; it's not a template of any Blueprint. hello-worldis a demo scaffold that's neither.- Meanwhile the things the docs actually call Blueprints (Golden Record, Distribution) don't exist in the repo at all.
So today, "the blueprints library" is a library containing zero Blueprints. My guess at how this happened: the repo was named when the vocabulary was looser (the era when "point-to-point" was still a shape name), and the docs model has since tightened — Transactional Integration moved from being a Blueprint shape to being a Block type, which stranded the repo name.
Assistant
Now applying the edits, starting with the command help text.
Assistant
All user-visible strings in Go code are done (remaining hits are identifiers and the temp-dir pattern). Now the README and CONTRIBUTING.
Assistant
Left the commit-scope examples (
fix(blueprint):etc.) and "GitHub blueprint client" alone — they reference the unchanged Go package name. Now build and test.Assistant
All green with no test fallout. Now the end-to-end verification.
Assistant
Only remaining hit is a contributor-facing reference to the Go package's client, which stays by design. Now saving the vocabulary decision to memory per the plan.
Assistant
Done — the CLI now uses "template" for what it scaffolds from, reserving "Blueprint" for the docs primitive.
What changed (6 files):
cmd/intropy/int_create.goandint_describe.go—Useplaceholders are now<template>, and all Short/Long/flag help says "template" ("Scaffold a new integration from the official Intropy template library…").- and — user-visible messages and errors reworded: "created … (template hello-world)", "template %q not found in …", "invalid template name %q".
- User
I am going to rename the blueprint repo while there probably isnt any users but that will render all older versions of the cli unusable I guess
Assistant
Good news: probably not — GitHub keeps permanent redirects in place after a repo rename, and the CLI's HTTP stack follows them. Let me double-check the two code paths an old CLI would hit.
Assistant
To summarize: go ahead and rename — old CLIs survive via GitHub's permanent API redirects (verified both in the CLI's HTTP code and against a real renamed repo). The only hard rule is to never create a new repo under the old
intropy-blueprintsname, and the follow-up is a CLI release pointingdefaultBlueprintRepoat the new name — optionally bundled with thescaffold.json/describe-JSON key renames since that's the natural breaking-change moment. I've saved all of this to memory so the rename checklist carries into future sessions.- User
I think we should do this now: "a CLI release pointing defaultBlueprintRepo at the new name — optionally bundled with the scaffold.json/describe-JSON key renames since that's the natural breaking-change moment."
Assistant
Let me first check whether the repo rename has already happened (and to what name), then find everything that touches the
"blueprint"keys.Assistant
Now the external consumer — the Backstage scaffolder module:
Assistant
Code search came up empty (possibly not indexed). Let me check the module's actual source.
Assistant
Now the README links to the renamed repo:
Assistant
The
defaults_test.gois doing exactly its job — pinning the constant so changing it is deliberate. Updating the pin:Assistant
All green — the CLI now talks to
intropy-templatesdirectly and the JSON key istemplate. Committing:Assistant
The rebase hit conflicts (expected — both sides touched the same files). Let me see what's still conflicted and resolve:
Assistant
Now
internal/deploy/create.goand its callers:Assistant
Now the user-facing strings and remaining
scaffold.Blueprintreferences in the deploy package:Assistant
Now the
manifests createcommand text, package doc, and deploy tests:Assistant
Branch is green. End-to-end verify: scaffold a project with the branch build and inspect the new
scaffold.json:Assistant
Shell aliases (
bat,zoxide) interfered — retrying with absolute paths:Assistant
go run -Cchanged the working directory, so./e2elanded in the repo instead. Let me clean that up and rerun properly:Assistant
Back on main (2 commits ahead of origin, nothing uncommitted). Branch task done — moving to the scaffolder module.
Assistant
Before deciding how hard to rename the action's input, let me check who calls
intropy:int:createacross the org:Assistant
No in-org callers found for the action — a clean rename is safe. Let me check the test and README:
Assistant
Now applying the module changes — hard rename of the action's input/outputs (no callers), with defensive parsing that accepts old CLIs'
blueprintkey:Assistant
yarn installis taking a while (moved to background — I'll get notified). While it runs, let me double-check nothing else in the module references the old vocabulary:Assistant
All remaining mentions are the intentional legacy-fallback code. Checking on the yarn run:
Assistant
Install finished; typecheck/tests are running. I'll wait for completion:
Assistant
The run seems hung — Backstage's
yarn testenters jest watch mode outside CI. Killing it and rerunning withCI=true:Assistant
All four pieces are done and verified. Here's where everything stands:
intropy-cli
main— two local commits, not yet pushed:0220120— the "template" vocabulary in all human-facing text (from earlier).