Skip to content

docs(reorg): work orders v1.4.3 after the reviews on #1298 and #1303 - #1303

Merged
hyperpolymath merged 13 commits into
mainfrom
claude/eager-noether-1seyvi
Oct 19, 2026
Merged

hyperpolymath merged 13 commits into
mainfrom
claude/eager-noether-1seyvi

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

What this is

Follow-up to #1298, which merged the work orders at v1.2.0 plus CodeRabbit's agent edit (c932c96e). Fifteen findings were posted on that PR after its last reviewed head and before the merge: three by CodeRabbit (applied by its agent in c932c96e, refined here) and twelve by Codex across three rounds. Each was verified against the tree before being written in. Same file, same authority (applied-unless-struck, D113; prose, CC-BY-SA-4.0).

The branch is the designated one restarted after the squash; a clean restart needed a force-push this session may not make, so 7406ac7d merges main and keeps v1.3.0 where both sides added the file. The diff against main is the v1.3.0 to v1.4.3 deltas alone: one file.

Dispositions (v1.3.0)

Finding Where Disposition
Pre-push gate requires post-push states (Codex P1, line 54) Session mechanics The gate is the locally runnable part of an acceptance block; "after push", "On the PR", "after merge" lines are recorded as they land.
Root-level touches make the scoped guard the repo-wide run, which exits 1 at the baseline (Codex P1, line 51) Session mechanics Exit 1 at the 443 baseline is accepted; see v1.4.0 below for the set-based gate that replaced count equality.
Keep the repo-wide link-rot check (CodeRabbit, line 51) Session mechanics Kept, with the expected result stated.
Archive README: the scoped guard on 9-archive/ scans the archive and reports 272 (Codex P1, line 366) WO-4 Never run the guard on the archive alone; the repo-wide run from a checkout named standards is the gate, plus the new file's links by eye. 272 verified.
Empty pathspec from the default input breaks every other caller (Codex P1, line 386) WO-4 Append only when non-empty (bash array), prove the default arm locally.
check-package-policy.sh walks the archive; ten manifests there could satisfy the policy (Codex P2, line 337) WO-4 Added as the eleventh validator; find_first noted. Verified: ten manifest.scm/guix.scm/Containerfile under the archive.
files = 1136 goes stale (Codex P2, line 366) WO-4 Raise to 1137; Gate D does not count files, the map must still be true.
Fallback test must run under bun test (Codex P2, line 456) WO-5 Done; the file imports from bun:test.
All seven drafts call themselves draft/to-do/in-progress (Codex P2, line 494) WO-6 The owner disposes of each ("file" or "discard"); silence means they stay; new owner item. Verified status lines.
TOPOLOGY.adoc is a frozen snapshot (Codex P2, line 545) WO-7 Moved to bucket C (archived by P2.4); count becomes 440; the one remaining manifest link is TOPOLOGY's.
ROADMAP.adoc 103 describes the AI Gatekeeper Protocol (Codex P2, line 541) WO-7 Moved to bucket B (D338).
Zero-reference loop exits 1 in the desired state (Codex P2, line 586; CodeRabbit, lines 252–253 and others) Acceptance blocks CodeRabbit's agent rewrote them in c932c96e; kept.
Plan README line 69 says "Deno and Python banned" outside any row (Codex P2, line 115) WO-8 Rewritten in place; both prose files grepped.
GitLab's could not be found is ambiguous (CodeRabbit, lines 226–230; Codex P1 earlier) WO-2 The probe is a diagnostic only, never a skip: a deploy key cannot tell absent from forbidden, and the *_MIRROR_ENABLED variable is the one legitimate skip. CodeRabbit's "forge-specific evidence" rewrite is withdrawn too: it needs a second credential per forge for a question the variable already answers.

Review rounds on this PR

v1.4.0 (559d3a8e): Codex posted five findings on 7406ac7d; all five verified and taken.

Finding Disposition
Both reusables pin hypatia-ref to a vetted SHA; the upstream fix clears nothing by itself (P1) The known-red paragraph now gives the two steps: hypatia#927 or #928 merges, then both hypatia-ref defaults advance past it (a two-line PR here, no uses: change). New owner item. My "resolves at HEAD" claim was wrong and is corrected on #1298 too.
Count equality with origin/main blocks WO-7's intended reduction (P1) The gate compares sets: save the guard's output before the first edit, require no new BROKEN line; repairs show as removals. A touched file may keep its old broken links (ai-instruction's README has six others).
A bare -o -name 9-archive in check-package-policy.sh weakens every caller (P2) One opt-in input, policy_exclude_dir, feeds the language block's pathspec and a PKG_PRUNE_DIRS hook in the script; the shared copy is unchanged by default; four default-arm runs required.
test ! -d .github/ISSUES fails in the supported silence case (P2) Out of the pre-push gate; while drafts wait, the gate is that the directory is untouched.
WO-8's plan check cannot pass with the historical Deno rows (P2) Only live claims are forbidden; issue-triage rows keep their titles with the dated note.

v1.4.1 (5d5c7bbc): Codex posted one finding on 559d3a8e, verified and taken: diff … | grep '^>' exits 1 in the desired state, so the three gate lines now read ! diff "$before" <(…) | grep -q '^>' (exit 0 when no new BROKEN line), proved on synthetic output.

v1.4.2 (15fb14d9): Codex posted one finding on 5d5c7bbc, verified and taken: under set -o pipefail, diff's own exit 1 (the outputs differ) replaced grep's verdict as the pipeline status, so the inverted gate passed a new BROKEN line, and WO-7's count printed 3 but returned 1. All four uses now wrap diff as { diff "$before" <(…) || true; } so grep alone decides; proved with and without pipefail (unchanged 0, repairs 0 with count 3 and exit 0, added 1, mixed 1). The revision line, which v1.4.1 had left at v1.4.0, now reads v1.4.2.

v1.4.3 (8aa2e177): Codex posted two findings on 15fb14d9; both verified and taken.

Finding Disposition
WO-7's raw link-rot-guard.sh . | grep '0-AI-MANIFEST' returns 1 under pipefail, the guard exiting 1 at 440 (P2) Wrapped as { … || true; } | grep; proved on the tree (old form 1, new form 0). No other line pipes the guard raw.
An enabled forge whose *_SSH_KEY secret is empty hits a notice-only "Skipped" step and stays green, so "skipped by its variable or red" was false (P2) Retained as the second legitimate skip: all seven forge jobs carry the step, the reusable's Radicle comment calls the secret the second switch, and the regularisation design (line 107) counts 142 estate callers skipping this way with the question marked OWNER?. WO-2 records the facts, keeps the seven steps (grep -c 'not configured)' -> 7) and names three honest outcomes. New owner item: red is labelled the elegant arm, with the reasons the order departs from it.

Found while re-reading WO-2's block: grep -c 'continue-on-error' would have counted the comment at line 121, which the order keeps because it names the owner action. The check is now anchored to the key (^[[:space:]]*continue-on-error:): 2 on the tree today, 0 after the order.

A third known red on main, recorded for the executor

scan / Hypatia Neurosymbolic Analysis and governance / Validate Hypatia Baseline are red on main at every commit since #1300 regenerated actions.lock in gh actions-lock format v0.0.3 (version: line 4, plus commit/owner_id/repo_id on dependencies). Hypatia's lib/rules/actions_lock.ex accepts v0.0.2 only, so the gate sees two invalid_actions_lock findings at severity high. The fix takes two steps: hyperpolymath/hypatia#927 or #928 merges, then the hypatia-ref defaults in governance-reusable.yml and hypatia-scan-reusable.yml (vetted SHAs that the local callers do not override) advance past it. This PR shows the same red on its head, as its base a85aa8e7 does on main. The work orders say so, and say never to acknowledge it in the baseline.

Acceptance (local, on 8aa2e177)

bash scripts/link-rot-guard.sh docs/reorg/2026-10-14-tidy   -> all internal links resolve
bash scripts/check-launcher-standard-currency.sh --root .   -> no stale references
bash scripts/check-canonical-names.sh origin/main           -> no deprecated names reintroduced
bash scripts/check-standards-map.sh                         -> GATE D PASSED
git diff --check                                            -> clean
{ bash scripts/link-rot-guard.sh 9-archive || true; } | grep -c '^BROKEN' -> 272 (the figure the order quotes)

Known reds that are not this PR's: the Debtfile deno-residue breach (WO-8 retires it) and the Hypatia gate above.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T4U5XuN4NWs8FTxoe5PuH7

claude and others added 8 commits October 19, 2026 12:14
Eight work orders for a sonnet-tier executor, each with the facts
measured against main at 75bd599, the files, the steps, the acceptance
commands and the conditions under which the executor stops and asks:
WO-1 close out #1290 with the guard's negative test; WO-2 mirror honesty
(P1.5); WO-3 community-health files (P1.8); WO-4 the archive is frozen
(P1.4); WO-5 delete the Python deed tools (P1.10); WO-6 .github hygiene
(P1.7); WO-7 follow the manifest rename through (#1272, with the D338
question for the owner); WO-8 the handover note after #1249. Plus the
session mechanics for the wave and the owner items it depends on.

Refs #1234 #1290.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T4U5XuN4NWs8FTxoe5PuH7
Corrections from the Codex review of #1298, each verified against main:
WO-1 drops the negative test that already exists; WO-2 also removes the
two GitLab continue-on-error suppressions and probes destinations
without requiring HEAD; WO-3 takes the citation version and date from
canon.lock together; WO-4 no longer creates a directory entry in
.hypatia-ignore (the exemption contract forbids it), keeps the archive
acks, enumerates the eleven local validators and leaves the secret
scanners alone; WO-5 also updates the launcher mapping specification that
runs deed_lint.py; WO-6 leaves the CODEOWNERS SPDX header to the owner
and makes silence on the Copilot config mean defer; WO-7 moves the
estate-wide readiness and wiki references to bucket B; WO-8 retires the
two Deno Debtfile probes instead of re-scoping them, and runs first so
the Debtfile gate stops blocking the wave.

Also corrects the link-rot baseline: the repo-wide guard reports 684
broken internal links on main (680 before #1272), not two. The earlier
figure was truncated output.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T4U5XuN4NWs8FTxoe5PuH7
Eight corrections, each verified against the tree before it was written in:

- The link-rot baseline is 443 on main from a checkout named `standards`
  (the guard prunes 9-archive/ only under that basename); 684 was measured
  from a differently named directory. Every count, threshold and the WO-8
  handover correction now say so.
- WO-4 discovery is non-mutating: registry-readiness.sh is a licence
  rewriter for other repositories and is now on the never-list;
  kyaml-migrate.sh runs with --check only; fix-workflow-duplicates.sh is
  read, not run; `git status --porcelain` must be empty before editing.
- WO-4 gains the governance language-policy walker: an opt-in
  `policy_exclude_pathspec` input on the reusable, passed by the local
  caller, default a no-op for every other repository.
- The archive README is granted as the one explicit exception to the
  never-edit-9-archive rule.
- WO-2's destination probe skips only on a confirmed not-found message;
  every other non-zero exit (auth, transport, DNS) stays red.
- WO-3's CITATION.cff lists the required `message` key and checks the
  four required keys.
- WO-7 names the nested README's correct target, ../../0-AI-MANIFEST.deed.
- WO-1 is issue-only: no branch, no PR; its transcript goes on #1290.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T4U5XuN4NWs8FTxoe5PuH7
Fifteen findings from CodeRabbit and Codex on e25ca54, 71587d1 and
8eae5ad, each verified against the tree before it was written in:

- The pre-push gate is the locally runnable part of an acceptance block;
  "after push", "On the PR" and "after merge" lines are recorded as they
  land. The repository-wide link-rot run is the gate for root-level
  touches (exit 1 at the 443 baseline is accepted; the count must equal
  origin/main's in the same checkout) and for the archive README (the
  archive is never scanned on its own: 272 old findings).
- A third known red on main: the Hypatia gate rejects actions.lock format
  v0.0.3 since #1300; the fix is hyperpolymath/hypatia#927 or #928 and
  needs nothing here. Never acknowledge it in the baseline.
- WO-2's probe is a diagnostic only, never a skip: a deploy key cannot
  tell an absent repository from a forbidden one, and the
  *_MIRROR_ENABLED variable is the one legitimate skip.
- WO-4 gains check-package-policy.sh (an eleventh validator, run for every
  caller, whose find_first would accept an archive manifest), the
  standards-map files count (1136 -> 1137), and a non-empty guard on the
  reusable input (git rejects an empty pathspec) with a default-arm proof.
- WO-5's fallback test runs under `bun test` (the file imports bun:test).
- WO-6 never deletes the seven drafts on its own judgement: all seven call
  themselves draft, to-do or in progress; the owner disposes of each.
- WO-7 drops TOPOLOGY.adoc (frozen, archived by P2.4) and ROADMAP.adoc 103
  (the AI Gatekeeper Protocol row) from bucket A; the count goes to 440.
- WO-8 rewrites the plan's "Deno and Python banned" definition at README
  line 69 and greps both prose files.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T4U5XuN4NWs8FTxoe5PuH7
#1298 squash-merged the work orders at v1.2.0 (plus CodeRabbit's agent
edit) while v1.3.0 was being prepared; this merge carries the branch past
that squash so the follow-up diff against main is the v1.3.0 delta alone.
Where both sides added the file, the branch's v1.3.0 is kept.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T4U5XuN4NWs8FTxoe5PuH7
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T17:26:57.390590Z a1e2f2c New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

DEED–K9 green

🟢 conformant · commit a1e2f2cc9d15 · run 39293128062

Category Status Pass Fail Indeterminate N/A Since previous revision
DEED syntax 🟢 conformant 4 0 0 0 ↔ unchanged
K9 contract typecheck 🟢 conformant 1 0 0 0 ↔ unchanged
K9 validator self-test 🟢 conformant 34 0 0 0 ↔ unchanged
K9 positive/negative controls 🟢 conformant 27 0 0 0 ↔ unchanged
K9 live corpus (L0–L2) 🟢 conformant 12 0 0 2 ↔ unchanged
K9 live corpus (L0–L2): 2 finding(s) / scope notes
  • 2-protocols/k9-coordination/examples/minimal.k9 — not_applicable: Routed to another dialect; not validated as a K9 contract.
  • coordination.k9 — not_applicable: Routed to another dialect; not validated as a K9 contract.

Scope: DEED syntax and K9 contracts L0–L2. L3 signature verification and routed coordination dialects are not certified. Green is limited to this scope. Orange is missing evidence; grey is an explicit scope exclusion. Logs and report.json are in the dated conformance-evidence artifact on the linked run.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 139a7e93-8b13-4f0f-b8a1-ec493ff2bd07
📥 Commits

Reviewing files that changed from the base of the PR and between 740c9d7 and 7406ac7.

📒 Files selected for processing: 1
  • docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout: 51
  • GitHub Check: Call CI Pipeline / Pipeline report
  • GitHub Check: Call CI Pipeline / Nickel
  • GitHub Check: Call CI Pipeline / Rust / Detect Cargo.toml
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: Trust pipeline summary
  • GitHub Check: governance / Validate Hypatia Baseline
  • GitHub Check: scorecard / Run Scorecard PR
  • GitHub Check: governance / JS runtimes — deno
  • GitHub Check: scan / Hypatia Neurosymbolic Analysis
  • GitHub Check: governance / JS runtimes — bun
  • GitHub Check: governance / Licence consistency
  • GitHub Check: governance / JS runtimes — environment provisions Bun first
  • GitHub Check: governance / JS runtimes — pnpm
  • GitHub Check: governance / Security policy checks
  • GitHub Check: Call CI Pipeline / Secret scanning / rust-secrets
  • GitHub Check: governance / Debt ratchet
  • GitHub Check: governance / Exemption ratchet
  • GitHub Check: Call CI Pipeline / Secret scanning / gitleaks
  • GitHub Check: governance / Guix packaging policy (Nix retired)
  • GitHub Check: governance / Workflow security linter
  • GitHub Check: governance / Trusted-base reduction policy
  • GitHub Check: Call CI Pipeline / Secret scanning / shell-secrets
  • GitHub Check: governance / Well-Known (RFC 9116 + RSR)
  • GitHub Check: governance / Language / package anti-pattern policy
  • GitHub Check: governance / Live Actions policy (credentialed advisory)
  • GitHub Check: governance / UUID v8 conformance
  • GitHub Check: governance / Actions lockfile verify
  • GitHub Check: governance / Allowlist Preflight
  • GitHub Check: governance / Code quality + docs
  • GitHub Check: governance / UUID v7 conformance
  • GitHub Check: Call CI Pipeline / Detect ecosystems
  • GitHub Check: Repo self-tests
  • GitHub Check: governance / Check Workflow Staleness
  • GitHub Check: Report non-canonical JSON (report-only)
  • GitHub Check: analyze-actions / analyze
  • GitHub Check: scan / rust-secrets
  • GitHub Check: ci / Detect mix.exs
  • GitHub Check: scan / gitleaks
  • GitHub Check: AffineScript Verify
  • GitHub Check: Detect proof changes
  • GitHub Check: K9-SVC contractile validation
  • GitHub Check: analyze-js / analyze
  • GitHub Check: scan / shell-secrets
  • GitHub Check: actions.lock is in sync with the workflow YAML
  • GitHub Check: Scan for hand-authored JavaScript/TypeScript
  • GitHub Check: uses ⊆ actions.lock
  • GitHub Check: Check Documentation Format
  • GitHub Check: Verify CLAIMS.a2ml + conformance
  • GitHub Check: Lockfile self-consistency
  • GitHub Check: Reject non-v8 UUID literals
  • GitHub Check: SPARK Theatre Gate
🔇 Additional comments: 1
docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc: 1

55-56: 🎯 Functional Correctness

The scoped check does not affect the changed file.

The only links are README.adoc and HANDOVER.adoc. Both resolve relative to the file's directory, so neither depends on the checkout-root fallback.

📝 Summary

Summary by CodeRabbit

  • Documentation
    • Updated the work orders with revised pre- and post-push check requirements, including how to record existing gate failures and confirm PR readiness.
    • Clarified that forge jobs report remote-probe failures but continue with the push.
    • Expanded guidance for archive exclusions and their validation and reporting.
    • Added or revised notes on platform support tiers, test execution, draft-file ownership decisions, and manifest-link repairs and baselines.

The work-order document moves to version 1.3.0. It updates session checks and requirements for destination probing, archive exclusions, test execution, draft disposition, and manifest-link repair.

Changes: Work-order revision

Layer / File(s) Summary
Session checks and runtime guidance
docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc
The document revises review coverage, link-rot checks and baselines, and PR readiness instructions. It records the Hypatia gate failure and updates the Deno status guidance.
WO-2 destination probe
docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc
The probe prints captured stderr and does not skip a push based on the probe result. The acceptance criteria reflect this behaviour.
WO-4 archive exclusions
docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc
The archive-exclusion work now covers check-package-policy.sh and the governance reusable’s optional pathspec. The document updates validation steps, archive counts, and acceptance criteria.
WO-5 through WO-7 instructions
docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc
The document updates the Bun test command, makes draft removal depend on owner decisions, and revises manifest-link findings, buckets, and baselines.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 7406a

The work-order updates clarify archive exclusions and scoped link checks. The inspected requirements establish neither the claimed archive gap nor false link failures, leaving no actionable merge risk.

### Architecture Summary

Architecture risk: 🔵 Low · up to 7406a

The change affects 1 system.

Changed systems: docs

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — docs (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc: The document version changes from v1.2.0 to v1.3.0.
  • observed — Modified behavior in docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc: The stated review coverage changes from the first two reviews to every review posted on the pull request.
  • observed — Modified behavior in docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc: The pre-push checklist now runs the repository-wide link-rot guard from a checkout named standards, compares its BROKEN count with the origin/main baseline of 443, and checks touched directories except the root and 9-archive/. It also requires locally runnable acceptance checks and revises the recorded historical count from 439 to 440 before #1272 added three links.
  • observed — Modified behavior in docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc: The session instructions add the known Hypatia gate failure caused by the actions.lock format, require recording it in the PR body without acknowledging it in the baseline, and defer the fix to Hypatia. PR readiness now requires locally runnable acceptance lines to be green and post-push results recorded, rather than requiring the entire acceptance block to be green first.
Pre-merge checks: Passed 5
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly identifies the work-order update and its review-driven context. It is specific and relevant to the changeset.
Description check Passed The description is detailed and directly explains the review findings, document updates, known failures, and acceptance checks.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7406ac7ddd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc Outdated
Comment thread docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc Outdated
Comment thread docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc Outdated
Comment thread docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc Outdated
Comment thread docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc Outdated
Five findings on 7406ac7, each verified against the tree:

- The Hypatia gate will not clear itself when hypatia merges its fix:
  both reusables pin `hypatia-ref` to a vetted SHA (51ab6496 in the
  governance reusable) and neither local caller overrides it, so the
  defaults must advance afterwards. The known-red paragraph says so and
  the pin bump is a new owner item.
- The repository-wide link-rot gate compares sets, not counts: save the
  guard's output before the first edit and require no new BROKEN line.
  Repairs (WO-7's three) show as removals, and a touched file may keep
  the old broken links it already had (ai-instruction's README has six).
- The package-policy exclusion is opt-in: one reusable input,
  `policy_exclude_dir`, feeds both the language block's pathspec and a
  `PKG_PRUNE_DIRS` hook in check-package-policy.sh, so the copy every
  other caller runs is unchanged.
- WO-6's `test ! -d .github/ISSUES` leaves the pre-push gate until the
  owner has disposed of all seven drafts; until then the gate is that the
  directory is untouched.
- WO-8's plan check allows the issue-triage rows that record Deno's
  history (#706, #919, #923) and forbids only live claims.

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 559d3a8e9d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc Outdated
…cess

Codex on 559d3a8: `diff … | grep '^>'` exits 1 when there is no added
line, which is the desired state, so as a pre-push gate it blocked every
compliant order. The three uses (session mechanics, WO-3, WO-7) now read
`! diff "$before" <(…) | grep -q '^>'`, exit 0 exactly when no new BROKEN
line exists; WO-7 counts its three repairs with `grep -c '^<'`. Proved
locally on synthetic output: unchanged 0, one repair 0, one new line 1.

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d5c7bbce3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc Outdated
Codex on 5d5c7bb: under `set -o pipefail` the gate
`! diff … | grep -q '^>'` returned 0 whether or not a new BROKEN line was
added, because diff's own exit 1 (the outputs differ) replaced grep's
verdict as the pipeline status, and WO-7's `diff … | grep -c '^<'`
printed the expected count but returned 1. All four uses (session
mechanics, WO-3, WO-7 twice) now wrap diff as
`{ diff … || true; }` so grep alone decides. Proved under pipefail on
synthetic output: unchanged 0, three repairs 0 (count 3, exit 0), one
new line 1, mixed 1; the same results without pipefail. The revision
line is bumped to v1.4.2 (v1.4.1 left it at v1.4.0).

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 15fb14d905

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc Outdated
Comment thread docs/reorg/2026-10-14-tidy/WORK-ORDERS-2026-10-19.adoc Outdated
…neutralised

Codex on 15fb14d, two findings, both verified against the tree:

WO-2: each forge job in mirror-reusable.yml ends in a notice-only
`Skipped (<FORGE>_SSH_KEY not configured)` step (seven in all) that runs
when the variable is true but the secret is empty, so the acceptance
claim "skipped by its variable or red" was false for that case. The
order now names it as the second legitimate skip and keeps it: the
reusable's own Radicle comment calls the secret the second switch, and
the regularisation design (line 107) counts 142 estate callers skipping
this way with the question marked OWNER?. Whether it should fail red is
a new owner item, with red labelled as the elegant arm and the reasons
for departing from it. Acceptance gains `grep -c 'not configured)' -> 7`.

WO-7: `bash scripts/link-rot-guard.sh . | grep '0-AI-MANIFEST'` returned
1 under pipefail even with the TOPOLOGY line found, because the guard
itself exits 1 at 440; it is now `{ … || true; } | grep …` (proved: old
form 1, new form 0).

Also found while re-reading WO-2's acceptance: `grep -c
'continue-on-error'` would count the comment at line 121, which the
order keeps because it names the owner action; the check is now anchored
to the key (`^[[:space:]]*continue-on-error:`), 2 on the tree today, 0
after the order.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T4U5XuN4NWs8FTxoe5PuH7
@hyperpolymath
hyperpolymath enabled auto-merge (squash) October 19, 2026 17:19
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath hyperpolymath changed the title docs(reorg): work orders v1.3.0 after the third and fourth reviews docs(reorg): work orders v1.4.3 after the reviews on #1298 and #1303 Oct 19, 2026
@hyperpolymath
hyperpolymath merged commit c314ddf into main Oct 19, 2026
48 of 50 checks passed
@hyperpolymath
hyperpolymath deleted the claude/eager-noether-1seyvi branch October 19, 2026 17:23

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a1e2f2cc9d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +54 to +55
`bash scripts/link-rot-guard.sh . > "$before" || true`, and the gate is
`! { diff "$before" <(bash scripts/link-rot-guard.sh . || true) || true; } |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Sort link-guard output before diffing it

When a work order adds or removes files—WO-3 creates three root files, for example—the filesystem traversal order used by the unsorted find loops in scripts/link-rot-guard.sh can change without changing the set of broken links. A normal diff then emits > lines for reordered existing findings, so this mandatory gate rejects an otherwise compliant push as if it introduced link rot. Sort both snapshots before comparing them, or otherwise perform an order-independent set comparison.

Useful? React with 👍 / 👎.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Add Carrot credits or activate Agent usage billing to use Autofix

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