From 13e9070c20446bfe61c9fb9cc416a2296bfcc424 Mon Sep 17 00:00:00 2001 From: hamid-arian Date: Tue, 25 Aug 2026 22:58:09 -0400 Subject: [PATCH] Correct Julia 1.0.0 registry tree contract --- PACKAGE_FILES.json | 65 +++++++++++++++++++++++++++++++++++++ PACKAGE_INSPECTION.md | 27 ++++++++++----- RELEASE_NOTES_NEXT_MAJOR.md | 4 ++- 3 files changed, 86 insertions(+), 10 deletions(-) diff --git a/PACKAGE_FILES.json b/PACKAGE_FILES.json index 56743b6..1556c96 100644 --- a/PACKAGE_FILES.json +++ b/PACKAGE_FILES.json @@ -193,6 +193,71 @@ "test/preserved_runtests.jl", "test/runtests.jl" ], + "preserved_repository_only_file_count": 60, + "preserved_repository_only_files": [ + "_superseded/README.md", + "_superseded/src/Backtests/BacktestStatistics.jl", + "_superseded/src/Backtests/BacktestSyntheticData.jl", + "_superseded/src/Backtests/StrategyRisk.jl", + "_superseded/src/Backtests/TestSetOverfitting.jl", + "_superseded/src/BetSize/MixtureModel.jl", + "_superseded/src/Calibration/HyperParameterTuning.jl", + "_superseded/src/Controller/all.jl", + "_superseded/src/Controller/bars_initializer.jl", + "_superseded/src/Controller/data_structure_controller.jl", + "_superseded/src/Data/Structures/DataStructuresLopez.jl", + "_superseded/src/Differentiation/Differentiation.jl", + "_superseded/src/Ensemble/BaggingClassifierAccuracy.jl", + "_superseded/src/Features/BekkerParkinsonVolatilityEstimator.jl", + "_superseded/src/Features/ClusteredMeanDecreaseAccuracy.jl", + "_superseded/src/Features/ClusteredMeanDecreaseImpurity.jl", + "_superseded/src/Features/Clustering.jl", + "_superseded/src/Features/CorwinSchultz.jl", + "_superseded/src/Features/DistanceMetric.jl", + "_superseded/src/Features/Entropy.jl", + "_superseded/src/Features/GenerateSyntheticData.jl", + "_superseded/src/Features/MeanDecreaseAccuracy.jl", + "_superseded/src/Features/MeanDecreaseImpurity.jl", + "_superseded/src/Features/OrthogonalFeatures.jl", + "_superseded/src/Features/SingleFeatureImportance.jl", + "_superseded/src/Features/StructuralBreaks/StructuralBreaks.jl", + "_superseded/src/Features/WeightedTau.jl", + "_superseded/src/HPC/HPC.jl", + "_superseded/src/Models/HyperParameterTuning.jl", + "_superseded/src/Optimization/DistanceFromCorrelation.jl", + "_superseded/src/Optimization/HRP.jl", + "_superseded/src/Optimization/NCO.jl", + "_superseded/src/Optimization/QuasiDiagonal.jl", + "_superseded/src/Risk/StrategyRisk.jl", + "_superseded/src/Utils/RollingFunctions.jl", + "_superseded/src/Utils/VectorFunctions.jl", + "_superseded/src/Validation/BacktestPathNumber.jl", + "_superseded/src/Validation/CalculateEmbargoTimes.jl", + "_superseded/src/Validation/CrossValidationScore.jl", + "_superseded/src/Validation/CrossValidationScore2.jl", + "_superseded/src/Validation/PurgedKFold.jl", + "_superseded/src/Validation/PurgedKFoldCombinatorial.jl", + "_superseded/src/Validation/PurgedKFoldCombinatorialSplit.jl", + "_superseded/src/Validation/PurgedKFoldCombinatorialSplit2.jl", + "_superseded/src/Validation/PurgedKFoldCombinatorialStacked.jl", + "_superseded/src/Validation/PurgedKFoldSplit.jl", + "_superseded/src/Validation/PurgedKFoldStacked.jl", + "_superseded/src/Validation/PurgedKFoldStackedSplit.jl", + "_superseded/src/Validation/purgeTrainingTimes.jl", + ".github/workflows/CompatHelper.yml", + ".github/workflows/TagBot.yml", + ".gitignore", + "CHANGELOG.md", + "docs/.gitignore", + "docs/make.jl", + "docs/Project.toml", + "docs/src/index.md", + "LICENSE.txt", + "PARITY.md", + "RECONSTRUCTION_PLAN.md" + ], + "registered_tree_file_count": 148, + "registered_tree_policy": "The Julia registry tree is the exact union of release_source_files and preserved_repository_only_files. Repository-only files remain unimported and are not part of the public runtime API.", "runtime_source_file_count": 63, "runtime_source_files": [ "src/Backtest/Backtest.jl", diff --git a/PACKAGE_INSPECTION.md b/PACKAGE_INSPECTION.md index 973ff9b..ee32b6e 100644 --- a/PACKAGE_INSPECTION.md +++ b/PACKAGE_INSPECTION.md @@ -13,11 +13,18 @@ normalization collisions, duplicate paths, links, reparse points, special files, caches, compiled output, manifests, credentials, or any undeclared member. -The inspected tree must contain exactly the 88 declared RiskLabAI 1.0.0 release -members, including the governed `.github/workflows/CI.yml`. Its package name -and existing UUID must be unchanged. The canonical BSD-3-Clause license, -maintainer and contact, repository, issue, documentation, and version records -must agree with the reviewed metadata contract. +The inspected registry tree must contain exactly 148 tracked files: the 88 +intended release-source members and the 60 preserved repository-only members +declared separately in `PACKAGE_FILES.json`. The latter retain already-public +history, documentation infrastructure, and superseded source paths without +deleting them. They must not be included, imported, or referenced by the +active `src`, `ext`, or test load graph, and they do not enlarge the public +runtime API. + +The package name and existing UUID must be unchanged. The canonical +BSD-3-Clause license, maintainer and contact, repository, issue, +documentation, and version records must agree with the reviewed metadata +contract. `PACKAGE_IDENTITY.json` must remain absent from the registry tree. ## Dependency and extension behavior @@ -41,8 +48,10 @@ installed and loaded, then verify the four numerical Deep-BSDE assertions. ## Final review -Scan every member name and every decoded public text member against the release -hygiene denylist. Record the tree hash, member hashes, resolved dependency -versions, module origins, test results, and every deviation. Any deviation -keeps the package rejected. Human registration, release, publication, and +Scan every member name and every decoded public text member, including the 60 +preserved repository-only members, against the release hygiene denylist. +Verify that no preserved path is reachable from an active `include`, `using`, +or `import`. Record the tree hash, member hashes, resolved dependency versions, +module origins, test results, and every deviation. Any deviation keeps the +package rejected. Human registration, release, publication, and version-control authority remain separate decisions after inspection. diff --git a/RELEASE_NOTES_NEXT_MAJOR.md b/RELEASE_NOTES_NEXT_MAJOR.md index 6390bbc..15c9a4e 100644 --- a/RELEASE_NOTES_NEXT_MAJOR.md +++ b/RELEASE_NOTES_NEXT_MAJOR.md @@ -24,7 +24,9 @@ add Lux, Optimisers, and Zygote. The governed workflow also pins JuliaFormatter No source-conflicted causal result is admitted. The static Project metadata, 63-file source inventory, 12-file package-scoped test inventory, public API inventory, documentation, examples, dependency extension, governed CI -workflow, and 88-file intended package-tree list are frozen. No package +workflow, and 88-file intended release-source list are frozen. The registry +tree also preserves 60 already-public repository-only files; they are not +loaded by the active package and do not alter its runtime API. No package artifact has been created. Future artifact inspection and separate human authorization for version-control, registration, publication, and release remain blocked.