Repository navigation
Opt in to the ai-data-store artifact-logging hook - #13
Merged
Merged
Conversation
ai-data-store's log_artifact_entry.py hook only acts on projects that have a .ai-data-store.json config at their root — this repo never had one, so every verdict, price check, and portfolio snapshot artifact this agent produces has gone unlogged since the hook was installed. The mapping rules are ai-data-store's own ready-made template (hooks/configs/finance-agent.json there), copied in verbatim and tracked here rather than left as untracked host-only state, since a CasaOS rebuild or fresh clone would otherwise silently lose the wiring again. README points at what the file is for. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.ai-data-store.jsonat the repo root, opting this project into ai-data-store's genericlog_artifact_entry.pyPostToolUse hook (the finance-agent-specificlog_finance_entry.pyhook it replaced was retired in agb1986/ai-data-store#7).hooks/configs/finance-agent.json), copied in verbatim. Tracking it here (rather than leaving it as untracked host state) means a CasaOS rebuild or fresh clone doesn't silently lose the logging wiring again — it's deterministic, non-secret config, the same category as.env.example.Test plan
python3 -c "import json; json.load(open('.ai-data-store.json'))"— valid JSON/check-stockand check it lands in ai-data-store's dashboard🤖 Generated with Claude Code