Skip to content

docs: Update example version tag to v0.5.1 in Ansible README - #1026

Merged
pdettori merged 1 commit into
rossoctl:mainfrom
mrsabath:docs/update-readme-version-to-v0.5.1
Mar 18, 2026
Merged

pdettori merged 1 commit into
rossoctl:mainfrom
mrsabath:docs/update-readme-version-to-v0.5.1

Conversation

@mrsabath

Copy link
Copy Markdown
Member

Summary

  • Update the example image tag override in the Ansible README from v0.5.0 to v0.5.1, reflecting the latest patch release

Test plan

  • Verify README renders correctly on GitHub

@pdettori pdettori left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@pdettori
pdettori merged commit 95ecd6b into rossoctl:main Mar 18, 2026
18 checks passed
mrsabath added a commit that referenced this pull request Oct 4, 2026
Hai's review on #2618. Every claim below was re-checked against the
cortex tree at v0.8.1 and at main before changing the text.

Accuracy rule 2, do not document unreleased behaviour. The page now
describes v0.8.1 throughout, which is what the install one-liner
delivers:

- Revert CTX(1M) to CONTEXT(1M) and keep the 97-column money threshold.
  cortex#1246 shortens the heading and moves the threshold to 93, but it
  is in no tag. The contradictory VERIFY markers are reconciled, and a
  v0.9.0 marker records the follow-up by quoted text rather than by line
  number, which goes stale.
- Drop `agentop configure opencode`, which arrived in cortex#1243 after
  v0.8.1; on v0.8.1 it prints "coming soon" and exits 0. OpenCode joins
  Codex on `agentop exec`.
- Drop the Codex `configure` row: it only ever prints "coming soon", so
  "each one takes disable and status" was false for it.
- Replace `agentop setup` (cortex#1245, unreleased) with
  `agentop service restart`. No setup step touches the CA; the proxy
  mints one on boot when any of tls.crt, tls.key or ca.crt is missing
  (tlsbridge.EnsureFileSource), so a restart is what regenerates it.

Trust-store variables. REQUESTS_CA_BUNDLE, SSL_CERT_FILE,
CURL_CA_BUNDLE and GIT_SSL_CAINFO REPLACE the trust store rather than
adding to it, so they need ca/bundle.crt, not ca.crt. Pointed at ca.crt
a program trusts only the Cortex CA and every unbridged host fails.
Only NODE_EXTRA_CA_CERTS is additive. The proxy value gains its scheme.

The macOS note was correct for Go only. It is crypto/x509 on darwin that
ignores SSL_CERT_FILE; git, curl and Python read these variables there
too, so steering a Python user to the keychain sent them somewhere that
does nothing for them. Retitled, scoped to Go, and it now gives the
login-keychain command instead of an anchor that lands on the section
top. Same correction applied to the copy in troubleshooting.md.

Latency section, which claimed figures Cortex does not produce:

- The caps are mean +/- 1 sigma over the calls in a bucket, not the
  fastest and slowest call. Removed "Slowest call | 24 s" and the
  per-session "spread (+/-1 sigma)" row: sigma exists only per chart
  bucket, SessionSummary has no latency field, and the only window-wide
  figure is the usage footer's request-weighted LATENCY mean, with no
  sigma.
- Durations are kept for every non-tunnel response, not model calls
  alone, so fast non-model requests pull the mean down.
- A bucket with no measured call reads 0 with the legend
  "0 = no measured responses"; only an empty window says
  "no latency samples in this window".
- One-call buckets and collapsed caps both draw a bare crossbar, and the
  lower cap is clamped at zero, so a foot on the bottom row means sigma
  >= mean, not an instant reply.
- The slowest call IS recorded, on the event, in the sortable DURATION
  column. "Cortex records no maximum" sent readers away from the one
  view that answers the question; it is the usage charts that keep none.
- Issue attribution split correctly: #951 is TTFT and percentiles,
  #1026 is the maximum and p99.

Also: :::caution is not in CONTRIBUTING's callout table and Docusaurus
v3 deprecates it, so the one this PR added is now :::warning. The
backoff prose is marked macOS-only, since the systemd unit retries every
10s and gives up after 5 starts in 300s.

Signed-off-by: Mariusz Sabath <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
mrsabath added a commit that referenced this pull request Oct 7, 2026
Hai's review on #2618. Every claim below was re-checked against the
cortex tree at v0.8.1 and at main before changing the text.

Accuracy rule 2, do not document unreleased behaviour. The page now
describes v0.8.1 throughout, which is what the install one-liner
delivers:

- Revert CTX(1M) to CONTEXT(1M) and keep the 97-column money threshold.
  cortex#1246 shortens the heading and moves the threshold to 93, but it
  is in no tag. The contradictory VERIFY markers are reconciled, and a
  v0.9.0 marker records the follow-up by quoted text rather than by line
  number, which goes stale.
- Drop `agentop configure opencode`, which arrived in cortex#1243 after
  v0.8.1; on v0.8.1 it prints "coming soon" and exits 0. OpenCode joins
  Codex on `agentop exec`.
- Drop the Codex `configure` row: it only ever prints "coming soon", so
  "each one takes disable and status" was false for it.
- Replace `agentop setup` (cortex#1245, unreleased) with
  `agentop service restart`. No setup step touches the CA; the proxy
  mints one on boot when any of tls.crt, tls.key or ca.crt is missing
  (tlsbridge.EnsureFileSource), so a restart is what regenerates it.

Trust-store variables. REQUESTS_CA_BUNDLE, SSL_CERT_FILE,
CURL_CA_BUNDLE and GIT_SSL_CAINFO REPLACE the trust store rather than
adding to it, so they need ca/bundle.crt, not ca.crt. Pointed at ca.crt
a program trusts only the Cortex CA and every unbridged host fails.
Only NODE_EXTRA_CA_CERTS is additive. The proxy value gains its scheme.

The macOS note was correct for Go only. It is crypto/x509 on darwin that
ignores SSL_CERT_FILE; git, curl and Python read these variables there
too, so steering a Python user to the keychain sent them somewhere that
does nothing for them. Retitled, scoped to Go, and it now gives the
login-keychain command instead of an anchor that lands on the section
top. Same correction applied to the copy in troubleshooting.md.

Latency section, which claimed figures Cortex does not produce:

- The caps are mean +/- 1 sigma over the calls in a bucket, not the
  fastest and slowest call. Removed "Slowest call | 24 s" and the
  per-session "spread (+/-1 sigma)" row: sigma exists only per chart
  bucket, SessionSummary has no latency field, and the only window-wide
  figure is the usage footer's request-weighted LATENCY mean, with no
  sigma.
- Durations are kept for every non-tunnel response, not model calls
  alone, so fast non-model requests pull the mean down.
- A bucket with no measured call reads 0 with the legend
  "0 = no measured responses"; only an empty window says
  "no latency samples in this window".
- One-call buckets and collapsed caps both draw a bare crossbar, and the
  lower cap is clamped at zero, so a foot on the bottom row means sigma
  >= mean, not an instant reply.
- The slowest call IS recorded, on the event, in the sortable DURATION
  column. "Cortex records no maximum" sent readers away from the one
  view that answers the question; it is the usage charts that keep none.
- Issue attribution split correctly: #951 is TTFT and percentiles,
  #1026 is the maximum and p99.

Also: :::caution is not in CONTRIBUTING's callout table and Docusaurus
v3 deprecates it, so the one this PR added is now :::warning. The
backoff prose is marked macOS-only, since the systemd unit retries every
10s and gives up after 5 starts in 300s.

Signed-off-by: Mariusz Sabath <[email protected]>
Assisted-By: Claude Code
mrsabath added a commit that referenced this pull request Oct 7, 2026
…#2618)

* docs: correct the latency reading, and cover the new agentop surfaces

Three corrections and two additions, all against cortex main as of today.

Latency — my own error in #2615. That PR said the whiskers were "the fastest
and the slowest call" and told readers to read the upper one as the worst
case. The code computes LatMeanMs +/- LatStdDevMs
(cmd/agentop/tui/usage_whiskers.go): standard deviation, not extremes. No
maximum is recorded anywhere in the pipeline, so the slowest call can sit
above the top of the chart with nothing on screen saying so -- which is the
whole of cortex#1026. Rewritten to mean with +/-1σ caps, with a caution that
the upper cap is not a worst case. The worked example's "Slowest call" row
became a spread, since Cortex does not record that figure.

Context column — CONTEXT(1M) is now CTX(1M), shortened in cortex#1246.
Three occurrences.

Stale abctl and a ps grep that misses current installs — the two-installs
section used `abctl service stop|install`, and grepped ps for
authbridge-proxy alone. The binary is `cortex` now; authbridge-proxy is only
the pre-rename name, and a machine carrying both generations is exactly what
that section is about, so match either.

New: `agentop configure` covers five agents (claude-code, bob, bobshell,
opencode, codex), so "Other agents" now names the command per agent instead
of sending everyone to set HTTP_PROXY by hand. And `agentop setup` with no
--from repairs an install, which is a better answer than "run the install
again" for a missing CA.

Also verified the two-installs section's own markers against main: all five
loopback ports come from the --local preset in cmd/cortex/local.go and the
30-second restart ceiling from superviseMaxDelay in cmd/cortex/supervise.go.
Both paths moved in the rename.

Refs rossoctl/cortex#963, rossoctl/cortex#1026, rossoctl/cortex#1236, rossoctl/cortex#1237

Signed-off-by: Mariusz Sabath <[email protected]>

* docs: Address review on the latency page and the agent surfaces

Hai's review on #2618. Every claim below was re-checked against the
cortex tree at v0.8.1 and at main before changing the text.

Accuracy rule 2, do not document unreleased behaviour. The page now
describes v0.8.1 throughout, which is what the install one-liner
delivers:

- Revert CTX(1M) to CONTEXT(1M) and keep the 97-column money threshold.
  cortex#1246 shortens the heading and moves the threshold to 93, but it
  is in no tag. The contradictory VERIFY markers are reconciled, and a
  v0.9.0 marker records the follow-up by quoted text rather than by line
  number, which goes stale.
- Drop `agentop configure opencode`, which arrived in cortex#1243 after
  v0.8.1; on v0.8.1 it prints "coming soon" and exits 0. OpenCode joins
  Codex on `agentop exec`.
- Drop the Codex `configure` row: it only ever prints "coming soon", so
  "each one takes disable and status" was false for it.
- Replace `agentop setup` (cortex#1245, unreleased) with
  `agentop service restart`. No setup step touches the CA; the proxy
  mints one on boot when any of tls.crt, tls.key or ca.crt is missing
  (tlsbridge.EnsureFileSource), so a restart is what regenerates it.

Trust-store variables. REQUESTS_CA_BUNDLE, SSL_CERT_FILE,
CURL_CA_BUNDLE and GIT_SSL_CAINFO REPLACE the trust store rather than
adding to it, so they need ca/bundle.crt, not ca.crt. Pointed at ca.crt
a program trusts only the Cortex CA and every unbridged host fails.
Only NODE_EXTRA_CA_CERTS is additive. The proxy value gains its scheme.

The macOS note was correct for Go only. It is crypto/x509 on darwin that
ignores SSL_CERT_FILE; git, curl and Python read these variables there
too, so steering a Python user to the keychain sent them somewhere that
does nothing for them. Retitled, scoped to Go, and it now gives the
login-keychain command instead of an anchor that lands on the section
top. Same correction applied to the copy in troubleshooting.md.

Latency section, which claimed figures Cortex does not produce:

- The caps are mean +/- 1 sigma over the calls in a bucket, not the
  fastest and slowest call. Removed "Slowest call | 24 s" and the
  per-session "spread (+/-1 sigma)" row: sigma exists only per chart
  bucket, SessionSummary has no latency field, and the only window-wide
  figure is the usage footer's request-weighted LATENCY mean, with no
  sigma.
- Durations are kept for every non-tunnel response, not model calls
  alone, so fast non-model requests pull the mean down.
- A bucket with no measured call reads 0 with the legend
  "0 = no measured responses"; only an empty window says
  "no latency samples in this window".
- One-call buckets and collapsed caps both draw a bare crossbar, and the
  lower cap is clamped at zero, so a foot on the bottom row means sigma
  >= mean, not an instant reply.
- The slowest call IS recorded, on the event, in the sortable DURATION
  column. "Cortex records no maximum" sent readers away from the one
  view that answers the question; it is the usage charts that keep none.
- Issue attribution split correctly: #951 is TTFT and percentiles,
  #1026 is the maximum and p99.

Also: :::caution is not in CONTRIBUTING's callout table and Docusaurus
v3 deprecates it, so the one this PR added is now :::warning. The
backoff prose is marked macOS-only, since the systemd unit retries every
10s and gives up after 5 starts in 300s.

Signed-off-by: Mariusz Sabath <[email protected]>
Assisted-By: Claude Code

* docs: Address round 2 of the review on the agent surfaces and latency

Hai's second review on #2618. Every claim below was re-checked against
the cortex tree at v0.8.1 (a6cb1d77) and at main before changing the
text.

The two must-fixes:

- OpenCode does not send its traffic from the process you run. One
  background service per user sends all of it and keeps the environment
  it started with, so `agentop exec -- opencode` routes nothing when the
  service is already running, and the routing outlives the command when
  exec is what started it. The page now says both, plus how to check
  (`opencode service status`). Codex keeps the old sentence, which is
  true of Codex alone.
- The lower cap on the bottom row of a latency whisker does not mean
  sigma >= mean. The bottom row holds every value up to a tenth of the
  frame's top, so a cap there means mean minus 1 sigma is near zero.
  Re-worded, and "one standard deviation" is spelled out where sigma
  had not been defined yet.

Three of Hai's own round-1 sentences, corrected:

- bobshell reads no config at configure time; only claude-code and bob
  read `~/.cortex/config.yaml`, and the intro now says which.
- The by-hand variable list gains HTTP_PROXY and the lowercase proxy
  names (a plain-http call or a lowercase-only tool silently bypasses
  Cortex otherwise), and $HOME in place of ~, which does not expand in
  a quoted export or a settings file.
- The ps pattern anchors on the binary followed by a flag
  (`/(cortex|authbridge-proxy) --`), which the service always passes,
  so a `tail -f` of proxy.log, a cortex.test binary or an
  `--proxy .../cortex` argument no longer match. A section that ends in
  `kill <pid>` owes that much.

Smaller corrections from the same review:

- The Claude Code row names CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC;
  the Bob row says the printed command needs sudo, writes the System
  keychain, and that Bob needs a restart; the bobshell row names the rc
  files and stops calling a fragment a sentence.
- Sorting by DURATION now gives the keys (c, then s in the picker) and
  two limits: the sort covers the newest 2000 events (o loads older),
  and a chart opened from Sessions covers every session.
- "Typical call" became "average call", the planned-figures note no
  longer reads as "time-to-first-token percentiles", and the worked
  example names the source of its 11 s: the usage pane's LATENCY
  footer, scoped to the session, at most the last 6 h.
- The v0.9.0 marker for cortex#1246 now lists every place the heading
  and the 97-column threshold appear, including "Read the context
  gauge" here and the CONTEXT column mention in troubleshooting.
- No setup or install step *writes* the CA (install.sh and service
  status do read it); after a restart mints a new CA, a keychain that
  trusted the old one needs the command again; the service log is
  proxy.log (log show and journalctl never see the proxy's own lines);
  the Linux log sample no longer shows a supervisor line systemd does
  not run; `agentop service stop` stops whichever install holds the
  one label per user, so the fix sequence says HOME and abctl and why
  it still converges; the macOS supervisor notes are scoped away from
  Linux, where ps shows one cortex per running install and the lost
  unit reads failed.
- "Another program stopped working" names the most likely cause, a
  replacing variable pointed at ca.crt rather than bundle.crt, and the
  env grep gains SSL_CAINFO so GIT_SSL_CAINFO shows. The no-events
  checklist no longer tells the reader to set "the certificate
  variable" by hand for agents that configure or exec covers.
- The Go note copies laptop.md's line (LibreSSL, the bundle) instead of
  drifting from it.

Assisted-By: Claude Code
Signed-off-by: Mariusz Sabath <[email protected]>

---------

Signed-off-by: Mariusz Sabath <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants