Skip to content

Phase 8: Final integration, QA, release hardening, and evidence #165

Closed

Description

@suraj-ranganath

🤖 Phase 8 closes the final standalone parity epic with integration evidence and release hardening.

Summary

After Phases 1-7 merge, perform the final integration pass. This phase should make the epic mergeable as the project-level completion of EEGPrep's EEGLAB standalone parity work.

Scope

  • Pull the latest epic branch and resolve cross-phase integration conflicts from first principles.
  • Run full lint/type/test/docs/parity/visual/GUI-flow QA.
  • Audit runtime independence from src/eegprep/eeglab.
  • Audit public API exports, help resources, docs links, package data, and menu inventory.
  • Run adversarial code review and fix real findings.
  • Prepare final PR evidence: phase issue/PR list, feature summary, docs summary, visual parity attachments, test results, accepted non-goals.

Acceptance Criteria

  • No remaining non-stale final-epic matrix row is unimplemented or unclassified.
  • No runtime code depends on vendored EEGLAB source.
  • GUI, console, and Python API work together across sample end-to-end workflows.
  • Final branch passes:
    • uv run --no-sync ruff check .
    • uv run --no-sync ruff format --check .
    • uv run --no-sync ty check
    • EEGPREP_SKIP_MATLAB=1 uv run --no-sync pytest -m "not slow"
    • MATLAB-enabled parity suite where available
    • docs build
    • visual parity suite for GUI changes
    • GUI Agent mixed workflow QA
    • ./pre-commit.py --changed-from origin/develop
  • Final epic PR clearly states it is stacked on PR [Parity] Complete remaining EEGLAB core gaps #152 if [Parity] Complete remaining EEGLAB core gaps #152 has not merged yet.

Required References

  • AGENTS.md
  • .agents/skills/github-pr-review/SKILL.md
  • .agents/skills/oc-autoreview-adapted/SKILL.md
  • .agents/skills/pull-request/SKILL.md
  • .agents/skills/gui-agent-flow-qa/SKILL.md

/goal

/goal Close out the final EEGPrep standalone EEGLAB parity epic. Integrate all phase PRs, resolve conflicts from first principles, verify runtime independence from vendored EEGLAB, run lint/type/non-slow tests/MATLAB parity/docs build/visual parity/GUI Agent mixed workflows, perform adversarial review, fix real findings, update final docs and matrices, and prepare a complete epic PR to origin/develop with phase links, feature summaries, visual evidence, verification results, and explicit accepted non-goals. Do not merge or open the final PR until all phase evidence is complete.

Activity

  1. added
    phase
    on Jun 7, 2026
  2. claude commented on Jun 7, 2026

    @claude
    Contributor

    🤖 Plan:

    • Actionability check
    • Duplicate-work preflight (open PRs, phase branches, epic branch SHA)
    • Map prerequisites and current state
    • Implementation — blocked, see analysis

    Research

    This is the closeout meta-issue for epic #157, not a self-contained bug. Per its own acceptance criteria it integrates Phases 1-7 (#158–#164) and is stacked on PR #152. Today the prerequisites are not met:

    Relevant code/refs

    Proposed Approach

    Do not open a PR now. Phase 8 is gated on Phases 1-7 plus #152. Suggested sequencing for whoever picks this up:

    1. Wait for / drive [Parity] Complete remaining EEGLAB core gaps #152 to merge into develop, then rebase feature/eeglab-full-standalone-completion on the updated develop (or keep it stacked while [Parity] Complete remaining EEGLAB core gaps #152 is open and rebase later — the epic plan in Epic: Complete EEGPrep standalone EEGLAB parity and documentation #157 allows either).
    2. Land Phases 1-7 PRs onto feature/eeglab-full-standalone-completion per the merge order in Epic: Complete EEGPrep standalone EEGLAB parity and documentation #157. Phase 1 (Phase 1: Remaining-work audit expansion, runtime contract, and docs architecture #158) must merge first because it defines the expanded parity matrix, runtime-independence contract, and docs architecture that Phase 8 validates.
    3. Only after Phase 1: Remaining-work audit expansion, runtime contract, and docs architecture #158–Phase 7: EEGLAB-style Sphinx documentation and tutorials #164 are merged, open phase/8-final-integration-evidence off feature/eeglab-full-standalone-completion and do the closeout work:
      • Resolve cross-phase integration conflicts from first principles (not by reverting either side).
      • Audit runtime independence: grep -rE "src/eegprep/eeglab|eeglab\.functions" src/eegprep must be empty outside dev/test paths; package import test with src/eegprep/eeglab renamed away.
      • Run the gauntlet from Phase 8: Final integration, QA, release hardening, and evidence #165's acceptance criteria: ruff check, ruff format --check, ty check, EEGPREP_SKIP_MATLAB=1 pytest -m "not slow", MATLAB parity where available, docs build, visual parity suite, GUI Agent mixed-workflow QA, ./pre-commit.py --changed-from origin/develop.
      • Audit public API exports (src/eegprep/__init__.py), packaged help resources (src/eegprep/resources/help/*.md), docs links, package data, and menu_placeholders.py inventory.
      • Adversarial review via .agents/skills/oc-autoreview-adapted/; fix real findings.
      • Assemble final PR evidence per the PR [Parity] Complete remaining EEGLAB core gaps #152 template (phase issue/PR list, feature summaries, visual parity attachments via gh attach --comment, test results, accepted non-goals). Final PR targets develop and uses Fixes #165 plus Closes #157, #158, …, #164.
      • State explicitly in the PR body whether it stacks on [Parity] Complete remaining EEGLAB core gaps #152 (still open) or develop (after [Parity] Complete remaining EEGLAB core gaps #152 merges).

    This issue is well-specified — the blocker is sequencing, not ambiguity. I am stopping here rather than guessing at intent or doing partial work that would conflict with the actual Phase 1-7 PRs when they arrive.

  3. suraj-ranganath commented on Jun 7, 2026

    @suraj-ranganath
    MemberAuthor

    🤖 # Research

    Phases 1-7 are now merged into feature/eeglab-full-standalone-completion through PRs #166, #171, #169, #170, #168, #167, and #172. The final matrix validator is present and runtime dependency scans found no direct installed-package import/path dependency on src/eegprep/eeglab, but docs/parity/eeglab_final_parity_matrix.json still has six Phase 7 docs_gap rows after the Sphinx manual landed.

    Relevant code

    • docs/parity/eeglab_final_parity_matrix.json - final epic matrix
    • tools/eeglab_final_parity_matrix.py - matrix validator
    • tests/test_eeglab_final_parity_matrix.py - validator regressions
    • docs/source/user_guide/interactive_console.rst - history/console tutorial
    • docs/source/user_guide/study_workflows.rst - STUDY/DIPFIT/PAC docs

    Proposed Fix

    Update the final matrix so completed Phase 7 documentation rows are implemented, add closeout evidence for issue/PR links, runtime independence, accepted non-goals, and verification, then run lint/type/tests/docs/visual/GUI-flow QA as the environment allows. Any real findings from validation, GUI-flow QA, or autoreview will be fixed on phase/165-final-integration-release-hardening before opening the phase PR.

  4. suraj-ranganath commented on Jun 7, 2026

    @suraj-ranganath
    MemberAuthor

    🤖 Phase 8 PR #173 has merged into feature/eeglab-full-standalone-completion. The final closeout evidence is now integrated on the epic branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions