[Autoloop: python-to-go-migration]#43
Draft
github-actions[bot] wants to merge 12 commits into
Draft
Conversation
…targets, deps/lockfile, install/local_bundle_handler Run: https://github.com/githubnext/apm/actions/runs/25844894761 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…late, runtime/factory, marketplace/registry, marketplace/git_stderr (+588 lines, 24.38%) Run: https://github.com/githubnext/apm/actions/runs/25847876982 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…pdate_policy, output/models, prompt_integrator, instruction_integrator) +893 lines Run: https://github.com/githubnext/apm/actions/runs/25851449671 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…tor, agent_integrator, utils Migrated 3 modules: - integration/base_integrator.py (562 lines) -> internal/integration/baseintegrator/ - integration/agent_integrator.py (606 lines) -> internal/integration/agentintegrator/ - integration/utils.py (46 lines) -> already in intutils (counted) Total: +1214 Python lines migrated. Metric: 27.32 (was 25.62, delta: +1.70) Run: https://github.com/githubnext/apm/actions/runs/25854672963 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
… command integrators (+3359 Python lines) Run: https://github.com/githubnext/apm/actions/runs/25857101991 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
…er and models/validation Migrate 2 Python modules to Go: - src/apm_cli/core/command_logger.py (751 lines) -> internal/core/commandlogger - src/apm_cli/models/validation.py (800 lines) -> internal/models/validation Total new lines: +1551 Python lines migrated. Metric: 34.17% (previous: 32.00%, delta: +2.17%) commandlogger: CommandLogger and InstallLogger with full lifecycle methods (start, progress, success, error, warning, verbose, policy violation logging, install summary). Delegates to console package. validation: PackageType/PackageContentType enums, ValidationResult, DetectionEvidence, GatherDetectionEvidence, DetectPackageType, and ValidateAPMPackage with all 7 detection-cascade cases. Includes test suite (6 tests pass). Run: https://github.com/githubnext/apm/actions/runs/25859136824 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
…tion, apm_package, marketplace/ymlschema (+1953 lines) Run: https://github.com/githubnext/apm/actions/runs/25861743202 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Python-to-Go Migration Progress
This PR accumulates all accepted iterations of the incremental Python-to-Go migration of the APM CLI.
Program goal: Rewrite the APM CLI from Python to Go, one module at a time, tracking migration progress as a percentage of original Python source lines replaced by working Go code.
Current best metric: 25.62% of original Python lines migrated
Program issue: #3
Latest iteration (38)
Migrated 4 modules (+893 Python lines):
src/apm_cli/update_policy.py(50 lines) ->internal/updatepolicy/src/apm_cli/output/models.py(136 lines) ->internal/output/models/src/apm_cli/integration/prompt_integrator.py(228 lines) ->internal/integration/promptintegrator/src/apm_cli/integration/instruction_integrator.py(479 lines) ->internal/integration/instructionintegrator/All packages use stdlib-only Go. The instruction integrator includes a test suite covering cursor/claude/windsurf format transforms.
[!] This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.