Skip to content

[codex] Unify freshness semantics#45

Merged
NeapolitanIcecream merged 5 commits intomainfrom
codex/unify-freshness-semantics
Apr 20, 2026
Merged

[codex] Unify freshness semantics#45
NeapolitanIcecream merged 5 commits intomainfrom
codex/unify-freshness-semantics

Conversation

@NeapolitanIcecream
Copy link
Copy Markdown
Owner

@NeapolitanIcecream NeapolitanIcecream commented Apr 20, 2026

Summary

  • add a dedicated inspect freshness surface and include the same freshness snapshot in inspect stats
  • split operator-visible freshness into run, data, derived window, and backup sections instead of overloading a single latest concept
  • align publish/site/docs wording so latest.md is treated as a publish index and window labels read Latest window
  • follow up on CI by splitting the new freshness and publish-index helpers back under the refactor-audit gate and teaching the audit to ignore Typer command and callback registrations

Why

The current operator surface makes several different timestamps look like the same kind of "latest" data. In practice, item coverage, successful workflow runs, derived trend or idea windows, and DB backups can diverge. This PR makes those differences explicit.

Impact

Operators can now inspect freshness without guessing from one run row or from latest.md, and backup root resolution is explicit and configurable through BACKUP_OUTPUT_DIR / backup_output_dir. The refactor-audit gate now also stops flagging registered CLI commands as dead code.

Validation

  • uv run pytest tests/test_recoleta_specs_stats_cli.py tests/test_recoleta_specs_runs_cli.py tests/test_recoleta_specs_publish.py tests/test_trends_static_site.py tests/test_recoleta_specs_settings.py tests/test_recoleta_specs_maintenance_cli.py -q
  • uv run pytest tests/test_recoleta_specs_doctor_cli.py -q
  • uv run pytest tests/test_refactor_audit.py -q -k "typer_command_functions or pydantic_validator_methods"
  • uv run pytest tests/test_recoleta_specs_stats_cli.py -q -k freshness
  • uv run pytest tests/test_recoleta_specs_publish.py -q -k "latest or publish_writes_local_markdown_notes_without_obsidian_or_telegram or publish_writes_markdown_index_when_telegram_daily_cap_reached"
  • uv run python scripts/refactor_audit.py --fail-on-regression
  • uv run ruff check .

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6a76650b3a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread recoleta/cli/__init__.py
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ed411c95a4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread recoleta/config.py
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 77512a983f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread recoleta/cli/maintenance.py
@NeapolitanIcecream
Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@NeapolitanIcecream NeapolitanIcecream merged commit d88719d into main Apr 20, 2026
4 checks passed
@NeapolitanIcecream NeapolitanIcecream deleted the codex/unify-freshness-semantics branch April 20, 2026 05:26
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