Skip to content

Releases

1.10.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 06:08
Immutable release. Only release title and notes can be modified.
d2ea302

🚀 Cortex v1.10.0 — Resistance Is Useless

"Resistance is useless!" — Prostetnic Vogon Jeltz, The Hitchhiker's Guide to the Galaxy

Before the memory comes in, the walls go up: a release is signed, and a mirror can serve one but not change it; what a project's files refer to is checked, a host other than GitHub's is named on every download, a theme change is said once, and the runtime sends the model only the part of the project it needs.

A minor release: a signed SHA256SUMS that cortex self-update checks, a new warning of cortex validate, a new option of the runtime, a note and a refusal. Nothing is removed, and every project keeps working, untouched.

A release is signed, and cortex self-update checks it (ADR-015, #275)

SHA256SUMS proves a download whole, not who built it, and it comes from the host that serves the asset. A mirror named by CORTEX_RELEASES_URL could serve a binary with a SHA256SUMS that matches it — and the assistant runs cortex self-update on its own when the pin asks for it.

  • The release workflow signs SHA256SUMS with an Ed25519 key, in a seventh asset, SHA256SUMS.sig. The key is a secret of a GitHub environment that only the release branches reach; a backup key is held offline, and a binary embeds both public keys.
  • cortex self-update checks the signature of a release from 1.10.0 on before it trusts a line of its SHA256SUMS, and a release before 1.10.0 against the checksum it embeds for it — whether it comes from GitHub or a mirror. A release unsigned, signed by a key it does not know, or whose SHA256SUMS was changed after it was signed is refused, naming what was wrong and the host, and nothing is replaced. There is no option to skip it.
  • The specs were covered already: a binary embeds the checksum of every spec released before it. The install scripts do not change: they trust the host that serves them.
  • A mirror copies the seven assets of a release, SHA256SUMS.sig among them.

cortex validate checks what a project's files refer to (#140)

A file with no base, a custom addition, was skipped: a workflow that dispatched to a role or a character gone with an old clone passed, and failed at the first conversation that ran it. cortex validate now reads every overlay and every custom addition for what it refers to:

  • spec paths — cortex/agents/…, cortex/docs/…, cortex/templates/… name a file of the spec; agents/roles/…, agents/workflows/… a file of the spec or of a tier the file reads;
  • roles — a roles/{category}/{role}.md path, or `{category}/{role}` where a dispatch names it;
  • characters — an @Name tied to a role, `role` (@Name) or @Name (role), is a character of the team's theme;
  • workflows named by their path.

Each one that names nothing is a new warning, REFERENCE_NOT_FOUND, with its line: --strict fails on it, a plain cortex validate does not. A mention that is no dispatch is never counted — Claude Code's @Explore, a service's @alias, an e-mail address, @types/node — nor a reference inside a code block or a comment, nor a pattern such as {service}/agents/…. Extending layers has the table of what counts. ADR-007 records the rule in its amendments.

A host other than GitHub's is named on every download (#275)

  • cortex sync, init and upgrade say where a spec comes from when they download one from a host other than GitHub's releases, as cortex self-update does for the binary: once per command, with the setting that named the host — CORTEX_RELEASES_URL or the machine's releases_url. Nothing is said when nothing is downloaded.
  • A releases URL with a user part — https://user:pass@host/… — is refused, saying why, redirects included. Such a URL never worked: the user part was taken as part of the host. A releases URL set with an @ anywhere, its path included, is refused too: a password holding /, ? or # hides where its user part ends. The message never prints the password. The install scripts already refused one.

cortex sync names whom to call when the theme changes (#397)

Since 1.8.6, cortex init ends with the theme's aliases. cortex sync now does too when the theme it reads — yours, in cortex.local.toml, over the team's — is not the one the last sync read: a teammate's change of theme, or your own, is said once. With no personality, nothing is.

The theme read is recorded in cortex.local.toml as a comment, # synced theme: h2g2, not as a key: a cortex of 1.9.x, and the runtime of 1.9.x, would refuse a key they do not know. They read the comment past. ADR-013 records it.

The runtime's project view is an option (#89)

The project view a run receives — # Project overview, # Workspace services, # Project context — weighs 11,000 to 16,500 tokens on a real workspace. Each part, overview, services and context, can now be kept or left out:

  • for a deployment, with CORTEX_PROJECT_VIEW — the parts separated by commas, or none;
  • for a run, with project_view on the request — /run, /resolve, a manifest endpoint — a list of parts, [] for none. It wins over the deployment's.

With neither set, the prompt is byte for byte what it was. An unknown part is refused, naming the accepted ones: 422 on the API, a stop at startup for the deployment's setting. A part left out is not read into the system prompt. The model can still open the files themselves with the code-read tools, which a run's default autonomy grants: to keep the developer's untracked notes away from the model provider, leave out overview and context and leave code-read out of the run's autonomy. That holds on the demo and anthropic-api backends; the claude-cli backend runs Claude Code in the workspace, which reads the files under it whatever the autonomy grants. ADR-002 records it.

Upgrading

cortex self-update, then cortex upgrade 1.10.0, or cortex upgrade --team 1.10.0 for a team's file. A project that stays on 1.9.x keeps working.

The step from 1.9.x to 1.10.0 is made by a 1.9.x binary, which checks SHA256SUMS but not its signature yet: that step trusts the host, as every update did before. Every update after it, made by 1.10.0 or later, checks the signature. Run cortex validate --strict once after the move: a reference that named nothing before now says so.

Notes

  • Release candidate: the release pipeline changes — it signs — so 1.10.0-rc.1 was cut and published as a pre-release before 1.10.0 (ADR-009 §3.7).
  • Next: wave 1, the memory, with #38 and #39.

1.10.0-rc.1

1.10.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 20:58
Immutable release. Only release title and notes can be modified.
7b57357

Warning

A pre-release of 1.10.0, not for production. Nothing installs 1.10.0-rc.1 unless asked for it by its version, and it is never the latest release.

🚀 Cortex v1.10.0 — Resistance Is Useless

"Resistance is useless!" — Prostetnic Vogon Jeltz, The Hitchhiker's Guide to the Galaxy

Before the memory comes in, the walls go up: a release is signed, and a mirror can serve one but not change it; what a project's files refer to is checked, a host other than GitHub's is named on every download, a theme change is said once, and the runtime sends the model only the part of the project it needs.

A minor release: a signed SHA256SUMS that cortex self-update checks, a new warning of cortex validate, a new option of the runtime, a note and a refusal. Nothing is removed, and every project keeps working, untouched.

A release is signed, and cortex self-update checks it (ADR-015, #275)

SHA256SUMS proves a download whole, not who built it, and it comes from the host that serves the asset. A mirror named by CORTEX_RELEASES_URL could serve a binary with a SHA256SUMS that matches it — and the assistant runs cortex self-update on its own when the pin asks for it.

  • The release workflow signs SHA256SUMS with an Ed25519 key, in a seventh asset, SHA256SUMS.sig. The key is a secret of a GitHub environment that only the release branches reach; a backup key is held offline, and a binary embeds both public keys.
  • cortex self-update checks the signature of a release from 1.10.0 on before it trusts a line of its SHA256SUMS, and a release before 1.10.0 against the checksum it embeds for it — whether it comes from GitHub or a mirror. A release unsigned, signed by a key it does not know, or whose SHA256SUMS was changed after it was signed is refused, naming what was wrong and the host, and nothing is replaced. There is no option to skip it.
  • The specs were covered already: a binary embeds the checksum of every spec released before it. The install scripts do not change: they trust the host that serves them.
  • A mirror copies the seven assets of a release, SHA256SUMS.sig among them.

cortex validate checks what a project's files refer to (#140)

A file with no base, a custom addition, was skipped: a workflow that dispatched to a role or a character gone with an old clone passed, and failed at the first conversation that ran it. cortex validate now reads every overlay and every custom addition for what it refers to:

  • spec paths — cortex/agents/…, cortex/docs/…, cortex/templates/… name a file of the spec; agents/roles/…, agents/workflows/… a file of the spec or of a tier the file reads;
  • roles — a roles/{category}/{role}.md path, or `{category}/{role}` where a dispatch names it;
  • characters — an @Name tied to a role, `role` (@Name) or @Name (role), is a character of the team's theme;
  • workflows named by their path.

Each one that names nothing is a new warning, REFERENCE_NOT_FOUND, with its line: --strict fails on it, a plain cortex validate does not. A mention that is no dispatch is never counted — Claude Code's @Explore, a service's @alias, an e-mail address, @types/node — nor a reference inside a code block or a comment, nor a pattern such as {service}/agents/…. Extending layers has the table of what counts. ADR-007 records the rule in its amendments.

A host other than GitHub's is named on every download (#275)

  • cortex sync, init and upgrade say where a spec comes from when they download one from a host other than GitHub's releases, as cortex self-update does for the binary: once per command, with the setting that named the host — CORTEX_RELEASES_URL or the machine's releases_url. Nothing is said when nothing is downloaded.
  • A releases URL with a user part — https://user:pass@host/… — is refused, saying why, redirects included. Such a URL never worked: the user part was taken as part of the host. A releases URL set with an @ anywhere, its path included, is refused too: a password holding /, ? or # hides where its user part ends. The message never prints the password. The install scripts already refused one.

cortex sync names whom to call when the theme changes (#397)

Since 1.8.6, cortex init ends with the theme's aliases. cortex sync now does too when the theme it reads — yours, in cortex.local.toml, over the team's — is not the one the last sync read: a teammate's change of theme, or your own, is said once. With no personality, nothing is.

The theme read is recorded in cortex.local.toml as a comment, # synced theme: h2g2, not as a key: a cortex of 1.9.x, and the runtime of 1.9.x, would refuse a key they do not know. They read the comment past. ADR-013 records it.

The runtime's project view is an option (#89)

The project view a run receives — # Project overview, # Workspace services, # Project context — weighs 11,000 to 16,500 tokens on a real workspace. Each part, overview, services and context, can now be kept or left out:

  • for a deployment, with CORTEX_PROJECT_VIEW — the parts separated by commas, or none;
  • for a run, with project_view on the request — /run, /resolve, a manifest endpoint — a list of parts, [] for none. It wins over the deployment's.

With neither set, the prompt is byte for byte what it was. An unknown part is refused, naming the accepted ones: 422 on the API, a stop at startup for the deployment's setting. A part left out is not read into the system prompt. The model can still open the files themselves with the code-read tools, which a run's default autonomy grants: to keep the developer's untracked notes away from the model provider, leave out overview and context and leave code-read out of the run's autonomy. That holds on the demo and anthropic-api backends; the claude-cli backend runs Claude Code in the workspace, which reads the files under it whatever the autonomy grants. ADR-002 records it.

Upgrading

cortex self-update, then cortex upgrade 1.10.0, or cortex upgrade --team 1.10.0 for a team's file. A project that stays on 1.9.x keeps working.

The step from 1.9.x to 1.10.0 is made by a 1.9.x binary, which checks SHA256SUMS but not its signature yet: that step trusts the host, as every update did before. Every update after it, made by 1.10.0 or later, checks the signature. Run cortex validate --strict once after the move: a reference that named nothing before now says so.

Notes

  • Release candidate: the release pipeline changes — it signs — so 1.10.0-rc.1 was cut and published as a pre-release before 1.10.0 (ADR-009 §3.7).
  • Next: wave 1, the memory, with #38 and #39.

1.9.1

Choose a tag to compare

@github-actions github-actions released this 21 Nov 07:19
Immutable release. Only release title and notes can be modified.
31a90b5

🚀 Cortex v1.9.1 — Brain the Size of a Planet

"Here I am, brain the size of a planet, and they ask me to pick up a piece of paper." — Marvin, The Hitchhiker's Guide to the Galaxy

A whole release to hold a name. The core's distribution name was free on PyPI, and anyone could have taken it: this one is ours, reserved before anything announces it.

A patch. Nothing changes in the cortex command, the spec or a project's files.

The core's name is ours on PyPI (#86)

The command and the runtime depend on the core by its distribution name. They install it from ../core, but a pip install without it looks for that name on PyPI, where it was free: whoever registered it first would have had their code installed into the process that holds the API keys.

  • The core is distributed as xodlabs-cortex-core. cortex-core could not be reserved: PyPI refuses it as too close to cortexcore, another project. The command and the runtime depend on the new name, from 0.1.0, so that the placeholder never satisfies them: a pip install without ../core still fails at once. The core is still imported as cortex_core.
  • .github/workflows/pypi.yml reserves it: run by hand from main, approved by a maintainer in the pypi environment, it publishes a placeholder, 0.0.0, that installs nothing, through PyPI's trusted publishing, with no token stored.
  • A test holds it: the core's name, the packages that depend on it — their dependencies and their extras — and their lower bound, and the workflow reading it from core/pyproject.toml.

ADR-007 records the new name in its amendments.

Upgrading

cortex self-update, then cortex upgrade 1.9.1, or cortex upgrade --team 1.9.1 for a team's file. A project that stays on 1.9.0 keeps working: nothing it reads has changed. A development install runs pip uninstall cortex-core, then pip install -e ../core again: pip records the core under its new name, and the old one is gone.

Notes

  • The name is reserved once 1.9.1 is merged: the maintainer runs pypi from the Actions tab and approves its deployment. https://pypi.org/pypi/xodlabs-cortex-core/json then answers.
  • PyPI must trust the workflow first: a pending publisher for xodlabs-cortex-core — owner xod-labs, repository cortex, workflow pypi.yml, environment pypi. Without it, publish fails, and the name stays free.
  • Next: 1.10.0, the hardening, then wave 1 with #38 and #39.

1.9.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 06:36
Immutable release. Only release title and notes can be modified.
7025f39

🚀 Cortex v1.9.0 — The Babel Fish

"If you stick a Babel fish in your ear you can instantly understand anything said to you in any form of language." — The Hitchhiker's Guide to the Galaxy

The bootstrap asked each assistant to resolve what the cortex command had already resolved: eleven rules to compare versions, tell a checkout from a store, and read where a link leads. This release writes the answer in the block, in plain words, so that every tool reads the same thing the same way. VS Code's Copilot gets the access Claude Code had, and each tool's needs are measured. It closes wave 0.

A minor release: a new format of the bootstrap, a new key, copilot_access, and its options. Nothing is removed, and a project that stays on 1.8.x keeps its bootstrap byte for byte.

The bootstrap says the team's values: format 4 (ADR-014, #409)

cortex init and cortex upgrade now render Cortex's block from the team's resolution. The block names, as text, what the assistant had to work out:

<!-- cortex:bootstrap layout=single format=4 digest=… version=1.9.0 theme=h2g2 -->

This project reads **Cortex 1.9.0**, with the theme `h2g2`, and `agents/` is the team's folder …
  • The version, the theme, the team's folder, the Prompt Manager's character and the path of its card are written in the block. The marker carries the version and the theme.
  • The assistant keeps three rules, and one comparison. It reads cortex.local.toml for the spec's path, compares pinned in synced with the version the block names, and takes a developer's own theme over the block's. Format 3 had eleven rules. The rules for a version before 1.8.0, the team's folder compared, and the reading of a cortex/ link are gone — with the two actions a link to a checkout had (#378), and the link's target PowerShell prints otherwise (#376).
  • Only the team's values reach the committed block. A developer's try and theme stay in cortex.local.toml. A developer's own bootstrap, one git ignores, is rendered from theirs, and cortex sync writes it again when they move, untouched and of format 4.
  • A block behind is said. When the team changes its theme or its version, cortex sync never rewrites the committed bootstrap: it says the block is behind, naming cortex upgrade with the team's version. cortex validate --strict fails on it, and warns without --strict.
  • Each rule is pinned by a table. Sixteen cases, case → what the assistant runs, hold both templates; the README's table follows them.

A project on 1.8.x keeps format 3

Format 4's templates ship in the spec of 1.9.0, so a project reads the format of its version. A project pinned to 1.8.x keeps format 3 from its own spec, byte for byte. cortex upgrade 1.9.0 moves a block of format 3 that nobody changed to format 4. A block the team changed is never rewritten.

VS Code's Copilot reads the store without asking: copilot_access (ADR-014 §3.5, #410)

As claude_access does for Claude Code:

  • copilot_access = true in cortex.toml, for the team — cortex init --tool copilot --copilot-access, or the question cortex init asks on a terminal — or cortex sync --copilot-access for you alone.
  • cortex sync keeps one entry, the store's versions folder, in github.copilot.chat.additionalReadAccessPaths. It covers every version, so a moved pin changes nothing.
  • The file is VS Code's settings of your machine: inside a remote — WSL, SSH, a container — ~/.vscode-server/data/Machine/settings.json, else the user settings.json of each VS Code installed. Never the project's .vscode/settings.json, which a team commits.
  • Your file is kept. The edit is a text edit that keeps your comments and the rest of the file. A file it cannot edit that way is left as it is, with a warning naming the line to add.
  • Sync owns its entry, and no other. cortex.local.toml records it as copilot_entry, and sync removes it once no project of the machine still sets copilot_access. cortex sync --no-copilot-access turns it off.
  • A team's file locks it to false only, as claude_access: a team may forbid a permission, never grant one on a developer's machine.
  • It does not reach a link — VS Code does not cover a link inside the workspace (microsoft/vscode#336153) — nor Copilot CLI, which takes --add-dir ~/.cortex/versions.

What each tool needs, measured (#137)

Moving to the cortex binary gives, for GitHub Copilot, Cursor and Codex, in their IDE and their CLI, whether each reaches the Prompt Manager's card in store, link and copy mode, and what it asks on the way. In short:

Tool store, the default
Claude Code asks once per session; nothing with claude_access
GitHub Copilot in VS Code asks once per session; nothing with copilot_access
Cursor, Codex nothing

Measured again with format 4: Copilot with copilot_access, Cursor and the Codex extension reach the card with no prompt to read the store. Cursor, which ran cortex sync unasked with format 3 while the versions matched, runs nothing.

A team's folder that is a junction is named a link, on Windows (#376)

A team's folder that is a junction leading nowhere was said to be "no folder", with the remedy for a file. It is now said to be a link, and where it leads is written without the \\?\ Windows puts before a junction's target.

ADR-014 records the decisions, and its amendments what the phases decided and the trials found.

Upgrading

Everyone runs cortex self-update first, then the team moves: cortex upgrade 1.9.0, or cortex upgrade --team 1.9.0 for a team's file. A binary of 1.8.x does not know format 4: a teammate who has not updated is told that their cortex is too old for the project. A project that stays on 1.8.x keeps working, with format 3.

Notes

  • Tried on Windows with the binaries of a development build: init, the three modes, copilot_access against %APPDATA%\Code\User\settings.json — under a user name with an accent — and its removal. Copilot's read of the entry, written with /, was measured on WSL, not on Windows. Moving a committed project to format 4 is tried with this release itself: a development build is never pinned in a committed cortex.toml.
  • Left for later: the linked mode, decided out of this release, goes with #45.
  • Next: 1.10.0, the hardening, then wave 1 with #38 and #39.

1.9.0-rc.1

1.9.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Nov 21:18
Immutable release. Only release title and notes can be modified.
568478b

Warning

A pre-release of 1.9.0, not for production. Nothing installs 1.9.0-rc.1 unless asked for it by its version, and it is never the latest release.

🚀 Cortex v1.9.0 — The Babel Fish

"If you stick a Babel fish in your ear you can instantly understand anything said to you in any form of language." — The Hitchhiker's Guide to the Galaxy

The bootstrap asked each assistant to resolve what the cortex command had already resolved: eleven rules to compare versions, tell a checkout from a store, and read where a link leads. This release writes the answer in the block, in plain words, so that every tool reads the same thing the same way. VS Code's Copilot gets the access Claude Code had, and each tool's needs are measured. It closes wave 0.

A minor release: a new format of the bootstrap, a new key, copilot_access, and its options. Nothing is removed, and a project that stays on 1.8.x keeps its bootstrap byte for byte.

The bootstrap says the team's values: format 4 (ADR-014, #409)

cortex init and cortex upgrade now render Cortex's block from the team's resolution. The block names, as text, what the assistant had to work out:

<!-- cortex:bootstrap layout=single format=4 digest=… version=1.9.0 theme=h2g2 -->

This project reads **Cortex 1.9.0**, with the theme `h2g2`, and `agents/` is the team's folder …
  • The version, the theme, the team's folder, the Prompt Manager's character and the path of its card are written in the block. The marker carries the version and the theme.
  • The assistant keeps three rules, and one comparison. It reads cortex.local.toml for the spec's path, compares pinned in synced with the version the block names, and takes a developer's own theme over the block's. Format 3 had eleven rules. The rules for a version before 1.8.0, the team's folder compared, and the reading of a cortex/ link are gone — with the two actions a link to a checkout had (#378), and the link's target PowerShell prints otherwise (#376).
  • Only the team's values reach the committed block. A developer's try and theme stay in cortex.local.toml. A developer's own bootstrap, one git ignores, is rendered from theirs, and cortex sync writes it again when they move, untouched and of format 4.
  • A block behind is said. When the team changes its theme or its version, cortex sync never rewrites the committed bootstrap: it says the block is behind, naming cortex upgrade with the team's version. cortex validate --strict fails on it, and warns without --strict.
  • Each rule is pinned by a table. Sixteen cases, case → what the assistant runs, hold both templates; the README's table follows them.

A project on 1.8.x keeps format 3

Format 4's templates ship in the spec of 1.9.0, so a project reads the format of its version. A project pinned to 1.8.x keeps format 3 from its own spec, byte for byte. cortex upgrade 1.9.0 moves a block of format 3 that nobody changed to format 4. A block the team changed is never rewritten.

VS Code's Copilot reads the store without asking: copilot_access (ADR-014 §3.5, #410)

As claude_access does for Claude Code:

  • copilot_access = true in cortex.toml, for the team — cortex init --tool copilot --copilot-access, or the question cortex init asks on a terminal — or cortex sync --copilot-access for you alone.
  • cortex sync keeps one entry, the store's versions folder, in github.copilot.chat.additionalReadAccessPaths. It covers every version, so a moved pin changes nothing.
  • The file is VS Code's settings of your machine: inside a remote — WSL, SSH, a container — ~/.vscode-server/data/Machine/settings.json, else the user settings.json of each VS Code installed. Never the project's .vscode/settings.json, which a team commits.
  • Your file is kept. The edit is a text edit that keeps your comments and the rest of the file. A file it cannot edit that way is left as it is, with a warning naming the line to add.
  • Sync owns its entry, and no other. cortex.local.toml records it as copilot_entry, and sync removes it once no project of the machine still sets copilot_access. cortex sync --no-copilot-access turns it off.
  • A team's file locks it to false only, as claude_access: a team may forbid a permission, never grant one on a developer's machine.
  • It does not reach a link — VS Code does not cover a link inside the workspace (microsoft/vscode#336153) — nor Copilot CLI, which takes --add-dir ~/.cortex/versions.

What each tool needs, measured (#137)

Moving to the cortex binary gives, for GitHub Copilot, Cursor and Codex, in their IDE and their CLI, whether each reaches the Prompt Manager's card in store, link and copy mode, and what it asks on the way. In short:

Tool store, the default
Claude Code asks once per session; nothing with claude_access
GitHub Copilot in VS Code asks once per session; nothing with copilot_access
Cursor, Codex nothing

Measured again with format 4: Copilot with copilot_access, Cursor and the Codex extension reach the card with no prompt to read the store. Cursor, which ran cortex sync unasked with format 3 while the versions matched, runs nothing.

A team's folder that is a junction is named a link, on Windows (#376)

A team's folder that is a junction leading nowhere was said to be "no folder", with the remedy for a file. It is now said to be a link, and where it leads is written without the \\?\ Windows puts before a junction's target.

ADR-014 records the decisions, and its amendments what the phases decided and the trials found.

Upgrading

Everyone runs cortex self-update first, then the team moves: cortex upgrade 1.9.0, or cortex upgrade --team 1.9.0 for a team's file. A binary of 1.8.x does not know format 4: a teammate who has not updated is told that their cortex is too old for the project. A project that stays on 1.8.x keeps working, with format 3.

Notes

  • Tried on Windows with the binaries of a development build: init, the three modes, copilot_access against %APPDATA%\Code\User\settings.json — under a user name with an accent — and its removal. Copilot's read of the entry, written with /, was measured on WSL, not on Windows. Moving a committed project to format 4 is tried with this release itself: a development build is never pinned in a committed cortex.toml.
  • Left for later: the linked mode, decided out of this release, goes with #45.
  • Next: 1.10.0, the hardening, then wave 1 with #38 and #39.

1.8.7

Choose a tag to compare

@github-actions github-actions released this 17 Nov 09:22
Immutable release. Only release title and notes can be modified.
53a3c28

🚀 Cortex v1.8.7 — Almost, but Not Quite, Entirely Unlike Tea

"The Nutri-Matic Drinks Synthesizer had produced a plastic cup filled with a liquid that was almost, but not quite, entirely unlike tea." — The Hitchhiker's Guide to the Galaxy

Without git, Cortex reads a .gitignore almost, but not quite, entirely like git does. This release says so plainly, rather than pretending to be git. It also closes the edge cases 1.8.5 left open: special files that still held a command, and the update a source checkout names.

A patch. Nothing is added to the cortex command: no command, option, key or format.

Special files are said, never waited on (#386)

1.8.5 taught most commands to say that a path holding a named pipe, a socket or a directory is not a file. A few paths were left:

  • cortex.toml is now said not to be a file by cortex config, cortex project add and cortex init too. cortex config printed the machine's keys as if outside a project; cortex init wrote over a pipe, and failed half-way on a directory.

  • A loop of links at cortex.toml, cortex.local.toml, cortex.lock or the team's lock is refused like a pipe. A link that leads nowhere at cortex.local.toml is still replaced, as before.

  • cortex/.git, cortex/.synced and ~/.cortex/projects.toml are read without waiting. A named pipe there held cortex sync or cortex validate for good.

  • cortex upgrade --commit checks the ignore and attributes files git reads before it writes anything — each folder's .gitignore and .gitattributes from the top of the work tree down, info/exclude, info/attributes, and git's own core.excludesFile and core.attributesFile. A named pipe there let the upgrade write its pin, then wait in git status with no end. A device read as an attributes file, other than the null device, git reads with no end; core.excludesFile = /dev/null, a common idiom, it reads at once. Each that git would never be done with is now named first:

    cortex upgrade: /home/you/work/.gitignore is not a file, and git, reading it as an ignore file, would wait on it: remove it, then run the command again
    
  • cortex upgrade no longer writes cortex.toml and puts it back when it refuses cortex.local.toml: it refuses first, and the file is untouched.

Each message names what to remove, and each test runs that remedy.

The update a source checkout names reads the checkout (#379)

From a source checkout, a command that finds this cortex too old names how to update it. That was git -C CHECKOUT pull, or pull origin HEAD on a detached HEAD, whatever the checkout. It is now read from the checkout's own files — never by running git:

The checkout What is named
a branch with an upstream git -C CHECKOUT pull
a detached HEAD, a branch with no upstream — none set, a remote not declared, or a branch of the checkout itself — or a reftable repository git -C CHECKOUT pull REMOTE HEAD: the branch's remote, else origin, else the first remote declared
no .git, as an extracted source archive, a HEAD git refuses, or no remote the install script of the version, as from a binary

The path and the remote are quoted for the shell the command is shown for, POSIX or PowerShell: a $ or a backtick in a path is no longer expanded.

Without git, .gitignore is read on purpose like this (#391)

Where git cannot answer — none on PATH, or a repository git refuses — Cortex reads each folder's .gitignore itself, only for the exact line it would add. It matches no pattern, sees no folder ignored whole, and reads a negation on a path's last part. Every difference with git goes one way: Cortex may add a line git would not need, and never leaves out one git needs.

Matching every rule of git was weighed and left: Cortex is not git. Getting started now says what the reading does, including its one visible effect: cortex.local.toml, a line with no /, also ignores a nested project's cortex.local.toml. Tests compare the reader with git check-ignore on 2,600 cases to keep it one-way.

An underlined entry is a heading (#398)

The changelog reader, which numbers a checkout's development version and gates a release, read an entry's text underlined with === or --- as the entry. CommonMark makes it a heading in the item, so a 💥 there marks no major. The reader now agrees with commonmark.js 0.31.2 on these forms, and Cortex's own CHANGELOG reads the same at every revision. 1.8.6 named this as its one difference left.

ADR-008, ADR-009 and ADR-010 record these changes in their amendments.

Upgrading

cortex self-update, then cortex upgrade 1.8.7, or cortex upgrade --team 1.8.7 for a team's file. A project that stays on 1.8.6 keeps working.

Notes

  • It changes an action of the release pipeline (.github/actions/lib/markdown_lines.py), so its candidate, 1.8.7-rc.1, is published before its pull request into main (ADR-009 §3.7).
  • Next: the measures of #137 — Copilot, Cursor, Codex — then the IDE modes in 1.9.0, the end of wave 0.

1.8.7-rc.1

1.8.7-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 18:05
Immutable release. Only release title and notes can be modified.
66bd01a

Warning

A pre-release of 1.8.7, not for production. Nothing installs 1.8.7-rc.1 unless asked for it by its version, and it is never the latest release.

🚀 Cortex v1.8.7 — Almost, but Not Quite, Entirely Unlike Tea

"The Nutri-Matic Drinks Synthesizer had produced a plastic cup filled with a liquid that was almost, but not quite, entirely unlike tea." — The Hitchhiker's Guide to the Galaxy

Without git, Cortex reads a .gitignore almost, but not quite, entirely like git does. This release says so plainly, rather than pretending to be git. It also closes the edge cases 1.8.5 left open: special files that still held a command, and the update a source checkout names.

A patch. Nothing is added to the cortex command: no command, option, key or format.

Special files are said, never waited on (#386)

1.8.5 taught most commands to say that a path holding a named pipe, a socket or a directory is not a file. A few paths were left:

  • cortex.toml is now said not to be a file by cortex config, cortex project add and cortex init too. cortex config printed the machine's keys as if outside a project; cortex init wrote over a pipe, and failed half-way on a directory.

  • A loop of links at cortex.toml, cortex.local.toml, cortex.lock or the team's lock is refused like a pipe. A link that leads nowhere at cortex.local.toml is still replaced, as before.

  • cortex/.git, cortex/.synced and ~/.cortex/projects.toml are read without waiting. A named pipe there held cortex sync or cortex validate for good.

  • cortex upgrade --commit checks the ignore and attributes files git reads before it writes anything — each folder's .gitignore and .gitattributes from the top of the work tree down, info/exclude, info/attributes, and git's own core.excludesFile and core.attributesFile. A named pipe there let the upgrade write its pin, then wait in git status with no end. A device read as an attributes file, other than the null device, git reads with no end; core.excludesFile = /dev/null, a common idiom, it reads at once. Each that git would never be done with is now named first:

    cortex upgrade: /home/you/work/.gitignore is not a file, and git, reading it as an ignore file, would wait on it: remove it, then run the command again
    
  • cortex upgrade no longer writes cortex.toml and puts it back when it refuses cortex.local.toml: it refuses first, and the file is untouched.

Each message names what to remove, and each test runs that remedy.

The update a source checkout names reads the checkout (#379)

From a source checkout, a command that finds this cortex too old names how to update it. That was git -C CHECKOUT pull, or pull origin HEAD on a detached HEAD, whatever the checkout. It is now read from the checkout's own files — never by running git:

The checkout What is named
a branch with an upstream git -C CHECKOUT pull
a detached HEAD, a branch with no upstream — none set, a remote not declared, or a branch of the checkout itself — or a reftable repository git -C CHECKOUT pull REMOTE HEAD: the branch's remote, else origin, else the first remote declared
no .git, as an extracted source archive, a HEAD git refuses, or no remote the install script of the version, as from a binary

The path and the remote are quoted for the shell the command is shown for, POSIX or PowerShell: a $ or a backtick in a path is no longer expanded.

Without git, .gitignore is read on purpose like this (#391)

Where git cannot answer — none on PATH, or a repository git refuses — Cortex reads each folder's .gitignore itself, only for the exact line it would add. It matches no pattern, sees no folder ignored whole, and reads a negation on a path's last part. Every difference with git goes one way: Cortex may add a line git would not need, and never leaves out one git needs.

Matching every rule of git was weighed and left: Cortex is not git. Getting started now says what the reading does, including its one visible effect: cortex.local.toml, a line with no /, also ignores a nested project's cortex.local.toml. Tests compare the reader with git check-ignore on 2,600 cases to keep it one-way.

An underlined entry is a heading (#398)

The changelog reader, which numbers a checkout's development version and gates a release, read an entry's text underlined with === or --- as the entry. CommonMark makes it a heading in the item, so a 💥 there marks no major. The reader now agrees with commonmark.js 0.31.2 on these forms, and Cortex's own CHANGELOG reads the same at every revision. 1.8.6 named this as its one difference left.

ADR-008, ADR-009 and ADR-010 record these changes in their amendments.

Upgrading

cortex self-update, then cortex upgrade 1.8.7, or cortex upgrade --team 1.8.7 for a team's file. A project that stays on 1.8.6 keeps working.

Notes

  • It changes an action of the release pipeline (.github/actions/lib/markdown_lines.py), so its candidate, 1.8.7-rc.1, is published before its pull request into main (ADR-009 §3.7).
  • Next: the measures of #137 — Copilot, Cursor, Codex — then the IDE modes in 1.9.0, the end of wave 0.

1.8.6

Choose a tag to compare

@github-actions github-actions released this 15 Nov 14:01
Immutable release. Only release title and notes can be modified.
b5d77e4

🚀 Cortex v1.8.6 — Who Is This God Person Anyway?

"'Oh dear,' says God, 'I hadn't thought of that,' and promptly vanishes in a puff of logic." — the Babel fish argument, in The Hitchhiker's Guide to the Galaxy, which Oolon Colluphid made the centrepiece of his bestseller

Oolon also wrote Who Is This God Person Anyway? A fresh cortex init left a newcomer asking much the same of the team: whom to call. It now names them — Oolon first, as the prompt manager. Two tools behind the release cycle also learn to read what they were missing: the changelog's Markdown, and a branch's older protection.

A patch. Nothing is added to the cortex command: no command, option, key or format.

cortex init names whom to call (#149)

setup.sh used to end an install with the theme's aliases. Since 1.0.0, cortex init did not. It now ends with them again, read from the active theme's characters.md through the cascade, so a team's own theme is read as well:

Theme h2g2: @Oolon, the prompt manager, takes every request and calls the expert it needs.
Or call one yourself: @Slartibartfast (architect), @Hactar (lead-backend), @Eddie (lead-frontend), @Marvin (security-engineer).
The whole team: /home/you/.cortex/versions/1.8.6/agents/personalities/h2g2/characters.md

Nothing is printed with no personality, nor from a characters.md whose table does not read whole — a prompt manager and at least four experts. cortex init never fails for its hint. A wrong hint is never printed. Printing the hint when cortex sync changes the theme needs the theme recorded in synced, which is a new key; that half is #397, for 1.10.0.

The changelog is read as CommonMark reads it (#354)

A source checkout and a development build number their version from the changelog's [Unreleased] entries, and the release gate reads the same file. The reader now follows CommonMark in more cases:

  • indented code is no entry's text, so a 💥 in it marks no major;
  • an item's own line holding a heading or a break is no paragraph to go on;
  • a quote is read with what its lines above left open in it;
  • HTML blocks of <pre> and of block elements hold no section, heading nor entry.

It was compared with commonmark.js 0.31.2. Outside the forms it still declares unread, one difference is left: a setext underline below an entry's text, which CommonMark makes a heading (#398). Cortex's own CHANGELOG reads the same at every one of its revisions.

setup-release reads a classic branch protection (#235)

A classic protection that requires checks on main or a line — N.x — makes GitHub wait for them besides the rulesets'. bin/setup-release.sh read rulesets only, so --check said every setting held. It now reports such a protection and leaves its removal to you. xod-labs/cortex has none.

ADR-009 records the reader and the protection in its amendments.

Upgrading

cortex self-update, then cortex upgrade 1.8.6, or cortex upgrade --team 1.8.6 for a team's file. A project that stays on 1.8.5 keeps working.

Notes

  • It changes an action of the release pipeline (.github/actions/lib/markdown_lines.py), so its candidate, 1.8.6-rc.1, is published before its pull request into main (ADR-009 §3.7).
  • Next: 1.8.7 — #386, #379, #391 — then the IDE modes in 1.9.0.

1.8.6-rc.1

1.8.6-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Nov 13:26
Immutable release. Only release title and notes can be modified.
3e6bf6e

Warning

A pre-release of 1.8.6, not for production. Nothing installs 1.8.6-rc.1 unless asked for it by its version, and it is never the latest release.

🚀 Cortex v1.8.6 — Who Is This God Person Anyway?

"'Oh dear,' says God, 'I hadn't thought of that,' and promptly vanishes in a puff of logic." — the Babel fish argument, in The Hitchhiker's Guide to the Galaxy, which Oolon Colluphid made the centrepiece of his bestseller

Oolon also wrote Who Is This God Person Anyway? A fresh cortex init left a newcomer asking much the same of the team: whom to call. It now names them — Oolon first, as the prompt manager. Two tools behind the release cycle also learn to read what they were missing: the changelog's Markdown, and a branch's older protection.

A patch. Nothing is added to the cortex command: no command, option, key or format.

cortex init names whom to call (#149)

setup.sh used to end an install with the theme's aliases. Since 1.0.0, cortex init did not. It now ends with them again, read from the active theme's characters.md through the cascade, so a team's own theme is read as well:

Theme h2g2: @Oolon, the prompt manager, takes every request and calls the expert it needs.
Or call one yourself: @Slartibartfast (architect), @Hactar (lead-backend), @Eddie (lead-frontend), @Marvin (security-engineer).
The whole team: /home/you/.cortex/versions/1.8.6/agents/personalities/h2g2/characters.md

Nothing is printed with no personality, nor from a characters.md whose table does not read whole — a prompt manager and at least four experts. cortex init never fails for its hint. A wrong hint is never printed. Printing the hint when cortex sync changes the theme needs the theme recorded in synced, which is a new key; that half is #397, for 1.10.0.

The changelog is read as CommonMark reads it (#354)

A source checkout and a development build number their version from the changelog's [Unreleased] entries, and the release gate reads the same file. The reader now follows CommonMark in more cases:

  • indented code is no entry's text, so a 💥 in it marks no major;
  • an item's own line holding a heading or a break is no paragraph to go on;
  • a quote is read with what its lines above left open in it;
  • HTML blocks of <pre> and of block elements hold no section, heading nor entry.

It was compared with commonmark.js 0.31.2. Outside the forms it still declares unread, one difference is left: a setext underline below an entry's text, which CommonMark makes a heading (#398). Cortex's own CHANGELOG reads the same at every one of its revisions.

setup-release reads a classic branch protection (#235)

A classic protection that requires checks on main or a line — N.x — makes GitHub wait for them besides the rulesets'. bin/setup-release.sh read rulesets only, so --check said every setting held. It now reports such a protection and leaves its removal to you. xod-labs/cortex has none.

ADR-009 records the reader and the protection in its amendments.

Upgrading

cortex self-update, then cortex upgrade 1.8.6, or cortex upgrade --team 1.8.6 for a team's file. A project that stays on 1.8.5 keeps working.

Notes

  • It changes an action of the release pipeline (.github/actions/lib/markdown_lines.py), so its candidate, 1.8.6-rc.1, is published before its pull request into main (ADR-009 §3.7).
  • Next: 1.8.7 — #386, #379, #391 — then the IDE modes in 1.9.0.

1.8.5

Choose a tag to compare

@github-actions github-actions released this 14 Nov 21:27
Immutable release. Only release title and notes can be modified.
496e125

🚀 Cortex v1.8.5 — In Much the Same Way That Bricks Don't

"The ships hung in the sky in much the same way that bricks don't." — The Hitchhiker's Guide to the Galaxy

A named pipe where Cortex expected a file could make a command hang — for 30 seconds a question, or with no limit at all. This patch makes Cortex say what it found instead, and repairs, by itself, the store a user who is not root could not repair.

Nothing is added to the cortex command: no command, option, key or format.

The store repairs itself (#384)

  • A stored version that holds less than its three trees is written again. cortex sync, cortex init and cortex upgrade remove it, the way cortex prune removes a version, and write or download it again. The store is read-only, so the removal Cortex used to name failed for a user who is not root, and on Windows. That held for the store's refusal and for cortex validate's LOCK_DIGEST alike.
  • LOCK_DIGEST names the sync alone — cortex sync --locked during a try — and never a removal, which a race with cortex prune could make pointless.
  • A link or a file a user put at a version's name is refused and named, never followed or removed.

Named pipes, directories, and other files that are not files (#358)

  • An ignore file above the project that is a named pipe — a .gitignore higher in the repository, .git/info/exclude, core.excludesFile — made each git check-ignore wait 30 s: from about a minute to about 3 minutes for a cortex sync, by mode, and cortex upgrade --branch and --commit failed. Git is now asked once per repository and command. After a wait, the project's own .gitignore files answer. upgrade --commit still waits in git status, as git itself does (#386).
  • A named pipe at .gitmodules or at the instructions file (CLAUDE.md, …) no longer holds sync, validate or init. Cortex says it is not a file.
  • A cortex.toml, a lock or a cortex.local.toml that is not a file is said to be one, with its remedy. It used to be called missing, or failed halfway through a write.
  • A directory at .gitignore no longer stops cortex init halfway. Nothing is written to it, and the note says it is not a file.
  • A renamed team's folder that is a file, a pipe or a socket, or a link to one, is named as such, as the default agents is since 1.8.4.
  • The runtime logs a cortex.local.toml whose kind it cannot tell, a loop of links for one, once per error.
  • A copy is no longer given the link's advice about the final slash.

Ignore files without git (#355)

  • Without git, a folder's own .gitignore is read too. A .claude/.gitignore holding !settings.local.json now outranks the root's line, where Cortex used to take the root's word alone, and a name with no / matches at any depth below its .gitignore. Patterns, and a folder ignored whole, remain git's to tell (#391): without git, Cortex may add a line git would not need, never leave out one it needs.
  • With git, /.cortex-sync-* is written again below a negation that takes back a real staging folder. Cortex used to ask git about a stand-in name, which the negation did not match.

ADR-008, ADR-010 and ADR-013 record these changes in their amendments.

Upgrading

cortex self-update, then cortex upgrade 1.8.5, or cortex upgrade --team 1.8.5 for a team's file. A project that stays on 1.8.4 keeps working.

Notes

  • Size M, under the rules of 1.8.2 and 1.8.3: 3 review passes, 60 commits. #354, CommonMark in the changelog reader, was split off into 1.8.6.
  • No file of the pipeline changes, so there is no release candidate (ADR-009 §3.7).
  • Left for later: #386, four more paths of the same family, and git status in upgrade --commit.