Skip to content

feat: route profiling decisions through the project catalogue - #478

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/profiling-catalogue-routing
Oct 6, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/profiling-catalogue-routing

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Profiling decisions now read the project's versioned source catalogue instead of assuming the script directory layout or scraping sweep CELLS. Legacy producers retain an explicit AST fallback; invalid new catalogues fail with unknown coverage.

Scripts Changed

  • _catalogue.py validates local catalogue/script_routes.json or the published v2 catalogue's route extension without scientific imports. It checks identities, paths, duplicates, cell references and compile capability, and reports the routing source/digest.
  • _profiling.py keeps historical cell/output identities, CPU timeout policy and separate runtime/compile coverage. Missing local sources suppress dispatch. Compile dispatch uses its declared probe path and is suppressed for unavailable/unknown builders.
  • Profiling agent/skill documentation and regression tests describe source routing, fallback, archive qualification and unchanged ownership boundaries.

Archive presence remains unreviewed coverage, not baseline acceptance or current-performance evidence. No profiling commands are executed, baselines accepted, pins moved or temporal charts restored.

Validation

  • 48 profiling conductor tests pass, including legacy/new/published producers, malformed and unsafe routes, missing sources, alternate compile probe dispatch, CPU cap and archive qualification.
  • Integration against both project main and the Phase 4 worktree preserves every runtime coverage/usability/dispatch field and resolves 22 runtime grid cells without imports; the retired generic compile builder is explicitly unavailable and emits no commands.
  • Independent Sol review: CLEAN after fixing the declared compile-probe path/availability finding.
  • Tenant firewall, discovery and syntax checks pass. Full Brain suite: 1,230 passed. The final targeted suite includes the added compile-path regression (48 passed). Skill line-count report has existing unrelated over-budget skills.

Companion project migration: PyAutoLabs/autolens_profiling#381. This reader remains compatible with pre-migration project main, allowing separate rollout.

Heart: STALE — release validation stale: source moved since rehearsal (PyAutoNerves). Current policy permits development shipping; release remains blocked. No historical override or merge authority is used. Human merge required.

Closes #477.

@Jammy2211
Jammy2211 merged commit fb82b9d into main Oct 6, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/profiling-catalogue-routing branch October 6, 2026 08:36
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.

feat: route profiling decisions through the project catalogue

1 participant