Commit graph

5 commits

Author SHA1 Message Date
Research Assistant
07d032e420 feat: preserve user tags during sync 2026-05-31 20:01:16 +08:00
Research Assistant
add220d93c feat(discussion): remove JSON output and markdown escaping 2026-05-18 21:09:54 +08:00
Research Assistant
3a695a5269 feat(25-01): add summarize_index() helper to asset_index.py
- New function summarize_index() reads canonical index and returns lifecycle,
  health, and maturity aggregates
- Returns None for missing or legacy bare-list index
- 4 new tests: aggregates, missing, legacy format, empty items

Phase 25-01, Task 1
2026-05-04 11:22:46 +08:00
Research Assistant
de153d2402 fix(23): use Beijing time (UTC+8) for index timestamp, fix test stub signature 2026-05-04 01:08:13 +08:00
Research Assistant
b8a57eeb2e test(23-01): add tests for asset_index.py core functionality
- TestGetIndexPath: path resolution to indexes/formal-library.json
- TestBuildEnvelope: empty/with-items/count-matching/ISO timestamp
- TestAtomicWriteIndex: file creation, content correctness, atomicity
  on interrupt, parent dir creation, overwrite, lock timeout via threading
- TestBuildIndexEmpty: empty exports dir and absent exports dir return 0
  and write empty envelope
- 14 tests passing
2026-05-04 00:36:15 +08:00