Skip to content

Port Stage 4 progress logging to work-authorship flow - #25

Merged
TimMCBen merged 1 commit into
mainfrom
feat/stage4-progress-log-migration
May 22, 2026
Merged

TimMCBen merged 1 commit into
mainfrom
feat/stage4-progress-log-migration

Conversation

@TimMCBen

@TimMCBen TimMCBen commented May 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • add line-oriented RuntimeLogger progress output for Stage 4 author profiling
  • emit progress from the current work-authorship / author-id loop without restoring name-search fallback
  • align aggregate --log mode with runtime logging and document the migration in history
  • fix CI blockers: empty API_KEY skips live LLM stage7 check; vulnerable dependency lower bounds are raised; markdownlint ignores imported coursework/vendor docs

Tests

  • python scripts/test_agent/runtime_logging_contract.py
  • python scripts/test_agent/stage4.py
  • python scripts/test_agent/run_contract.py
  • python scripts/test_agent/run.py
  • CI=true API_KEY= python scripts/test_agent/stage7.py
  • CI=true API_KEY= python scripts/test_agent/run.py
  • npx --yes markdownlint-cli2 maintained markdown globs
  • python -m compileall packages scripts

@TimMCBen
TimMCBen force-pushed the feat/stage4-progress-log-migration branch from 7c5773d to 0faaa0c Compare May 22, 2026 10:10
The stale remote branch had useful progress logging, but its implementation was tied to the deprecated author-name lookup path. This ports the observable progress behavior onto the current OpenAlex work-authorship and author-id flow, keeps the aggregate runner's runtime log mode aligned with its stage log mode, and fixes the CI blockers surfaced by the PR checks.

Constraint: Stage 4 must continue to avoid OpenAlex/DBLP name search fallbacks

Constraint: CI may expose API_KEY as an empty string when no live LLM secret is configured

Constraint: Markdown lint should guard maintained repo docs, not imported coursework/vendor-style documents

Rejected: Merge origin/feat/stage4-progress-log directly | it conflicts with current main and reintroduces the old author lookup design

Rejected: Force-merge with failing checks | repository-checks and OSV were reporting actionable blockers

Rejected: Reformat all imported markdown | large unrelated churn for third-party/coursework artifacts

Confidence: high

Scope-risk: moderate

Directive: Do not move Stage 4 progress back to name-based author lookup without revisiting the work-authorship identity contract

Tested: python scripts/test_agent/runtime_logging_contract.py

Tested: python scripts/test_agent/stage4.py

Tested: python scripts/test_agent/run_contract.py

Tested: python scripts/test_agent/run.py

Tested: CI=true API_KEY= python scripts/test_agent/stage7.py

Tested: CI=true API_KEY= python scripts/test_agent/run.py

Tested: npx --yes markdownlint-cli2 maintained markdown globs

Tested: python -m compileall packages scripts

Co-authored-by: OmX <omx@oh-my-codex.dev>
@TimMCBen
TimMCBen force-pushed the feat/stage4-progress-log-migration branch from 0faaa0c to 02c17bb Compare May 22, 2026 10:23
@TimMCBen
TimMCBen merged commit 97e899f into main May 22, 2026
3 checks passed
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.

1 participant