Skip to content

Commit bf37758

Browse files
simplycubed-code[bot]simplycubed-code[bot]SimplyCubed Code
authored
Closes #108: Docs: update stale version references and consistently code-format examples (#109)
Co-authored-by: simplycubed-code[bot] <simplycubed-code@users.noreply.github.com> Co-authored-by: SimplyCubed Code <noreply@simplycubed.com>
1 parent 6a57ebd commit bf37758

4 files changed

Lines changed: 43 additions & 23 deletions

File tree

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
SimplyCubed Code is an autonomous coding agent you install into your own GitHub. Your team files an issue, the agent prepares a pull request in your repository, and one of your reviewers decides whether it ships.
66

7-
> Beta, at `v0.1.9`. Product overview: [simplycubed.com/code](https://simplycubed.com/code?utm_source=github&utm_medium=readme&utm_campaign=code). See [Status](#status).
7+
> Beta. Current release: `v0.1.9`. Product overview: [simplycubed.com/code](https://simplycubed.com/code?utm_source=github&utm_medium=readme&utm_campaign=code). See [Status](#status).
88
99
### Try it without letting it write anything
1010

@@ -124,16 +124,18 @@ Start with [docs/setup.md](docs/setup.md). It walks through customer installatio
124124

125125
## Installation
126126

127-
Install the pinned release you want to run:
127+
Install the pinned release you want to run. The current release is `v0.1.9`;
128+
replace `<release-tag>` below with that tag, or with whichever release you have
129+
validated:
128130

129131
```sh
130-
go install github.com/simplycubed/code/cmd/simplycubed@v0.1.9
132+
go install github.com/simplycubed/code/cmd/simplycubed@<release-tag>
131133
simplycubed version
132134
```
133135

134-
That prints `0.1.7`. Pre-1.0 releases follow semver with the usual caveat: minor
135-
versions may still change behavior. Pin the tag you have validated rather than
136-
floating on `@latest`.
136+
With `v0.1.9`, that prints `0.1.9`. Pre-1.0 releases follow semver with the
137+
usual caveat: minor versions may still change behavior. Pin the tag you have
138+
validated rather than floating on `@latest`.
137139

138140
Then follow the [setup guide in `docs/setup.md`](docs/setup.md) to add the repository config, install the GitHub workflow, set the required credentials, and run the first issue through the system.
139141

STATUS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ Each job mints its own installation token scoped to one repository with
3131
`contents`, `issues`, and `pull-requests` permissions only.
3232

3333
`v0.1.9` is the current release. `go install
34-
github.com/simplycubed/code/cmd/simplycubed@v0.1.9` works today. `v0.1.2` and `v0.1.4` are retracted in `go.mod` because those tags pointed at the wrong
34+
github.com/simplycubed/code/cmd/simplycubed@<release-tag>` works today when
35+
`<release-tag>` is the release you want to pin, including `v0.1.9`. `v0.1.2`
36+
and `v0.1.4` are retracted in `go.mod` because those tags pointed at the wrong
3537
commits.
3638

3739
Upgrade from anything earlier. `v0.1.7` has a duplicate `env:` key in its copy

docs/release.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Release Process
22

3-
`v0.1.0` is the first tagged SimplyCubed Code release. A tag means the code at
3+
`v0.1.0` was the first tagged SimplyCubed Code release. A tag means the code at
44
that commit passed the repo gate (`make check`), the CLI version reports that
55
same release, and the maintainer published release notes for it.
66

77
## Versioning
88

9-
Tags use semver with a leading `v` (`v0.1.0`, `v0.2.0`, ...). Before `v1.0.0`,
10-
minor releases may still make breaking changes when the product or CLI shape
11-
needs it. Patch releases are for backward-compatible fixes on an existing line.
9+
Tags use semver with a leading `v` (`vX.Y.Z`). Before `v1.0.0`, minor releases
10+
may still make breaking changes when the product or CLI shape needs it. Patch
11+
releases are for backward-compatible fixes on an existing line.
1212

1313
## Cutting a release
1414

1515
Run the **tag-release** workflow from the Actions tab and give it the version
16-
(`v0.1.6`). It checks out the remote tip of the default branch, verifies the
16+
(`vX.Y.Z`). It checks out the remote tip of the default branch, verifies the
1717
release is consistent, runs the gate, and creates the tag. Pushing that tag
1818
triggers the release workflow, which publishes the notes.
1919

@@ -42,6 +42,6 @@ For each tag:
4242

4343
## Binary releases
4444

45-
For `v0.1.0`, binary archives are deferred. The supported install path is
45+
For now, binary archives are deferred. The supported install path is
4646
`go install ...@<tag>`. If binary releases are added later, use GitHub Releases
4747
and stamp the same version via `-ldflags`.

docs/setup.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,17 @@ You need:
2222

2323
## Install and configure
2424

25-
1. Install the CLI:
25+
1. Install the CLI. The current release is `v0.1.9`; replace
26+
`<release-tag>` below with that tag, or with whichever release you have
27+
validated:
2628

2729
```sh
28-
go install github.com/simplycubed/code/cmd/simplycubed@v0.1.9
30+
go install github.com/simplycubed/code/cmd/simplycubed@<release-tag>
2931
simplycubed version
3032
```
3133

34+
With `v0.1.9`, `simplycubed version` prints `0.1.9`.
35+
3236
2. In the target repository, generate the setup files and labels:
3337

3438
```sh
@@ -244,15 +248,23 @@ Azure endpoint and API key.
244248

245249
## Watching it run before it writes
246250

247-
Two commands answer "is this configured correctly" without changing anything.
251+
Two commands answer "is this configured correctly" without changing anything:
252+
253+
```sh
254+
simplycubed preflight
255+
```
256+
257+
That validates the repository config and the engine settings and exits. It is
258+
what the workflow runs before installing the rest of the toolchain, so a
259+
misconfigured repository finds out in seconds.
248260

249-
`simplycubed preflight` validates the repository config and the engine settings
250-
and exits. It is what the workflow runs before installing the rest of the
251-
toolchain, so a misconfigured repository finds out in seconds.
261+
```sh
262+
simplycubed run owner/repo#N --dry-run
263+
```
252264

253-
`simplycubed run owner/repo#N --dry-run` runs the whole loop, including the
254-
engine and your real gate, and skips the push and every GitHub write. It prints
255-
what it would have done instead, and in Actions writes that to the run summary.
265+
That runs the whole loop, including the engine and your real gate, and skips
266+
the push and every GitHub write. It prints what it would have done instead, and
267+
in Actions writes that to the run summary.
256268

257269
If something goes wrong, [troubleshooting.md](troubleshooting.md) starts from
258270
the symptom.
@@ -261,7 +273,11 @@ the symptom.
261273

262274
If your Azure deployment name is not `gpt-5.4`, set it explicitly.
263275

264-
- Local CLI: pass `--model <deployment-name>`.
276+
- Local CLI:
277+
278+
```sh
279+
simplycubed run owner/repo#N --repo-dir . --model <deployment-name>
280+
```
265281
- GitHub Actions: uncomment and set `model:` in
266282
`.github/workflows/simplycubed.yml`.
267283

0 commit comments

Comments
 (0)