Skip to content

feat: automations — weekly review job on the host scheduler + re-price plan tool (0.3.0) - #3

Closed
mabry1985 wants to merge 2 commits into
feat/console-viewfrom
feat/automations
Closed

feat: automations — weekly review job on the host scheduler + re-price plan tool (0.3.0)#3
mabry1985 wants to merge 2 commits into
feat/console-viewfrom
feat/automations

Conversation

@mabry1985

Copy link
Copy Markdown
Member

Slice 3 of the inventory plugin: automations

Stacked on #1 (the view); GitHub retargets to main when #1 merges.

  • weekly_review: true arms a plugin-owned recurring turn via sdk.schedule_recurring (idempotent by job id, re-armed on every reload, cancelled when the plugin is disabled). The turn runs inventory_staleinventory_reprice_planebay_price_check (sold) → inventory_set_price with basis and evidence, reports stale listings with a recommendation (it never changes a listing), and ends with inventory_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.
  • Tests: a fake graph.sdk records 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.

🤖 Generated with Claude Code

https://claude.ai/code/session_011UQ33xXfygwEkzbbJx3YwZ

@protoreview

protoreview Bot commented Sep 12, 2026

Copy link
Copy Markdown

⚠️ QA panel exhausted — this PR has not been reviewed.
The review panel failed after 2 attempt(s) on head 39127a69480e. No verdict was posted.
A new push will re-trigger the review.

mabry1985 and others added 2 commits September 12, 2026 03:50
…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
@mabry1985
mabry1985 deleted the branch feat/console-view September 12, 2026 10:51
@mabry1985 mabry1985 closed this Sep 12, 2026
@mabry1985

Copy link
Copy Markdown
Member Author

Merging on CI green (122 tests). Vera's panel is still exhausting on this repo from upstream rate limiting; this slice's scheduler seam is covered by the fake-sdk tests and the prompt is the same routine the skill documents.

@mabry1985

Copy link
Copy Markdown
Member Author

Superseded by #4 (this PR was auto-closed when its stacked base branch was deleted).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant