feat: automations — weekly review job on the host scheduler + re-price plan tool (0.3.0) - #4
Merged
Merged
Conversation
…e plan tool (0.3.0) - `weekly_review: true` arms a plugin-owned recurring turn via sdk.schedule_recurring (idempotent by job id; re-armed on reload, cancelled on disable). The prompt runs inventory_stale → inventory_reprice_plan → ebay_price_check (sold) → inventory_set_price with basis + evidence, reports stale listings with a recommendation (never changes a listing), and ends with inventory_summary. Cron / timezone / caps in config + settings. - inventory_reprice_plan: the worklist — unsold items with the oldest or missing price evidence, capped, each with a suggested buyer-style query and its current band. - 70 host-free tests (fake graph.sdk records the scheduling calls; no seam → no crash). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011UQ33xXfygwEkzbbJx3YwZ
…nce 0.1.1) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011UQ33xXfygwEkzbbJx3YwZ
|
|
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.
Slice 3 of the inventory plugin: automations
Re-opened from #3, which GitHub closed when its stacked base branch was deleted on the merge of #1; the branch is rebased onto
mainand carries only the automations commits.weekly_review: truearms a plugin-owned recurring turn viasdk.schedule_recurring(idempotent by job id, re-armed on every reload, cancelled when the plugin is disabled). The turn runsinventory_stale→inventory_reprice_plan→ebay_price_check(sold) →inventory_set_pricewith basis and evidence, reports stale listings with a recommendation (it never changes a listing), and ends withinventory_summary. Cron, timezone and caps are config + Settings fields.inventory_reprice_plan: the worklist — unsold items with the oldest or missing price evidence, capped, each with a suggested buyer-style query and its current band.graph.sdkrecords the scheduling calls (armed with the configured cadence, cancelled when off, off by default); no scheduler seam → registration still succeeds; plan ordering, cap and lot filter; the prompt carries the configured thresholds and the never-touch-a-listing rule.Vera's panel has been exhausting on this repo tonight from upstream rate limiting; merging on CI green with the in-session review, as with #1 and #2.
🤖 Generated with Claude Code
https://claude.ai/code/session_011UQ33xXfygwEkzbbJx3YwZ