Skip to content

Vendor KernelForge in-tree as Hyperloom's built-in kernel-opt agent - #1338

Merged
ZhengGong-amd merged 58 commits into
mainfrom
feature/xiaofei/inline-kernelforge
Aug 29, 2026
Merged

Vendor KernelForge in-tree as Hyperloom's built-in kernel-opt agent#1338
ZhengGong-amd merged 58 commits into
mainfrom
feature/xiaofei/inline-kernelforge

refactor(forge): name the tier3 sign-off field for the signature

3873e91
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Aug 29, 2026 in 5s

42 new alerts

New alerts in code changed by this pull request

  • 6 warnings
  • 36 notes

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 544 in src/kernelforge/knowledge/remote_exp/kb_store_client.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'target' is unnecessary as it is
redefined
before this value is used.

Check warning on line 866 in src/kernelforge/loop/run_state.py

See this annotation in the file changed.

Code scanning / CodeQL

File is not always closed Warning

File may not be closed if
this operation
raises an exception.
File may not be closed if
this operation
raises an exception.
File may not be closed if
this operation
raises an exception.
File may not be closed if
this operation
raises an exception.

Check warning on line 158 in src/kernelforge/data/examples/mori_ep_dispatch_combine/driver.py

See this annotation in the file changed.

Code scanning / CodeQL

Unreachable code Warning

This statement is unreachable.

Check warning on line 3631 in src/kernelforge/loop/runner.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to '_scored_case_ids' is unnecessary as it is
redefined
before this value is used.

Check warning on line 1047 in src/kernelforge/loop/task_preparer.py

See this annotation in the file changed.

Code scanning / CodeQL

Implicit string concatenation in a list Warning

Implicit string concatenation. Maybe missing a comma?

Check warning on line 1456 in src/kernelforge/loop/task_preparer.py

See this annotation in the file changed.

Code scanning / CodeQL

Implicit string concatenation in a list Warning

Implicit string concatenation. Maybe missing a comma?

Check notice on line 420 in src/kernelforge/llm/process_reaping.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused global variable Note

The global variable '_spawns_tracked' is not used.

Check notice on line 1297 in src/kernelforge/loop/task_preparer.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 52 in src/kernelforge/rewrite_by_flydsl/agent_kb.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
kernelforge.knowledge.experience_reader
begins an import cycle.

Check notice on line 58 in src/kernelforge/rewrite_by_flydsl/agent_kb.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
kernelforge.rewrite_by_flydsl.identity
begins an import cycle.

Check notice on line 375 in src/kernelforge/rewrite_by_flydsl/flydsl_rewrite_driver_preparation.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 386 in src/kernelforge/rewrite_by_flydsl/flydsl_rewrite_driver_preparation.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 396 in src/kernelforge/rewrite_by_flydsl/flydsl_rewrite_driver_preparation.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 22 in src/kernelforge/rewrite_by_flydsl/identity.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
kernelforge.knowledge.experience_sink
begins an import cycle.

Check notice on line 117 in src/kernelforge/tests/fusion/test_compile_pass_cli.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note test

Module 'kernelforge.fusion.command' is imported with both 'import' and 'import from'.

Check notice on line 244 in src/kernelforge/tests/fusion/test_compile_pass_cli.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note test

Module 'kernelforge.fusion.command' is imported with both 'import' and 'import from'.

Check notice on line 16 in src/kernelforge/tests/test_campaign_cross_process.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note test

Module 'kernelforge.loop.runner' is imported with both 'import' and 'import from'.

Check notice on line 14 in src/kernelforge/tests/test_forge_loop_resume.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note test

Module 'kernelforge.cli' is imported with both 'import' and 'import from'.

Check notice on line 236 in src/kernelforge/tests/test_insession_gate_logic.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note test

Module 'kernelforge.loop.insession_gate' is imported with both 'import' and 'import from'.

Check notice on line 5 in src/kernelforge/tests/test_insession_gate_protection.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note test

Module 'kernelforge.loop.insession_gate' is imported with both 'import' and 'import from'.

Check notice on line 324 in src/kernelforge/tests/test_lane_aiter_cache.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary lambda Note test

This 'lambda' is just a simple wrapper around a callable object. Use that object directly.

Check notice on line 31 in src/kernelforge/tests/test_lane_session_guarantees.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note test

Module 'kernelforge.agent_backends.registry' is imported with both 'import' and 'import from'.

Check notice on line 468 in src/hyperloom/agents/kernel/tools/backends/forge_submit.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused global variable Note

The global variable '_retired_opt_out_warned' is not used.

Check notice on line 34 in src/kernelforge/agent_backends/codex.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused global variable Note

The global variable 'log' is not used.

Check notice on line 99 in src/kernelforge/agent_backends/registry.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused global variable Note

The global variable '_plugins_loaded' is not used.