Skip to content

feat: merge upstream v5, keep the Grok lane, add Astra advisor and counsel - #4

Merged
jhodges10 merged 9 commits into
mainfrom
merge/upstream-v5-keep-grok
Sep 9, 2026
Merged

jhodges10 merged 9 commits into
mainfrom
merge/upstream-v5-keep-grok

Conversation

@jhodges10

@jhodges10 jhodges10 commented Sep 9, 2026 •

Copy link
Copy Markdown

Merges upstream DannyMac180/fable-advisor v4.0.0 and v5.0.0 into the fork, keeps the Grok lane, and adds an Astra advisor, a counsel procedure, and a computer-use routing rule.

From upstream

  • Fable 5.1 as the session architect; per-task reasoning effort (six-part spec contract)
  • codex-implementer re-pointed from GPT-5.6 Sol to GPT-5.6 Luna as a routine lane
  • sol-implementer added as the high-complexity escalation lane
  • Mandatory end-of-deliverable advisor review; optional Codex-plugin integration

Kept from this fork

  • grok-implementer and the cursor-cli skill. Upstream dropped both in v4. Here they stay, documented as a routine lane co-equal with Luna rather than the default — the architect picks per task on availability, toolchain affinity, failure distribution, and cost, and alternates when nothing decides it. A task that fails one routine lane on a correct spec re-routes to the other before escalating to Sol: a cheap second family beats an expensive same-family retry.
  • The fast service tier on the routine codex lane, and the commitizen release automation.

New here

Addition What it is
astra-advisor GPT-6 Astra at high reasoning via codex exec, --sandbox read-only, standard tier — deliberately not fast mode, which would trade away the reasoning depth the consult exists to buy. The independent-model check fable-advisor structurally cannot be, being the same model as the architect.
fable-counsel Fable 5.1 with effort: high pinned in frontmatter, running as MODE: SEAT or MODE: SYNTHESIS. Separate from fable-advisor only because Claude Code sets subagent effort per definition and not per call — that is the one way to make a counsel reproducible regardless of session /effort.
Counsel Two independent seats at high effort (Fable and Astra, neither seeing the other's verdict), then a Fable synthesis reporting the decision, what any split turns on, and any unearned agreement where both seats leaned on the same unverified assumption.
Computer use GPT-6 Astra at low via the codex lane with MODEL overridden — explicitly not Sol. Computer use is a long loop of small, cheap, immediately-verifiable decisions where latency binds, not reasoning depth.

Verification

  • gpt-6-astra confirmed as a real slug (present in codex-cli 0.153.4 and already the configured default locally). It is newer than some installed codex builds, so astra-advisor gates the slug at preflight rather than letting a run silently resolve to another model, which would defeat the cross-vendor independence it exists to provide. Documented in the README requirements.
  • effort: confirmed as a supported agent frontmatter key before relying on it.
  • Both manifests re-parse as valid JSON; no conflict markers; every agent referenced in the docs exists; internal anchors resolve.
  • cz bump --dry-run on this branch: 5.0.0 → 5.1.0 (minor). Upstream's v4.0.0 and v5.0.0 tags were pushed to this remote first, so the release job computes from the correct baseline instead of falling back to v3.3.0.

CI change

commit-lint walked every commit in a PR, so merging an upstream fork failed the lint on history we did not author and cannot rewrite (reproduced locally: exit 14 on six upstream commits). It now walks first-parent only — the set this repo authors, merge commits included, so the summary of what a merge introduces still has to conform. cz bump already ignored those messages when computing the increment, so release classification is unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JQQnr1MyMDY4BgSVRbyRKy


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

DannyMac180 and others added 9 commits July 25, 2026 08:37
…s and reviews

- Session architect moves from Fable to Opus (/model opus)
- codex-implementer (GPT-5.6 Sol, high reasoning) becomes the default typing lane
- New fable-implementer agent: Fable 5 for high-complexity one-off tasks
- fable-advisor gains a mandatory end-of-deliverable review role
- grok-implementer removed; Grok CLI no longer required
The codex-implementer lane moves from gpt-5.6-sol at model_reasoning_effort=high
to gpt-5.6-luna at max. Luna's supported rungs are low/medium/high/xhigh/max —
max is its ceiling, there is no `ultra` tier as there is on Sol.

Swept every surface that named the model so the docs cannot drift from the flag
the agent actually passes: the agent card (frontmatter, prose, invocation block,
flag table, model-override note, and the unavailable-model error path), the
README routing table and prerequisites, the orchestration skill's routing table
and economics paragraph, and both plugin manifests.

The v3-to-v4 upgrade note keeps its historical claim but no longer names a model,
so a future repin cannot make it false.

Verified against codex-cli 0.144.1 by running the agent's exact invocation:
header reports `model: gpt-5.6-luna`, `reasoning effort: max`,
`sandbox: workspace-write`. Both manifests re-parse as valid JSON.

No version bump, following the precedent of 8236e9b (the Sol repin).
`codex exec` loads the user's ~/.codex/AGENTS.md on every invocation, so a rule
written for one project silently governs every codex lane on the machine. When
such a rule pins a model/effort or mandates an orchestration flow, codex
correctly declines rather than substituting — and the run returns exit 0 with an
empty diff and a refusal in the final message. Nothing in the exit code reveals
it. Observed live on 2026-08-04 after this lane moved off Sol/High.

The spec file now opens with a preamble stating that this lane is an explicit
opt-out from such defaults — the escape hatch those rules typically provide —
scoped to this lane and explicitly leaving every other instruction in force.

Because a preamble is a request, not a guarantee, the report contract closes the
hole independently: STATUS gains `refused`, and an empty diff can no longer be
reported as `complete` — it returns `refused` with codex's message quoted in
REASON. That check catches a silent no-op whatever its cause.

Also corrects step 2's lead-in, which still said reasoning effort was pinned
high after the repin to max.

Verified live: the agent's exact flow (spec file via stdin, gpt-5.6-luna at
model_reasoning_effort=max, workspace-write) wrote both files and passed 6/6
tests on an independent re-run, with no refusal.
…t, Codex plugin support

- Session architect and fable-advisor move to Fable 5.1 (via the `fable` alias)
- New sol-implementer lane: GPT-5.6 Sol via Codex CLI replaces the Fable 5 fable-implementer
- No lane pins a reasoning effort; the architect names one per task in a sixth spec line
- Orchestration skill: effort-selection table per model, six-part spec contract,
  optional Codex plugin (codex@openai-codex) integration for adversarial review and rescue
- README, manifests, demo captions updated; version 5.0.0

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SFSrowF7SP9GAigyAtDbgB
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C5JYThtd4EokUokigUZNCp
…unsel

Merges DannyMac180/fable-advisor v4.0.0 and v5.0.0 into the fork, keeping
this fork's Grok lane and CI, and adds three things upstream doesn't have.

From upstream:
- Fable 5.1 architect; per-task reasoning effort (six-part spec contract)
- codex-implementer re-pointed from GPT-5.6 Sol to GPT-5.6 Luna (routine)
- sol-implementer added as the high-complexity escalation lane
- mandatory end-of-deliverable advisor review; optional Codex plugin section

Kept from this fork:
- grok-implementer and the cursor-cli skill, now documented as a routine
  lane co-equal with Luna rather than the default: the architect picks per
  task on availability, toolchain affinity, failure distribution and cost.
  A task that fails one routine lane on a correct spec re-routes to the
  other before escalating to Sol.
- the fast service tier on the routine codex lane
- commitizen release automation

New in this fork:
- astra-advisor: GPT-6 Astra at high reasoning via codex, read-only,
  standard service tier (deliberately not fast mode). The independent-model
  check that fable-advisor structurally cannot be, being the same model as
  the architect. Gates the gpt-6-astra slug at preflight, since it is newer
  than some installed codex builds and a silent resolution to another model
  would defeat the cross-vendor independence it exists to provide.
- fable-counsel: Fable 5.1 with effort pinned high in frontmatter, running
  as either a counsel SEAT or the SYNTHESIS over both seats. Exists as a
  separate agent from fable-advisor only because Claude Code sets subagent
  effort per definition and not per call, so this is the one way to make a
  counsel reproducible regardless of session /effort.
- the counsel procedure: two independent seats at high effort (Fable and
  Astra, neither seeing the other's verdict), then a Fable synthesis that
  reports the decision, what any split turns on, and any unearned agreement
  where both seats leaned on the same unverified assumption.
- computer-use routing: GPT-6 Astra at low effort via the codex lane with
  MODEL overridden, explicitly not Sol. Computer use is a long loop of
  small cheap verifiable decisions where latency binds, not reasoning depth.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JQQnr1MyMDY4BgSVRbyRKy
Merging the upstream fork brings in commits written under someone else's
message conventions, and `cz check --rev-range base..head` walks all of them,
so any upstream merge fails the lint on history we did not author and cannot
rewrite. Reproduced locally against this branch: exit 14 on six upstream
commits, our own commit passing.

Walk first-parent only. That is exactly the set this repo authors: the merge
commit itself is first-parent, so the summary of what a merge introduces still
has to conform, while the merged-in ancestry does not. cz bump already ignores
non-conforming messages when computing the increment, so nothing about the
release classification changes.

Loop variable named `rc` rather than `status` — harmless in the bash CI runs
under, read-only in zsh, and this is the kind of script that gets pasted into
a local shell to debug.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JQQnr1MyMDY4BgSVRbyRKy
The upstream merge was cut from a stale local main (v3.3.0) and would have
regressed the Grok lane from 4.6 back to 4.5. origin/main had moved on to
v3.4.1: `feat: upgrade grok lane to 4.6` and `fix: use Grok 4.6 High Fast`.
Caught by noticing release runs on main newer than the branch point.

Merges origin/main in and carries 4.6 through the surfaces this branch had
already rewritten: both manifests, the README lane table and requirements,
and the orchestration doctrine.

One factual correction that came with it. This branch had documented Grok as
topping out at `-high` with no `xhigh` rung, which was true of 4.5 and is not
true of 4.6 — it has low/medium/high/xhigh, each with a `-fast` variant, and
the lane defaults to `cursor-grok-4.6-high-fast`. The doctrine now says so,
notes that tier availability varies by plan, and points at the `--list-models`
gate rather than letting a spec assume a slug exists. The routine-lane cost
bullet is corrected too: both lanes default to a fast tier, so neither is
structurally slower than the other.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JQQnr1MyMDY4BgSVRbyRKy
@jhodges10

Copy link
Copy Markdown
Author

Update — branch was cut from a stale main; rebased onto origin/main.

The upstream merge was branched from local main at v3.3.0, but origin/main had moved on to v3.4.1 (feat: upgrade grok lane to 4.6, fix: use Grok 4.6 High Fast). As opened, this PR would have regressed the Grok lane from 4.6 back to 4.5. Caught by spotting release runs on main newer than the branch point.

origin/main is now merged in and 4.6 carried through every surface this branch had already rewritten — both manifests, the README lane table and requirements, and the orchestration doctrine.

It also forced one factual correction. This branch had documented Grok as topping out at -high with no xhigh rung — true of 4.5, not true of 4.6, which has low/medium/high/xhigh, each with a -fast variant, defaulting to cursor-grok-4.6-high-fast. The doctrine now says so, notes that tier availability varies by plan, and points at the --list-models gate instead of letting a spec assume a slug exists. The routine-lane cost bullet is corrected too: both lanes default to a fast tier, so neither is structurally slower.

cz bump --dry-run still resolves to 5.0.0 → 5.1.0.

@jhodges10
jhodges10 merged commit 151c00f into main Sep 9, 2026
2 checks passed
@jhodges10
jhodges10 deleted the merge/upstream-v5-keep-grok branch September 9, 2026 16:13
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.

2 participants