Repository navigation
refactor!: rename ResidualInfo to LineageResidual - #28
Conversation
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
|
Warning Review limit reachedYou'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. View limit details
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
This comment was marked as low quality.
This comment was marked as low quality.
|



Summary
Protoctist.jl's
ResidualInfo(fieldsnamed_candidates,novel_ok,contaminated,note) and EpistemicTypes.jl'sResidualInfo(a per-row heuristic with different fields) are different types that share a name. Loading both packages made the name unusable: afterusing EpistemicTypes, Protoctist,ResidualInforaisedUndefVarError, because both export it and Julia refuses an ambiguous export.This renames Protoctist's copy to
LineageResidual, matching theLineageStandpoint,LineageWarrantandLineageProjectionrenames 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.ResidualInfomust switch toLineageResidual. 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 oftypes.jlnow listsLineageResidual.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.adocsaid the name still clashed; that sentence is removed.CHANGELOG.adoc: a Breaking entry next to the earlierLineage*one.docs/recovered/(preserved design history), older changelog entries (they record what existed then), licences and SPDX headers,.a2mlfiles, CI workflows, rulesets and required checks.RSR Quality Checklist
Required
main. CI decides..envfiles includedAs Applicable
CHANGELOGor release notes updated.machine_readable/descriptiles/*.a2ml: not edited, because A2ML is retired; none of them mention the nameTesting
Julia 1.11.5, run in a scratch environment that develops both packages:
main):using EpistemicTypes, ProtoctistthenResidualInfogivesUndefVarError: ResidualInfo not defined in Main.LineageResidual(2, false, false)constructs from Protoctist, and the unqualifiedResidualInforesolves to EpistemicTypes.jl's, with no conflict.Pkg.test(): Aqua 11 of 11, behaviour 109 of 109.Known problems on
mainthat this PR does not touchmain(864fd41) has red checks that predate this change:Canon lockstep(stale canon pin; the re-pin edits retired.a2ml), the Pagesbuild(a missingupload-artifactrecord inactions.lock), andmain-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