ReMe/reme
Ziyang Guo 0024d3a8de fix(stat): put mtime in the answer where the job description promises it
The ``stat`` job is advertised to agents as "Stat path (size, mtime, exists,
is_dir, is_file)", but the answer only ever carried the path, type and size —
``mtime`` lived solely in metadata, and MCP returns only ``response.answer``.
So an agent asking how fresh a file is got no answer, even though the tool
description told it the field was there.

Render mtime in both branches of the answer:

    stat: topics/n.md (file, 20 bytes, mtime 2026-09-21T15:50:52.880316)
    stat: topics (dir, mtime 2026-09-21T15:50:52.880316)

The value is hoisted into a local so the answer and ``metadata["mtime"]`` are
guaranteed to come from the same ``stat()`` call rather than two reads. The
module docstring claimed the agent receives "size, mtime, mime type, and ...
frontmatter"; it now states that size and mtime are in the answer while mime
and frontmatter stay in metadata, matching reality.

Metadata is unchanged, so programmatic consumers see no difference. This is
the same answer-completeness class as #564, found while auditing which
advertised job fields actually reach the LLM.
2026-09-21 15:53:43 +08:00
..
components feat(Tag filter): Add an optional rebuildable tag index for file frontmatter (#517) 2026-09-07 15:52:17 +08:00
config feat(proactive): separate proactive refresh from auto dream (#488) 2026-09-07 17:23:37 +08:00
enumeration feat(Tag filter): Add an optional rebuildable tag index for file frontmatter (#517) 2026-09-07 15:52:17 +08:00
schema feat(proactive): separate proactive refresh from auto dream (#488) 2026-09-07 17:23:37 +08:00
steps fix(stat): put mtime in the answer where the job description promises it 2026-09-21 15:53:43 +08:00
utils fix(index): make embedding rebuild explicit and scoped (#508) 2026-08-28 23:25:17 +08:00
__init__.py fix: skip dependency bindings in status memory walk (#510) 2026-08-31 16:24:41 +08:00
application.py feat(core): support live component replacement (#505) 2026-08-28 16:04:02 +08:00
constants.py feat(index): add file size limits and oversized file handling (#362) 2026-07-15 21:01:18 +08:00
entry_point.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
plugin.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
plugin_cli.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
plugin_manifest.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
reme.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00