feat
patch
content-grep
task/supercharge-content-grep
#1 / 1
feat(content-grep): add elapsed_seconds/exit_code to JSON, fix sha256: prefix in tests
- Add `import time` and `t0` timing to `run()` - Pass `elapsed_seconds` into `_emit()` as an explicit parameter - Add `elapsed_seconds` and `exit_code` to `_ContentGrepJson` TypedDict and JSON output - Update module docstring with correct sha256: prefix format and new fields - Fix `_sha()` helpers in both test files: prepend 'sha256:' prefix to satisfy `validate_object_id` - Fix pre-existing `len==64` assertions to `len==71` + `startswith('sha256:')` - Update `_GrepOut` TypedDict with `source`, `elapsed_seconds`, `exit_code` - Add TestJsonSchemaComplete (8 tests), TestElapsedSeconds (6 tests), TestExitCode (5 tests) - 56/56 hardening tests + 18/18 base tests pass
sha256:3bb890fb4c6062b95f305fd8e05827da2d82aac981630221cb1c2b48a74efc41
sha
sha256:63810e1c710a8fc4bc6ac1e9dbef4e484f4e3c7647b55d1e158f41a30e2d4821
snapshot
← Older
Oldest on task/supercharge-content-grep
All commits
Newer →
Latest on task/supercharge-content-grep
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:3bb890fb4c6062b95f305fd8e05827da2d82aac981630221cb1c2b48a74efc41 --body "your comment"
No comments yet. Be the first to start the discussion.