Skip to content

v1.92.20.0 /retro global counts Kimi Code, OMP and Antigravity sessions - #3740

Merged
capy-ai[bot] merged 4 commits into
mainfrom
gsta214/c
Nov 1, 2026
Merged

capy-ai[bot] merged 4 commits into
mainfrom
gsta214/c

Conversation

@garrytan

@garrytan garrytan commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3740,
  "head": "560799f5273fb6bc1dbc3e62ab725f324a39b252",
  "version": "1.92.11.0",
  "base": "main",
  "gate": {
    "typecheck": {
      "pass": 1,
      "fail": 0,
      "skip": 0
    },
    "focused": {
      "pass": 70,
      "fail": 0,
      "skip": 0
    },
    "freshness": {
      "pass": 1,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "901a2f70d3dc07beabbb44d8a55aa14896f31961",
  "product_patch_id": "8f14ca4a875b24ca8a5136d7e1a78a9d488a3fea",
  "gstack_version": "1.92.11.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 224,
    "rules": "150435b0a543019a",
    "base": "71acd83aa68fd8fd45b09ab4d63098b63d04cc16",
    "registry": "71acd83aa68fd8fd45b09ab4d63098b63d04cc16",
    "gate_scan": {
      "tagged": 1,
      "head": "560799f5273fb6bc1dbc3e62ab725f324a39b252"
    },
    "reasons": [
      "gate-class",
      "runtime=224>50"
    ]
  },
  "pregate": "requires-remote cleared @901a2f70d3dc (1 checks, current for 560799f5273f)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41276552772",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/41276552723",
    "pregate.json/remote_gate: remote-gate tree=901a2f70d3dc tests=19389"
  ],
  "issues": {
    "fixes": [
      2917
    ],
    "refs": [
      1977
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "README.md, TODOS.md, docs/, retro/SKILL.md.tmpl and changelog.d/gsta214-c.md against the seven changed files"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 2,
    "deferred": 0,
    "noted": 1,
    "fixed": 0,
    "scope": "frozen",
    "dispatches": {
      "specialist": 3,
      "red-team": 1
    }
  },
  "review_targeted": {
    "classes": [
      "gate"
    ],
    "rules": "baeb8f7ef7da92d0",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "8f14ca4a875b24ca8a5136d7e1a78a9d488a3fea",
    "status": "done",
    "findings": 0,
    "raised_by": "targeted"
  }
}

What changed

Before: Kimi Code, OMP and Antigravity sessions are invisible and the totals read 0. After: Kimi Code and OMP count against their repo, Antigravity counts in the total with no repo.

Before: the three sessions are invisible and the totals read 0. After: Kimi Code and OMP count against their repo, and Antigravity counts in the total with no repo.

Text version
$ gstack-global-discover --since 7d --format summary   # main
Discovered: 0 CC sessions, 0 Codex sessions, 0 Gemini sessions
→ 0 unique repos
Window: 7d (since 2026-10-24)
Sessions: 0 total (CC: 0, Codex: 0, Gemini: 0)
Repos: 0 unique

$ gstack-global-discover --since 7d --format summary   # this PR
Discovered: CC: 0, Codex: 0, Gemini: 0, Kimi Code: 1, OMP: 1; Antigravity: 1 (repo unattributed)
→ 1 unique repos
Window: 7d (since 2026-10-24)
Sessions: 3 total (CC: 0, Codex: 0, Gemini: 0, Kimi Code: 1, OMP: 1, Antigravity: 1)
  Antigravity sessions are not attributed to a repo
Repos: 1 unique

  r (2 sessions) — Kimi Code:1, OMP:1

Captured on a temporary HOME holding one session per new tool (remote and path lines left out).

Why

"A week spent in Kimi Code or OMP doesn't show up in /retro global" (#2917), and Antigravity sessions are missing too (#1977). gstack-global-discover only knew Claude Code, Codex and Gemini, so a week in another agent CLI read as zero with nothing to tell you it was missing. Now one scanner list drives the JSON, the summary and the retro report: Kimi Code and OMP sessions count per repo, and Antigravity sessions count in the total without a repo, because that CLI stores the working directory inside an undocumented blob.

Blast radius

The only consumer of the discovery JSON is /retro global (retro/SKILL.md.tmpl); tools stays a keyed object and the existing claude_code, codex and gemini paths keep their shape, so older readers and saved retros still parse (file read: bin/gstack-global-discover.ts DiscoveryResult; script ran: the temp-HOME suite and the smoke probe below). The retro skill prose changed only where it listed the three tools, and the retro skeleton stays under its parity cap (test/parity-suite.test.ts passed).

Behavior changes

  • tools gains kimi_code, omp and agy entries (zeros included), and every entry gains a label. agy carries unattributed: true and repos: 0.
  • total_sessions now includes Antigravity sessions, which belong to no repo.
  • Each repo's sessions object lists every attributed tool (kimi_code, omp added).
  • The stderr summary line changed from Discovered: N CC sessions, … to Discovered: CC: N, Codex: N, …; Antigravity: N (repo unattributed). No code in the repository parses it.
  • /retro global reports session counts and the Tool Usage Analysis per discovered tool, and treats a tool missing from an older saved retro as 0.

Approvals

Date Asked Exact words Outcome Covers Still pending
2026-10-31 Approve the plan "Small feature requests from the 2026-10-31 cleanup (GST-531)" (autoplan run autoplan-20261031175328, 11 decisions; revised plan carried at gate_rev 2) “Do it” (Garry Tan, relayed by agent:jam_01M69H8PKK07YCHT6WCQ9G87ZK) approved the reviewed plan, every recommendation taken none

Summary

/retro global missed every session from agent CLIs it didn't know about, so the numbers looked complete when they weren't (#2917, #1977). Discovery now runs a list of scanners instead of three hard-coded calls, adds Kimi Code and OMP (counted per repo) and counts Antigravity sessions with no repo, and the retro report iterates whatever the list returns. A docs commit updates the README's /retro row and marks #2917 shipped in TODOS.md. The branch carries one merge of origin/main (71acd83, the only conflict was in TODOS.md).

Test Coverage

CODE PATHS (10 traced; retro SKILL prose excluded)
[+] bin/gstack-global-discover.ts
  ├── scanKimiCode
  │   ├── [★★ TESTED] per-repo count by workDir; out-of-window dropped
  │   ├── [GAP] updatedAt missing → dir mtime fallback          (exercised by the QA smoke probe below)
  │   ├── [GAP] workDir missing → state.cwd; relative sessionDir (exercised by the QA smoke probe below)
  ├── scanOmp
  │   ├── [★★ TESTED] cwd from file; mtime window; logs ignored
  │   └── [GAP] no cwd in header → skipped                     (exercised by the QA smoke probe below)
  ├── countAntigravity
  │   ├── [★★ TESTED] max(.db, -wal) mtime; non-.db ignored; unattributed
  ├── resolveAndDeduplicate sort by countTotal
  │   └── [GAP] order with kimi/omp counts not asserted
  └── main
      ├── [★★ TESTED] zero counts for every tool; summary Antigravity line
COVERAGE: 5/10 paths tested (50%) | value-weighted 5/10 | QUALITY: ★★:5 | GAPS: 4

Tests: 1571 → 1571 test files (the temp-HOME suite is new cases in test/global-discover.test.ts; the audit ran audit-only and wrote no tests).
Coverage: 50% value-weighted (50% including 0 weakly covered paths).
Test value: 0 tests written, 0 rejected by the authoring gate, 0 existing tests extended, 0 paths weakly covered.
Proposed tests (not written, below the blocking floor): Kimi fallback rows (dir mtime, state.cwd, relative sessionDir, bad lines), an OMP header with no cwd, and the repo sort with Kimi/OMP counts.

Tests ran: typecheck count unavailable
Tests ran: focused 70
Tests ran: freshness count unavailable

Pre-Landing Review

Re-run at 560799f after merging origin/main (71acd83); the product diff is unchanged, but the TODOS.md hunk's context moved, so the receipt could not carry and this is a fresh pass.

Pre-Landing Review: 4 issues — 0 auto-fixed, 3 asked (0 fixed, 3 skipped), 0 deferred, 1 noted. None reaches the blocking floor (would fail a test, break production, or lose data or secrets).

REVIEW_LOOP: passes=1 blocking_found=2 deferred=0 noted=1 fixed=0 scope=frozen dispatches=4

The two blocking_found are the FIXABLE-tagged adversarial items above; the reviewer rated both Low, Blocks: no, and they are skipped at the crew's blocking floor.

Gate edits: none detected (4 listed, 3 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)

Outside review (openai/gpt-6.1-sol): completed, no findings. Targeted gate review: no findings. Red Team: no findings. Native adversarial: 3 Low findings, none blocking.

Skipped below the floor (in the diff):

Review notes

Below the blocking floor; recorded here and not fixed in this PR.

Exploratory QA

Smoke (2 probes, both pass, report-only, run at 127a263 with a temporary HOME):

  • Store present: a Kimi index with a garbage line, a relative sessionDir whose state.json has cwd but no updatedAt, and a missing session dir; two OMP files, one without cwd; one Antigravity .db. Result: kimi_code 1 (attributed through state.cwd and the dir mtime), omp 1 (the cwd-less file skipped), agy 1 with unattributed: true, total_sessions 3, 1 repo.
  • Empty HOME: every registered tool reports 0, and nothing errors.

No browser surface. No plan checks bound to this branch.

Design Review

No frontend files changed — design review skipped.

Eval Results

The selector maps bin/gstack-global-discover.ts to 260 dependent gate cases; those stay with the train's full gate. Focused paid cases for the changed retro prose, run locally on 127a263:

  • retro-base-branch (rule, 1 trial): PASS, $0.32
  • retro/SKILL.md instructions (judge): PASS, clarity 4 / completeness 4 / actionability 4, $0.06

Plan Completion

Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). The approved plan is GST-531 (see Approvals).

Issues

Fixes #2917
Refs #1977

Antigravity sessions are counted but not attributed to a repo, so #1977 stays open for decoding the conversation blob.

Verification Results

Exploratory smoke: 2 PASS, 0 FAIL, 0 BLOCKED, 0 NOT RUN. No Step 8.1 obligations (no plan file bound).

TODOS

Documentation

Status: current, zero blockers, no files edited in this re-audit.

Scope: branch gsta214/c against base 71acd83 (origin/main), mode edit. Selected files: README.md, TODOS.md, bin/gstack-global-discover.ts, changelog.d/gsta214-c.md, retro/SKILL.md, retro/SKILL.md.tmpl, test/global-discover.test.ts. Nested authored docs were searched for retro global, scanner, and tool-list references.

Documentation health:
README.md Current (the /retro row lists Kimi Code, OMP and Antigravity)
TODOS.md Current (New hosts line reflects the shipped Kimi Code and OMP scanners)
changelog.d/ Current (read only; claims match the scanner)
docs/troubleshooting.md, docs/PROJECT_STRUCTURE.md Current (no stale tool lists)
retro/SKILL.md(.tmpl) Current (branch-authored; not edited)

Documentation coverage: Kimi Code, OMP and Antigravity in /retro global have reference coverage (README row, changelog fragment) but no how-to, tutorial or explanation. Common gap, not a blocker, and not filled per audit scope.

Diagram drift: none in the touched docs.

Test plan

  • bun run typecheck: exit 0
  • bun test test/global-discover.test.ts test/parity-suite.test.ts test/skill-md-size-guard.test.ts test/remote-identity-vectors.test.ts test/binary-version-probe.test.ts: 70 pass, 0 fail
  • bun run gen:skill-docs freshness: no diff
  • bun test test/spawnsync-timeout-tripwire.test.ts test/module-size-ratchet.test.ts test/bun-entry-isolation.test.ts: 19 pass, 0 fail
  • Remote pregate (UBI_OWNER=gsta214 gstack-pregate --stage tests --remote): 19389 tests, 0 failed on tree 901a2f70d3dc (head 560799f), $0.07; macOS and Windows lanes cleared from PR runs 41276552772 and 41276552723
  • Focused paid evals (at 127a263, before the base merge; retro prose unchanged since): retro-base-branch PASS, retro/SKILL.md instructions PASS

garrytan and others added 2 commits October 31, 2026 18:32
…sions (#2917, #1977)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…2917 shipped

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai

capy-ai Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Closing as not planned: on the 2026-10-31 build-or-close list, Garry decided few people would see a difference from this change. The branch stays in case we come back to it.

@capy-ai capy-ai Bot closed this Oct 31, 2026
@capy-ai capy-ai Bot reopened this Nov 1, 2026
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

# Conflicts:
#	TODOS.md
@github-actions github-actions Bot changed the title /retro global counts Kimi Code, OMP and Antigravity sessions v1.92.20.0 /retro global counts Kimi Code, OMP and Antigravity sessions Nov 1, 2026
@capy-ai
capy-ai Bot merged commit fd5fcb4 into main Nov 1, 2026
62 checks passed
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.

gstack-global-discover misses Kimi Code and OMP sessions — only scans ~/.claude, ~/.codex, ~/.gemini

1 participant