awesome-python/agrifine-extension
Claude 82e84ddef7
feat(agrifine): rewrite AG-Refine bridge to use REST API + enrich committee personas
Replace localStorage-scraping approach with proper REST API calls. The bridge
now injects async fetch functions into the AG-Refine tab's page context so
session cookies work without any CORS configuration on the server.

syncFromAgRefine() now calls /api/fields/, /api/scales/tickets/all,
/api/intelligence/lab-samples, and /api/harvest/plans simultaneously.
WeighTicket records (DM%, protein, commodity, harvest label) are mapped to
per-field harvest records; NIR/lab samples are mapped to per-field labSamples
arrays and surfaced in the field profile expanded card.

pushToAgRefine() creates new fields via POST /api/fields/ and back-fills
_agRefineId on success so subsequent pulls correctly merge rather than duplicate.

buildContextBundle in storage.js now includes latest lab sample quality metrics
(DM%, NDF%, RFV, NEL) in the AI context for each field.

Committee agent personas enriched with AG-Refine-specific domain knowledge:
Kount reads ticket DM% and integrity scores for cost-per-ton math; Rolf reads
lab NDF/ADF/RFV against thresholds and harvest calendar cut timing; Dr. Vera
connects forage DM% on tickets to intake prediction and ketosis risk; Marla
reads operation cycle times and driver assignment logs for throughput analysis.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBD2dN2KEjzz3UQFa9hEpu
2026-06-27 20:20:39 +00:00
..
.claude/skills/run-agrifine-extension feat: add run-agrifine-extension skill + Playwright driver 2026-06-27 04:05:08 +00:00
dist feat(agrifine): rewrite AG-Refine bridge to use REST API + enrich committee personas 2026-06-27 20:20:39 +00:00
public/icons feat: add Agrifine browser extension scaffold (Phase 1) 2026-06-27 03:15:11 +00:00
screenshots Add Boardroom multi-agent committee to AgriAgent tab 2026-06-27 20:11:41 +00:00
src feat(agrifine): rewrite AG-Refine bridge to use REST API + enrich committee personas 2026-06-27 20:20:39 +00:00
tests Fix field import pipeline and deepen AG-Refine integration 2026-06-27 14:23:52 +00:00
tools Fix document parsing and add AG-Refine sister-app sync 2026-06-27 06:54:41 +00:00
webpack Fix document parsing and add AG-Refine sister-app sync 2026-06-27 06:54:41 +00:00
.babelrc feat: add Agrifine browser extension scaffold (Phase 1) 2026-06-27 03:15:11 +00:00
.gitignore Add built dist files and untrack from gitignore 2026-06-27 06:32:44 +00:00
manifest.json fix: correct manifest paths for dist/ load context 2026-06-27 03:50:57 +00:00
package-lock.json feat: add run-agrifine-extension skill + Playwright driver 2026-06-27 04:05:08 +00:00
package.json feat: add run-agrifine-extension skill + Playwright driver 2026-06-27 04:05:08 +00:00
postcss.config.js feat: add Agrifine browser extension scaffold (Phase 1) 2026-06-27 03:15:11 +00:00
tailwind.config.js Redesign Agrifine extension UI to match AG-Refine dark theme 2026-06-27 06:28:50 +00:00