Skip to content

Conversation

@pelikhan
Copy link
Contributor

Improve the extraction of timestamps and token usage from logs formatted in Codex style. This includes adding support for timestamps without a 'Z' suffix and introducing new patterns for token usage. Additionally, implement tests to validate the handling of Codex format logs.

@pelikhan pelikhan marked this pull request as ready for review August 13, 2025 00:33
@dsyme dsyme merged commit 2a54800 into main Aug 13, 2025
6 checks passed
@dsyme dsyme deleted the pelikhan/codex4 branch August 13, 2025 01:16
pelikhan added a commit that referenced this pull request Aug 23, 2025
…ation (#17) (#206)

* Initial plan

* Implement engine-declared output artifact support

- Add GetDeclaredOutputFiles() method to AgenticEngine interface
- Claude engine declares output.txt as output file
- Codex engine declares no output files (empty list)
- Compiler conditionally generates output steps only for engines with declared outputs
- Add OutputArtifactName constant for consistent artifact naming
- Update prompt generation and environment variables to be conditional
- Add comprehensive tests for engine capabilities and conditional compilation



* Final cleanup and test improvements

- Use OutputArtifactName constant in tests for consistency
- Add fmt import to agentic_output_test.go
- Ensure all tests pass with updated constant references



* Fix engine output collection to preserve GITHUB_AW_OUTPUT for all engines

- GITHUB_AW_OUTPUT functionality is now preserved for ALL engines (Claude and Codex)
- Engine-declared output files are collected separately as "agent_outputs" artifact
- Only engines that declare output files (like Claude with "output.txt") get engine output collection steps
- Codex engine continues to use GITHUB_AW_OUTPUT but doesn't get engine output collection since it declares no output files
- The GITHUB_AW_OUTPUT artifact remains named "aw_output.txt" as before
- Engine-declared files are collected in a separate "agent_outputs" artifact as requested



* Move engine output collection to separate file and simplify implementation



---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
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.

3 participants