Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b887b38
feat(devices): rex 専用 SSH alias を devices.conf に追加する (#207)
rebuildup Nov 21, 2026
c13aaa6
Merge pull request #208 from rebuildup/207
rebuildup Nov 21, 2026
9b76fd1
feat(agent): remote Rex device selection for task dispatch (#209)
rebuildup Nov 21, 2026
41eb7df
fix(agent): remote models.yml marker check uses prefix match (#209)
rebuildup Nov 21, 2026
3aceaa5
fix(agent): keep agent help within the 100-line bound (#209)
rebuildup Nov 21, 2026
9694e02
Merge pull request #211 from rebuildup/209
rebuildup Nov 21, 2026
e1f914d
fix(agent): Herdr task prompt stall — stderr error envelope + readine…
rebuildup Nov 21, 2026
1528ff1
Merge pull request #214 from rebuildup/212
rebuildup Nov 21, 2026
01afe3e
fix(agent): remote Rex fault handling — spawn timeout, dead-owner lea…
rebuildup Nov 21, 2026
9547021
Merge pull request #215 from rebuildup/209-faults
rebuildup Nov 21, 2026
690af5c
fix(agent): refresh stale fallback e2e attestations + staleness detec…
rebuildup Nov 21, 2026
7a2f1cb
fix(agent): renew claude/opencode openrouter-free e2e + de-pin catalo…
rebuildup Nov 21, 2026
32dbfa8
Merge pull request #216 from rebuildup/203-attestation
rebuildup Nov 21, 2026
67f7676
feat(agy): manage Antigravity CLI shim and read-only review profile
rebuildup Nov 22, 2026
0c57efa
Merge pull request #220 from rebuildup/218
rebuildup Nov 22, 2026
5303f7b
feat(agent): add Antigravity visual review harness (agent review)
devin-ai-integration[bot] Nov 23, 2026
21257e8
feat(agent): add minimal quota gate and single-flight lock to review …
rebuildup Nov 23, 2026
dd1aa1b
fix(agent): scope quota gate to model family; heartbeat review lock
rebuildup Nov 23, 2026
e918eb7
Merge pull request #222 from rebuildup/219
rebuildup Nov 23, 2026
96ede71
Merge pull request #223 from rebuildup/221
rebuildup Nov 23, 2026
534d3ac
fix(agent): strip schema key from review settings payload (#224)
rebuildup Nov 23, 2026
745fda3
Merge pull request #225 from rebuildup/224
rebuildup Nov 23, 2026
bcee050
fix(agent): recover verdict from duplicated JSON objects in agy respo…
rebuildup Nov 23, 2026
7145e9f
Merge pull request #228 from rebuildup/227
rebuildup Nov 23, 2026
9e52cb3
fix(agent): classify mid-run agy quota exhaustion as quota-exhausted …
rebuildup Nov 23, 2026
cdb30e7
feat(agent): record model and spec identity in review results (#231)
rebuildup Nov 23, 2026
8e4f698
Merge pull request #232 from rebuildup/231
rebuildup Nov 23, 2026
7477f18
Merge pull request #230 from rebuildup/229
rebuildup Nov 23, 2026
703a019
fix(agent): record resolvedModel explicitly in review results (#233)
rebuildup Nov 23, 2026
fbc104e
Merge pull request #234 from rebuildup/233
rebuildup Nov 23, 2026
341ce9a
fix(agent): reject malformed fallback profile tables
rebuildup Nov 23, 2026
fba7a5a
fix(devices): migrate Windows SSH Include safely
rebuildup Nov 23, 2026
bdab7f7
Merge pull request #235 from rebuildup/152-fallback-check
rebuildup Nov 23, 2026
564878f
feat(agent): add read-only attestation renewal status
rebuildup Nov 23, 2026
7ae44c9
Merge pull request #236 from rebuildup/193-devices-windows-include
rebuildup Nov 23, 2026
536a2d2
Merge pull request #237 from rebuildup/217-attestation-renewal
rebuildup Nov 23, 2026
923ddad
feat(editor): deploy Unix Vim/Neovim entry points safely
rebuildup Nov 23, 2026
40b29db
Merge pull request #238 from rebuildup/83-editor-unix
rebuildup Nov 23, 2026
d47e2eb
fix(agent): keep Gemini billing and renewal evidence honest
rebuildup Nov 23, 2026
69778e8
Merge pull request #239 from rebuildup/185-gemini-billing-docs
rebuildup Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/attestation-renewal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Attestation renewal

on:
schedule:
# Weekly reminder only: this workflow never calls providers or uses credentials.
# GitHub executes schedules from the default branch only; on release/* this
# stays dormant until the authorized release-* -> main landing.
- cron: '23 1 * * 1'
workflow_dispatch:

permissions:
contents: read
issues: write

jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
with:
bun-version: '1.4.3'
- name: Install dev dependencies
run: bun install --frozen-lockfile
- name: Report fallback attestation state
run: |
bun script/agent.ts attest status --json > attest-status.json
cat attest-status.json
- name: Remind when measured evidence needs renewal
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
count=$(jq '[.candidates[] | select(.usable == false and (.reason == "attestation-stale" or .reason == "attestation-unknown"))] | length' attest-status.json)
if [ "$count" -eq 0 ]; then
echo "No stale/unknown fallback attestation evidence."
exit 0
fi
summary=$(jq -r '.candidates[] | select(.usable == false and (.reason == "attestation-stale" or .reason == "attestation-unknown")) | "- `\(.profile)` `\(.route)/\(.model)` — \(.reason), evidence=\(.evidence.at // "none")"' attest-status.json)
body=$(cat <<EOF
Weekly attestation renewal reminder (#217).

The read-only report found $count fallback candidate(s) whose measured E2E evidence is stale or absent:

$summary

Renewal procedure: re-run the real route/model probe (`agent task run` for omp routes or the harness-native run/print path for opencode/claude), confirm tool-call/file effects on disk, then update only the measured \`catalog.routes.*.e2e\` entries with the new \`at\`, \`sha\`, and note. Do not mark unverified routes verified-live; do not extend TTL or weaken checks. \`agent attest status --json\` is the read-only status command; this workflow never calls providers or uses credentials.
EOF
)
existing=$(gh issue list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "Attestation renewal due"' --json number --jq '.[0].number // empty')
if [ -n "$existing" ]; then
gh issue comment "$existing" --repo "$GITHUB_REPOSITORY" --body "$body"
else
gh issue create --repo "$GITHUB_REPOSITORY" --title "Attestation renewal due" --body "$body"
fi
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,13 @@ The current common Git baseline includes:
- global ignore via `~/.config/git/ignore`
- machine/user-local `~/.gitconfig.local`

The editor baseline is shared between Vim and Neovim:
The editor baseline is shared between Vim and Neovim. Each OS has only a thin
entry point; the configuration itself lives once under `home/vimfiles/`:

- `~/vimfiles/shared/base.vim` — the single source of truth for both editors (encoding, `~/.cache/vim` backup/swap/undo, display, folding, search, indent, statusline, `list`, window/tab/normal/insert/visual mappings, transparent background). Sourced by Vim's `_vimrc` and by Neovim's `init.lua`.
- `~/vimfiles/shared/base.vim` — the single source of truth for both editors (encoding, `~/.cache/vim` backup/swap/undo, display, folding, search, indent, statusline, `list`, window/tab/normal/insert/visual mappings, transparent background).
- `~/vimfiles/keymap/onishi.vim` — 大西配列 key placement; sourced last from `base.vim` so it overrides the defaults above.
- `%LOCALAPPDATA%\Programs\Vim\_vimrc` and `%LOCALAPPDATA%\nvim\` (Neovim config, lockfiles, `scripts/`, `snippets/`) mirror their real Windows locations under `home/AppData/Local/` so neither editor needs an environment variable to find its config.
- `~/vimfiles/nvim/init.lua` — the canonical Neovim config. `home/.config/nvim/init.lua` (POSIX) and `home/AppData/Local/nvim/init.lua` (Windows) are byte-identical thin loaders of that file.
- Entry points: `home/.vimrc` → `~/.vimrc` on macOS/WSL; `%LOCALAPPDATA%\Programs\Vim\_vimrc` and `%LOCALAPPDATA%\nvim\init.lua` at their real Windows locations via `home/AppData/Local/`. `script/link` skips `home/AppData/` on POSIX and `script/link.ps1` skips `home/.vimrc` / `home/.config/nvim/` on Windows; skipped sources are never deleted.

`set background=transparent` is rejected with E474 by both Vim and Neovim, so transparency is applied as `guibg=NONE` on `Normal` / `NormalNC` / `SignColumn` / `EndOfBuffer`, re-applied on `ColorScheme`.

Expand Down
66 changes: 39 additions & 27 deletions config/agents.toml
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,14 @@ opencode_npm = "@ai-sdk/openai-compatible"
opencode_base_url = "https://logfare.ai/v1"
omp_custom = true

# Google AI Studio Gemini Developer API. The account owner confirmed that
# this key belongs to a dedicated Free Tier project with no linked billing
# account or Prepay. Infisical presence alone is not billing evidence; this
# route is fixed to the standard Gemini API model and has no paid fallback.
# Google AI Studio Gemini Developer API. The operator reports that this key
# is intended for a dedicated Free Tier project with no linked billing
# account or Prepay, but authoritative Google project/billing metadata is
# still unverified (issue #185). Infisical presence alone is not billing
# evidence; this route is fixed to the standard Gemini API model and has no
# paid fallback.
[providers.gemini]
label = "Google AI Studio Gemini Developer API (Free Tier)"
label = "Google AI Studio Gemini Developer API"
base_url = "https://generativelanguage.googleapis.com/v1beta/openai/"
secret = "GEMINI_API_KEY"
env = "GEMINI_API_KEY"
Expand Down Expand Up @@ -700,6 +702,15 @@ label = "Mistral Vibe CLI"
command = "vibe"
adapter = "passthrough"

# Antigravity CLI (agy): Google AI Pro subscription auth via OS keyring, no
# Infisical secret. `agent agy` / `agent native agy` run it untouched; the
# read-only visual review contract lives in `agent review` (agy-review.ts,
# ADR-0023), not in a provider route.
[harnesses.agy]
label = "Antigravity"
command = "agy"
adapter = "passthrough"

# Claude adapter environment names (Claude Code's own protocol contract).
# These are names, never values; values are derived at launch time.
[harnesses.claude.env]
Expand Down Expand Up @@ -771,7 +782,7 @@ note = "Keep MiniMax-M3 as the known working route default; the formal MiniMax-M
note = "Explicit Logfare route (OpenAI-compatible https://logfare.ai/v1, custom provider registered via opencode_npm). Never a fallback target and never selected implicitly: 5,000 req/day, 6 concurrent per account. Needs Infisical LOGFARE_API_KEY plus the /consent training opt-in (both models are premium). Real response + shell-tool call + both models verified 2026-11-05."

[routes."opencode.gemini"]
note = "Explicit opt-in route to only gemini-4-hydrogen at xhigh. GEMINI_API_KEY is read only from Infisical; the process-scoped OpenCode guard pins every request to this model and stops on 429. Dedicated AI Studio Free Tier project, no billing account or Prepay, owner-confirmed 2026-11-19. No grounding tools, implicit fallback, or paid route."
note = "Explicit opt-in route to only gemini-4-hydrogen at xhigh. GEMINI_API_KEY is read only from Infisical; the process-scoped OpenCode guard pins every request to this model and stops on 429. Operator-reported dedicated AI Studio Free Tier project with no linked billing account or Prepay, but authoritative billing metadata remains unverified (issue #185); this is not a billing guarantee. No grounding tools, implicit fallback, or paid route."

[routes."opencode.mistral"]
note = "Infisical Vibe plan key, volume-first GLM 5.3 Flash, no automatic paid or model fallback. Verify real model availability before use."
Expand Down Expand Up @@ -1024,6 +1035,10 @@ source = "live-e2e"
sha = "57315124d62eaf090883666d2d17039cfce26849"
note = "Real response + tool call via the claude route (observation recorded on that route below)."

[catalog.providers.gemini]
billing = "unknown"
terms = "Operator reports a dedicated AI Studio Free Tier project with no linked billing account or Prepay (2026-11-19), but authoritative Google project/billing metadata is unverified; Infisical presence is not billing evidence. Explicit opt-in route only, never a fallback target."

[catalog.providers.logfare]
billing = "unknown"
terms = "Premium community access: both models require the training opt-in (https://logfare.ai/consent) and Discord membership in the Logfare server; without them every request returns HTTP 403 (training_optin_required)."
Expand Down Expand Up @@ -1128,32 +1143,32 @@ status = "verified-live"
provenance = "measured"

[catalog.routes."claude.openrouter-free".e2e.evidence]
at = "2026-11-01T00:00:00Z"
at = "2026-11-21T08:25:00Z"
source = "live-e2e"
sha = "fe67db6e8d27fc2b1b0f604ec2299eafb6e3f4e2"
note = "Real response + Bash tool call, claude 2.1.314."
sha = "9547021c2da03170e883dec307223c12f4a8480d"
note = "Real response + shell tool call (file create verified on disk) via agent launcher print mode, claude 2.1.328, 2026-11-21."

[catalog.routes."opencode.openrouter-free".e2e]
value = [{ model = "nvidia/nemotron-3-ultra-550b-a55b:free", tool_call = true }]
status = "verified-live"
provenance = "measured"

[catalog.routes."opencode.openrouter-free".e2e.evidence]
at = "2026-11-01T00:00:00Z"
at = "2026-11-21T08:25:00Z"
source = "live-e2e"
sha = "fe67db6e8d27fc2b1b0f604ec2299eafb6e3f4e2"
note = "Real response + Bash tool call, opencode 2.2.3."
sha = "9547021c2da03170e883dec307223c12f4a8480d"
note = "Real response + shell tool call (file create verified on disk) through the launcher run mode, opencode 2.3.2, 2026-11-21."

[catalog.routes."omp.openrouter-free".e2e]
value = [{ model = "nvidia/nemotron-3-ultra-550b-a55b:free", tool_call = true }]
status = "verified-live"
provenance = "measured"

[catalog.routes."omp.openrouter-free".e2e.evidence]
at = "2026-11-04T00:00:00Z"
at = "2026-11-21T08:20:00Z"
source = "live-e2e"
sha = "bed3716a5008c424a3b2bf97204f1d8ebafe8a6b"
note = "Real response + Bash tool call, OMP 18.16.0."
sha = "9547021c2da03170e883dec307223c12f4a8480d"
note = "Real response + shell tool call (file create verified on disk) via agent launcher print mode, omp 19.0.0, 2026-11-21."

[catalog.routes."claude.opencode-go".quota]
scope = "plan"
Expand Down Expand Up @@ -1597,31 +1612,28 @@ note = "Real response + tool call + file edits through the launcher, claude 2.1.
[catalog.routes."opencode.kilo".e2e]
value = [
{ model = "nvidia/nemotron-3-ultra-550b-a55b:free", tool_call = true },
{ model = "kilo-auto/free", tool_call = true },
{ model = "cohere/north-mini-code:free", tool_call = true },
]
status = "verified-live"
provenance = "measured"

[catalog.routes."opencode.kilo".e2e.evidence]
at = "2026-11-13T00:00:00Z"
at = "2026-11-21T08:20:00Z"
source = "live-e2e"
sha = "65a2bbc21d3e8dc889669c7bb818e567358a891f"
note = "Real response + tool call + file edits through the launcher, opencode 2.2.7; create-task and bug-fix task."
sha = "9547021c2da03170e883dec307223c12f4a8480d"
note = "Real response + shell tool call (file create verified on disk) through the launcher run mode, opencode 2.3.2, 2026-11-21. kilo-auto/free and cohere/north-mini-code:free dropped from this attestation pending re-verification."

[catalog.routes."omp.kilo".e2e]
value = [
{ model = "nvidia/nemotron-3-ultra-550b-a55b:free", tool_call = true },
{ model = "kilo-auto/free", tool_call = true },
]
status = "verified-live"
provenance = "measured"

[catalog.routes."omp.kilo".e2e.evidence]
at = "2026-11-13T00:00:00Z"
at = "2026-11-21T08:20:00Z"
source = "live-e2e"
sha = "65a2bbc21d3e8dc889669c7bb818e567358a891f"
note = "Real response + bash/edit tool calls + bun test through the launcher, omp 18.18.9; create-task and bug-fix task."
sha = "9547021c2da03170e883dec307223c12f4a8480d"
note = "Real response + shell tool calls (file create verified on disk) through agent task run, omp 19.0.0, 2026-11-21. kilo-auto/free dropped from this attestation pending re-verification."

[catalog.routes."claude.requesty".e2e]
value = [
Expand Down Expand Up @@ -1669,10 +1681,10 @@ status = "verified-live"
provenance = "measured"

[catalog.routes."omp.groq".e2e.evidence]
at = "2026-11-13T00:00:00Z"
at = "2026-11-21T08:20:00Z"
source = "live-e2e"
sha = "65a2bbc21d3e8dc889669c7bb818e567358a891f"
note = "Real response + bash/edit tool calls + bun test through the launcher, omp 18.18.9; create-task 320s and the bug-fix task."
sha = "9547021c2da03170e883dec307223c12f4a8480d"
note = "Real response + shell tool calls (file create verified on disk) through agent task run, omp 19.0.0, 2026-11-21."

# ---------------------------------------------------------------------------
# Fallback profiles (issue #136 / T020, Epic #86): opt-in continuity profiles
Expand Down
29 changes: 20 additions & 9 deletions docs/adr/ADR-0018.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,13 @@ the running total, so a budget-only check let it slip under a zero budget.
Candidates whose billing can bill at all are therefore rejected outright on a
zero-budget profile. Under a **positive** budget a billable candidate must
declare an explicit cap, otherwise `totalSpend` counts it as 0 and any budget
admits it — the cap would only bound spend someone remembered to declare.
admits it.

`max_spend` and `global_max_spend` are operator-declared admission ceilings,
not measured spend controls. The resolver does not estimate task cost or
observe provider billing; a positive budget therefore cannot be described as
a guaranteed spending cap. Where a provider offers an account-side limit or
pay-as-you-go switch, that account control remains the only hard stop.

A **present** spend cap must be valid. The generic optional-integer helper
mapped any malformed value to "absent", which for a cap means "uncapped", so
Expand Down Expand Up @@ -291,14 +297,19 @@ credentials, customer data or private material.
[`blocked-provider-investigation-2026-11-13`](../research/blocked-provider-investigation-2026-11-13.md);
all three are account-eligibility actions for the account owner, not
repository changes.
- **Attestation freshness is time-bounded.** The committed free-tier evidence
is dated `2026-11-13` and the freshness window is 7 days, so every `$0`
continuity profile stops resolving after about 2026-11-20 until the evidence
is refreshed. This is deliberate (stale capacity claims must not silently
look healthy) but it means the `$0` safety nets are not "set and forget":
re-measure and update the `[catalog.*]` evidence, or accept that the profile
reports no usable candidate. Re-verifying is a bounded, cheap operation
(`agent fallback <id>` shows the reason).
- **Attestation freshness is time-bounded.** Committed E2E evidence expires
7 days after its own `evidence.at`, so every `$0` continuity profile stops
resolving stale candidates until the evidence is refreshed. This is
deliberate (stale capacity claims must not silently look healthy) but it
means the `$0` safety nets are not "set and forget": re-measure and update
the `[catalog.*]` evidence, or accept that the profile reports no usable
candidate. `agent attest status [--json]` is the read-only status surface,
and the scheduled Attestation renewal workflow raises a repository reminder
when a fallback candidate is stale or unknown. The schedule activates only
on the default branch after the authorized release landing; until then the
status command is the manual check. Re-verifying stays bounded
and measured: only a real route/model probe may produce `verified-live`
evidence; CI never calls providers or uses credentials for renewal.

## Verification

Expand Down
Loading
Loading