Skip to content

refactor!: rename ResidualInfo to LineageResidual - #28

Merged
hyperpolymath merged 2 commits into
mainfrom
fix/lineage-residual-rename
Nov 14, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
fix/lineage-residual-rename

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Protoctist.jl's ResidualInfo (fields named_candidates, novel_ok, contaminated, note) and EpistemicTypes.jl's ResidualInfo (a per-row heuristic with different fields) are different types that share a name. Loading both packages made the name unusable: after using EpistemicTypes, Protoctist, ResidualInfo raised UndefVarError, because both export it and Julia refuses an ambiguous export.

This renames Protoctist's copy to LineageResidual, matching the LineageStandpoint, LineageWarrant and LineageProjection renames made for the same reason (#24). EpistemicTypes.jl owns the evidence vocabulary and keeps the name. The owner approved this rename. Fields and constructors are unchanged.

Breaking: anyone using Protoctist.ResidualInfo must switch to LineageResidual. A code search of the default branches visible on 2026-11-14 found no other repository using Protoctist's copy.

Changes

  • src/types.jl, src/Protoctist.jl, src/tree.jl: the type, its constructor, the export and re-export, and docstrings. The naming rationale at the top of types.jl now lists LineageResidual.
  • test/cases/types.jl, test/cases/tree.jl: the two uses.
  • README.adoc, docs/ARCHITECTURE.adoc, docs/EXPLAINME.adoc, docs/guide/glossary.adoc: renamed. EXPLAINME.adoc said the name still clashed; that sentence is removed.
  • CHANGELOG.adoc: a Breaking entry next to the earlier Lineage* one.
  • Not changed: docs/recovered/ (preserved design history), older changelog entries (they record what existed then), licences and SPDX headers, .a2ml files, CI workflows, rulesets and required checks.

RSR Quality Checklist

Required

  • Tests pass: Aqua 11 of 11 and behaviour 109 of 109 locally on Julia 1.11.5, the same counts as main. CI decides.
  • Code is formatted: JuliaFormatter 2 accepts every changed Julia file.
  • No banned language patterns
  • SPDX license headers present on all new/modified source files
  • No secrets, credentials, or .env files included

As Applicable

  • Documentation updated for user-facing changes
  • CHANGELOG or release notes updated
  • .machine_readable/descriptiles/*.a2ml: not edited, because A2ML is retired; none of them mention the name

Testing

Julia 1.11.5, run in a scratch environment that develops both packages:

  • Before (main): using EpistemicTypes, Protoctist then ResidualInfo gives UndefVarError: ResidualInfo not defined in Main.
  • After: LineageResidual(2, false, false) constructs from Protoctist, and the unqualified ResidualInfo resolves to EpistemicTypes.jl's, with no conflict.
  • Pkg.test(): Aqua 11 of 11, behaviour 109 of 109.

Known problems on main that this PR does not touch

main (864fd41) has red checks that predate this change: Canon lockstep (stale canon pin; the re-pin edits retired .a2ml), the Pages build (a missing upload-artifact record in actions.lock), and main-estate-audit (no jobs; cause not established). None of them involves this rename.

Merge only after the Test and governance checks on this head are green apart from those three. Squash is the safe method.


Generated by Claude Code

Protoctist.jl's ResidualInfo (named_candidates, novel_ok, contaminated,
note) and EpistemicTypes.jl's ResidualInfo (a per-row heuristic with
different fields) are different types that share a name. Loading both
packages made the name unusable: `using EpistemicTypes, Protoctist` then
`ResidualInfo` raised UndefVarError, because both export it and Julia
refuses an ambiguous export.

Rename Protoctist's copy to LineageResidual, matching the
LineageStandpoint, LineageWarrant and LineageProjection renames made for
the same reason. EpistemicTypes.jl owns the evidence vocabulary and
keeps the name. Fields and constructors are unchanged.

The live API, tests and docs are renamed. docs/recovered/ is the
preserved design history and the older changelog entries record what
existed then; both are left as they were. EXPLAINME.adoc said the name
still clashed; that paragraph now says it does not. A code search of the
default branches visible on 2026-11-14 found no other repository using
Protoctist's copy.

Verified locally with Julia 1.11.5: the clash reproduced on main and is
gone after; Pkg.test() passes (Aqua 11 of 11, behaviour 109 of 109, the
same as main); JuliaFormatter accepts every changed Julia file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZoXueEiNpcpgdeBR67
@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 42 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 627ee1a8-a4c9-44cd-a12a-222a5fb4d650
Commits

Reviewing files that changed from the base of the PR and between e21eb15 and 0efe9a9.

Files selected for processing: 10

  • CHANGELOG.adoc
  • README.adoc
  • docs/ARCHITECTURE.adoc
  • docs/EXPLAINME.adoc
  • docs/guide/glossary.adoc
  • src/Protoctist.jl
  • src/tree.jl
  • src/types.jl
  • test/cases/tree.jl
  • test/cases/types.jl

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Breaking Changes
    • Renamed the public ResidualInfo type and its constructor to LineageResidual. Existing code that uses ResidualInfo must be updated; the fields, constructor arguments and default note remain unchanged.
  • Documentation
    • Updated examples, reference material and glossary entries to use LineageResidual.

The exported ResidualInfo type and constructor are renamed to LineageResidual. Their fields and constructor behaviour remain unchanged. Examples, documentation, and tests now use the new name.

Changes: Residual type rename

Layer / File(s) Summary
Public type and export
src/types.jl, src/Protoctist.jl
The public type, its three-argument constructor, and the export are renamed to LineageResidual. The fields and constructor behaviour remain unchanged.
Repository references and documentation
README.adoc, docs/ARCHITECTURE.adoc, docs/EXPLAINME.adoc, docs/guide/glossary.adoc, src/tree.jl, test/cases/*, CHANGELOG.adoc
Examples, documentation, and tests use LineageResidual. The changelog records the rename and reported import ambiguity.

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

Change: Refactor

Suggested reviewers: claude

Merge Risk: Minimal · previous review e21eb

This renames ResidualInfo to LineageResidual to resolve a name clash with EpistemicTypes.jl. Users of Protoctist.ResidualInfo must switch to the new name, and the changelog documents this. No functional risk was found, and the failing repository-level checks predate this change.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the primary change: renaming the Protoctist.jl type ResidualInfo to LineageResidual. The summary, objectives, and diffs (types.jl, exports, docs, tests, changelog) all match this renam…
Description check Passed The description covers the summary, the reason for the rename (ambiguous export with EpistemicTypes.jl), the list of changes, the breaking-change note, and testing. Every required checklist item is pr…
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.
Full details: Title check

Explanation

The title names the primary change: renaming the Protoctist.jl type ResidualInfo to LineageResidual. The summary, objectives, and diffs (types.jl, exports, docs, tests, changelog) all match this rename. The title is concise and specific, and the refactor! prefix signals the breaking change.

Full details: Description check

Explanation

The description covers the summary, the reason for the rename (ambiguous export with EpistemicTypes.jl), the list of changes, the breaking-change note, and testing. Every required checklist item is present. The checklist is filled in with notes on what was and was not changed. The template's Changes section lists the files changed. The description is thorough and largely follows the template, although the HTML comments and the Screenshots section are not reproduced, and the Required checklist items are not all marked, which is acceptable because the author explains the test status.

  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 8af49c9c-65a6-4cd6-b042-3aa631b7be28
Commits

Reviewing files that changed from the base of the PR and between 864fd41 and e21eb15.

Files selected for processing: 10

  • CHANGELOG.adoc
  • README.adoc
  • docs/ARCHITECTURE.adoc
  • docs/EXPLAINME.adoc
  • docs/guide/glossary.adoc
  • src/Protoctist.jl
  • src/tree.jl
  • src/types.jl
  • test/cases/tree.jl
  • test/cases/types.jl

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: 7

  • GitHub Check: governance / Validate Hypatia Baseline
  • GitHub Check: CodeRabbit
  • GitHub Check: governance / Trusted-base reduction policy
  • GitHub Check: governance / Guix packaging policy (Nix retired)
  • GitHub Check: Static analysis (JET)
  • GitHub Check: Format (JuliaFormatter)
  • GitHub Check: semgrep-cloud-platform/scan
CI failures not shown inline: 9

GitHub Actions: Dogfood Gate / 1_Validate eclexiaiser manifest.txt: refactor!: rename ResidualInfo to LineageResidual

Conclusion: failure

View job details

##[group]Run if [ ! -f "eclexiaiser.toml" ]; then
 �[36;1mif [ ! -f "eclexiaiser.toml" ]; then�[0m
 �[36;1m  # Check if repo has a Containerfile — if so, recommend eclexiaiser�[0m
 �[36;1m  if [ -f "Containerfile" ]; then�[0m
 �[36;1m    echo "::warning::Containerfile present but no eclexiaiser.toml. Run \`eclexiaiser init\` to scaffold energy/carbon budgets."�[0m
 �[36;1m  fi�[0m
 �[36;1m  echo "has_manifest=false" >> "$GITHUB_OUTPUT"�[0m
 �[36;1m  exit 0�[0m
 �[36;1mfi�[0m
 �[36;1m�[0m
 �[36;1mecho "has_manifest=true" >> "$GITHUB_OUTPUT"�[0m
 �[36;1m�[0m
 �[36;1m# Validate eclexiaiser.toml structure (bash + grep; NO Python per estate policy).�[0m
 �[36;1m# Structural presence checks only — deep schema validation is eclexiaiser's own job.�[0m
 �[36;1merr=0�[0m
 �[36;1mgrep -qE '^[[:space:]]*\[project\]'        eclexiaiser.toml || { echo "::error file=eclexiaiser.toml::[project] section is required"; err=1; }�[0m
 �[36;1mgrep -qE '^[[:space:]]*name[[:space:]]*=[[:space:]]*"[^"]+"' eclexiaiser.toml || { echo "::error file=eclexiaiser.toml::a non-empty name is required"; err=1; }�[0m
 �[36;1mgrep -qE '^[[:space:]]*\[\[functions\]\]'  eclexiaiser.toml || { echo "::error file=eclexiaiser.toml::at least one [[functions]] entry is required"; err=1; }�[0m

GitHub Actions: Dogfood Gate / Validate eclexiaiser manifest: refactor!: rename ResidualInfo to LineageResidual

Conclusion: failure

View job details

##[group]Run if [ ! -f "eclexiaiser.toml" ]; then
 �[36;1mif [ ! -f "eclexiaiser.toml" ]; then�[0m
 �[36;1m  # Check if repo has a Containerfile — if so, recommend eclexiaiser�[0m
 �[36;1m  if [ -f "Containerfile" ]; then�[0m
 �[36;1m    echo "::warning::Containerfile present but no eclexiaiser.toml. Run \`eclexiaiser init\` to scaffold energy/carbon budgets."�[0m
 �[36;1m  fi�[0m
 �[36;1m  echo "has_manifest=false" >> "$GITHUB_OUTPUT"�[0m
 �[36;1m  exit 0�[0m
 �[36;1mfi�[0m
 �[36;1m�[0m
 �[36;1mecho "has_manifest=true" >> "$GITHUB_OUTPUT"�[0m
 �[36;1m�[0m
 �[36;1m# Validate eclexiaiser.toml structure (bash + grep; NO Python per estate policy).�[0m
 �[36;1m# Structural presence checks only — deep schema validation is eclexiaiser's own job.�[0m
 �[36;1merr=0�[0m
 �[36;1mgrep -qE '^[[:space:]]*\[project\]'        eclexiaiser.toml || { echo "::error file=eclexiaiser.toml::[project] section is required"; err=1; }�[0m
 �[36;1mgrep -qE '^[[:space:]]*name[[:space:]]*=[[:space:]]*"[^"]+"' eclexiaiser.toml || { echo "::error file=eclexiaiser.toml::a non-empty name is required"; err=1; }�[0m
 �[36;1mgrep -qE '^[[:space:]]*\[\[functions\]\]'  eclexiaiser.toml || { echo "::error file=eclexiaiser.toml::at least one [[functions]] entry is required"; err=1; }�[0m

GitHub Actions: Dogfood Gate / 2_🔴 GATE Empty-linter (invisible characters).txt: refactor!: rename ResidualInfo to LineageResidual

Conclusion: failure

View job details

##[group]Run RESULTS_FILE="$RUNNER_TEMP/empty-lint-results.bin"
 �[36;1mRESULTS_FILE="$RUNNER_TEMP/empty-lint-results.bin"�[0m
 �[36;1mBLOCKING_FILE="$RUNNER_TEMP/empty-lint-blocking-results.bin"�[0m
 �[36;1mif ! scripts/check-invisible-characters.sh \�[0m
 �[36;1m    "$GITHUB_WORKSPACE" "$RESULTS_FILE" "$BLOCKING_FILE"; then�[0m
 �[36;1m  echo "::error::Invisible-character scanner failed; refusing a partial pass"�[0m
...
 �[36;1m  SAFE_PATH="${REL_PATH//'%'/'%25'}"�[0m
 �[36;1m  SAFE_PATH="${SAFE_PATH//$'\r'/'%0D'}"�[0m
 �[36;1m  SAFE_PATH="${SAFE_PATH//$'\n'/'%0A'}"�[0m
 �[36;1m  SAFE_PATH="${SAFE_PATH//':'/'%3A'}"�[0m
 �[36;1m  SAFE_PATH="${SAFE_PATH//','/'%2C'}"�[0m
 �[36;1m  echo "::error file=${SAFE_PATH}::C0 control character or NUL byte detected"�[0m

GitHub Actions: Dogfood Gate / 🔴 GATE Empty-linter (invisible characters): refactor!: rename ResidualInfo to LineageResidual

Conclusion: failure

View job details

##[group]Run RESULTS_FILE="$RUNNER_TEMP/empty-lint-results.bin"
 �[36;1mRESULTS_FILE="$RUNNER_TEMP/empty-lint-results.bin"�[0m
 �[36;1mBLOCKING_FILE="$RUNNER_TEMP/empty-lint-blocking-results.bin"�[0m
 �[36;1mif ! scripts/check-invisible-characters.sh \�[0m
 �[36;1m    "$GITHUB_WORKSPACE" "$RESULTS_FILE" "$BLOCKING_FILE"; then�[0m
 �[36;1m  echo "::error::Invisible-character scanner failed; refusing a partial pass"�[0m
...
 �[36;1m  SAFE_PATH="${REL_PATH//'%'/'%25'}"�[0m
 �[36;1m  SAFE_PATH="${SAFE_PATH//$'\r'/'%0D'}"�[0m
 �[36;1m  SAFE_PATH="${SAFE_PATH//$'\n'/'%0A'}"�[0m
 �[36;1m  SAFE_PATH="${SAFE_PATH//':'/'%3A'}"�[0m
 �[36;1m  SAFE_PATH="${SAFE_PATH//','/'%2C'}"�[0m
 �[36;1m  echo "::error file=${SAFE_PATH}::C0 control character or NUL byte detected"�[0m

GitHub Actions: Dogfood Gate / 3_🟡 CHECK Groove manifest check.txt: refactor!: rename ResidualInfo to LineageResidual

Conclusion: failure

View job details

##[group]Run # Check for static or dynamic Groove endpoints
 �[36;1m# Check for static or dynamic Groove endpoints�[0m
 �[36;1mHAS_MANIFEST="false"�[0m
 �[36;1mHAS_GROOVE_CODE="false"�[0m
 �[36;1m�[0m
 �[36;1m# Canonical manifest location is www/.well-known/groove/ (issue #53);�[0m
 �[36;1m# the repository-root path is accepted, with a warning, during the�[0m
 �[36;1m# migration window.�[0m
 �[36;1mMANIFEST=""�[0m
 �[36;1mif [ -f "www/.well-known/groove/manifest.json" ]; then�[0m
 �[36;1m  MANIFEST="www/.well-known/groove/manifest.json"�[0m
 �[36;1melif [ -f ".well-known/groove/manifest.json" ]; then�[0m
 �[36;1m  MANIFEST=".well-known/groove/manifest.json"�[0m
 �[36;1m  echo "::warning::Groove manifest at legacy root .well-known/ — canonical location is www/.well-known/ (run scripts/migrate-wellknown-to-www.sh)"�[0m
 �[36;1mfi�[0m
 �[36;1m�[0m
 �[36;1mif [ -n "$MANIFEST" ]; then�[0m
 �[36;1m  HAS_MANIFEST="true"�[0m
 �[36;1m  # Validate the manifest JSON�[0m
 �[36;1m  if ! jq empty "$MANIFEST" 2>/dev/null; then�[0m
 �[36;1m    # Gate, don't annotate: an unparseable manifest is a real error,�[0m
 �[36;1m    # not a warning — same behaviour as the standalone�[0m
 �[36;1m    # groove-check.yml (this job had drifted to annotation-only,�[0m
 �[36;1m    # the class of "check that cannot fail" from nexia-list#49).�[0m
 �[36;1m    echo "::error file=$MANIFEST::Invalid JSON in Groove manifest"�[0m

GitHub Actions: Dogfood Gate / 🟡 CHECK Groove manifest check: refactor!: rename ResidualInfo to LineageResidual

Conclusion: failure

View job details

##[group]Run # Check for static or dynamic Groove endpoints
 �[36;1m# Check for static or dynamic Groove endpoints�[0m
 �[36;1mHAS_MANIFEST="false"�[0m
 �[36;1mHAS_GROOVE_CODE="false"�[0m
 �[36;1m�[0m
 �[36;1m# Canonical manifest location is www/.well-known/groove/ (issue #53);�[0m
 �[36;1m# the repository-root path is accepted, with a warning, during the�[0m
 �[36;1m# migration window.�[0m
 �[36;1mMANIFEST=""�[0m
 �[36;1mif [ -f "www/.well-known/groove/manifest.json" ]; then�[0m
 �[36;1m  MANIFEST="www/.well-known/groove/manifest.json"�[0m
 �[36;1melif [ -f ".well-known/groove/manifest.json" ]; then�[0m
 �[36;1m  MANIFEST=".well-known/groove/manifest.json"�[0m
 �[36;1m  echo "::warning::Groove manifest at legacy root .well-known/ — canonical location is www/.well-known/ (run scripts/migrate-wellknown-to-www.sh)"�[0m
 �[36;1mfi�[0m
 �[36;1m�[0m
 �[36;1mif [ -n "$MANIFEST" ]; then�[0m
 �[36;1m  HAS_MANIFEST="true"�[0m
 �[36;1m  # Validate the manifest JSON�[0m
 �[36;1m  if ! jq empty "$MANIFEST" 2>/dev/null; then�[0m
 �[36;1m    # Gate, don't annotate: an unparseable manifest is a real error,�[0m
 �[36;1m    # not a warning — same behaviour as the standalone�[0m
 �[36;1m    # groove-check.yml (this job had drifted to annotation-only,�[0m
 �[36;1m    # the class of "check that cannot fail" from nexia-list#49).�[0m
 �[36;1m    echo "::error file=$MANIFEST::Invalid JSON in Groove manifest"�[0m

GitHub Actions: Dogfood Gate / 4_Canon lockstep.txt: refactor!: rename ResidualInfo to LineageResidual

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1mLOCK="$RUNNER_TEMP/canon.lock"�[0m
 �[36;1mURL="https://raw.githubusercontent.com/metadatastician/standards/main/canon.lock"�[0m
 �[36;1mif ! curl -fsSL --retry 3 --max-time 30 "$URL" -o "$LOCK"; then�[0m
 �[36;1m  echo "::error::could not fetch canon.lock from $URL"�[0m
...
 �[36;1m  END { print rec }' "$LOCK")"�[0m
 �[36;1mwant="$(printf '%s\n' "$rec" \�[0m
 �[36;1m  | grep -oE 'sha256[[:space:]]*=[[:space:]]*"[0-9a-f]{64}"' \�[0m
 �[36;1m  | grep -oE '[0-9a-f]{64}' | head -1)"�[0m
 �[36;1mif [ -z "$want" ]; then�[0m
 �[36;1m  echo "::error::canon.lock carries no criteria sha256 — malformed, or"�[0m
...
 ##[group]Run set -euo pipefail
...
 �[36;1m  if curl -fsSL --retry 3 --max-time 30 "$URL" -o "$PROFILE" 2>/dev/null; then�[0m
 �[36;1m    fetched="$p"; break�[0m
 �[36;1m  fi�[0m
 �[36;1mdone�[0m
 �[36;1mif [ -z "$fetched" ]; then�[0m
 �[36;1m  echo "::error::no rsr-profile.a2ml at ${HEAD_SHA:0:7} — this repo cannot declare a canon pin"�[0m
...
 �[36;1m# empty string, and `"" = ""` is a green build with nothing behind it —�[0m
 �[36;1m# the same class of bug as this job reading a file that was never there.�[0m
 �[36;1mfor pair in "want_crit:$want_crit" "want_gates:$want_gates" "want_ver:$want_ver" \�[0m
 �[36;1m            "got_crit:$got_crit" "got_gates:$got_gates" "got_ver:$got_ver"; do�[0m
 �[36;1m  if [ -z "${pair#*:}" ]; then�[0m
 �[36;1m    echo "::error::could not read ${pair%%:*} — refusing to compare an empty value"�[0m
...
 �[36;1m} >> "$GITHUB_STEP_SUMMARY"�[0m
 �[36;1mif [ "$ok" = "1" ]; then�[0m
 �[36;1m  echo ":white_check_mark: Declared canon identity matches canon.lock."�[0m
 �[36;1m  exit 0�[0m
 �[36;1mfi�[0m
 �[36;1mecho "::error::canon identity mismatch: version expected=$want_ver declared=$got_ver"�[0m
 �[36;1mecho "::error::criteria_sha256 expected=$want_crit declared=$got_crit"�[0m
 �[36;1mecho "::error::gates_sha256 expected=$want_gates declared=$got_gates"�[0m
...
 env:...

GitHub Actions: Dogfood Gate / Canon lockstep: refactor!: rename ResidualInfo to LineageResidual

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1mLOCK="$RUNNER_TEMP/canon.lock"�[0m
 �[36;1mURL="https://raw.githubusercontent.com/metadatastician/standards/main/canon.lock"�[0m
 �[36;1mif ! curl -fsSL --retry 3 --max-time 30 "$URL" -o "$LOCK"; then�[0m
 �[36;1m  echo "::error::could not fetch canon.lock from $URL"�[0m
...
 �[36;1m  END { print rec }' "$LOCK")"�[0m
 �[36;1mwant="$(printf '%s\n' "$rec" \�[0m
 �[36;1m  | grep -oE 'sha256[[:space:]]*=[[:space:]]*"[0-9a-f]{64}"' \�[0m
 �[36;1m  | grep -oE '[0-9a-f]{64}' | head -1)"�[0m
 �[36;1mif [ -z "$want" ]; then�[0m
 �[36;1m  echo "::error::canon.lock carries no criteria sha256 — malformed, or"�[0m

GitHub Actions: Dogfood Gate / Canon lockstep: refactor!: rename ResidualInfo to LineageResidual

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1mPROFILE="$RUNNER_TEMP/rsr-profile.a2ml"�[0m
 �[36;1mfetched=""�[0m
 �[36;1mfor p in ".machine_readable/rsr-profile.a2ml" "machine-readable/rsr-profile.a2ml"; do�[0m
 �[36;1m  URL="https://raw.githubusercontent.com/hyperpolymath/Protoctist.jl/${HEAD_SHA}/${p}"�[0m
 �[36;1m  if curl -fsSL --retry 3 --max-time 30 "$URL" -o "$PROFILE" 2>/dev/null; then�[0m
 �[36;1m    fetched="$p"; break�[0m
 �[36;1m  fi�[0m
 �[36;1mdone�[0m
 �[36;1mif [ -z "$fetched" ]; then�[0m
 �[36;1m  echo "::error::no rsr-profile.a2ml at ${HEAD_SHA:0:7} — this repo cannot declare a canon pin"�[0m
...
 �[36;1m# empty string, and `"" = ""` is a green build with nothing behind it —�[0m
 �[36;1m# the same class of bug as this job reading a file that was never there.�[0m
 �[36;1mfor pair in "want_crit:$want_crit" "want_gates:$want_gates" "want_ver:$want_ver" \�[0m
 �[36;1m            "got_crit:$got_crit" "got_gates:$got_gates" "got_ver:$got_ver"; do�[0m
 �[36;1m  if [ -z "${pair#*:}" ]; then�[0m
 �[36;1m    echo "::error::could not read ${pair%%:*} — refusing to compare an empty value"�[0m
...
 �[36;1m} >> "$GITHUB_STEP_SUMMARY"�[0m
 �[36;1mif [ "$ok" = "1" ]; then�[0m
 �[36;1m  echo ":white_check_mark: Declared canon identity matches canon.lock."�[0m
 �[36;1m  exit 0�[0m
 �[36;1mfi�[0m
 �[36;1mecho "::error::canon identity mismatch: version expected=$want_ver declared=$got_ver"�[0m
 �[36;1mecho "::error::criteria_sha256 expected=$want_crit declared=$got_crit"�[0m
 �[36;1mecho "::error::gates_sha256 expected=$want_gates declared=$got_gates"�[0m
...
 env:
   WANT: ***REDACTED_HIGH_ENTROPY_STRING***
   HEAD_SHA: e21eb15193cd1c16f55ba604e865627667da3a47
 ##[endgroup]
 profile: .machine_readable/rsr-profile.a2ml @ e21eb15
 ##[error]canon identity mismatch: version expected=2.1.5 declared=2.1.3
 ##[error]criteria_sha256 expected=***REDACTED_HIGH_ENTROPY_STRING*** declared=***REDACTED_HIGH_ENTROPY_STRING***
 ##[error]gates_sha256 expecte...

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 14, 2026 09:13
@chatgpt-codex-connector

This comment was marked as low quality.

Repository owner deleted a comment from chatgpt-codex-connector Bot Nov 14, 2026
@hyperpolymath
hyperpolymath merged commit eb17374 into main Nov 14, 2026
60 checks passed
@hyperpolymath
hyperpolymath deleted the fix/lineage-residual-rename branch November 14, 2026 18:05
@sonarqubecloud

Copy link
Copy Markdown

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.

3 participants