Louis HS coding dashboard

Real-time index and cache stats

–
EU TARIC codes
–
US HTS codes
–
Search aliases
–
Cached descriptions
–
EU HS6 headings
–
US HS6 headings

Index Status

MetricValue
Index loaded–
Loaded at–
Load time–
Memory cache entries–
TARIC last synced–
HTS last synced–

Top Cached Descriptions most hits

DescriptionHS6ConfidenceHits

Search Aliases

Map product names and slang terms directly to HS6 codes — bypasses AI, instant match

Add Alias

All Aliases 0

Search TermHS6NotesActiveActions

Custom Codes

Manually pin specific 10-digit TARIC/HTS codes for edge cases or product lines

Add Custom Code

Custom Codes 0

HS6TARIC 10HTS 10DescriptionNotesActions

Test Classification

Run a live classification and inspect the full response


    
Loading build document…

Data Sync

Sync tariff data from official bodies — EU European Commission + US USITC

🇪🇺 EU TARIC European Commission

Source: ec.europa.eu — Updated annually (January) + daily measure updates.
Provides 10-digit TARIC codes for all EU imports.

🇺🇸 US HTS USITC

Source: hts.usitc.gov — Updated monthly.
Provides 10-digit HTS codes for all US imports.

Sync Schedule

SourceScheduleLast Successful SyncRecords
🇪🇺 EU TARIC3rd January + Daily reload 06:00 UTC––
🇺🇸 US HTS1st of month, 03:00 UTC––

Sync Log last 20

SourceStatusRecordsMessageTime

Overnight runner command supervised automation

Use this to run sprint prompts sequentially in a Codex session overnight with continue-on-error behavior and a written fallback log. It is not magic autonomy: it should be used only after the Build page is clean enough that each sprint can be expressed as a concrete prompt.

SPRINTS=(
  "Sprint 1: Stabilise baseline and make production truthful. Fix live UK/EU/US data ingestion, sync reliability, degraded-state reporting, and admin diagnostics. Commit changes when complete."
  "Sprint 2: Replace Anthropic classification with GPT-5.4-only classification, fail honestly on missing config, and improve classification evidence and review triggering. Commit changes when complete."
  "Sprint 3: Implement API contract v1 with versioned request/response model, overrideHS6Code support, shipping/commercial context, and structured business-level error handling. Commit changes when complete."
  "Sprint 4: Add importCodes/exportCodes structures, associated headings, ancillary data, and richer result payloads in API and admin UI. Commit changes when complete."
  "Sprint 5: Build deterministic control-codes and restricted/prohibited rules engine with additionalClearanceCodes and rule provenance. Commit changes when complete."
  "Sprint 6: Implement GB/NI/EU and lane-aware trade logic with scenario tests. Commit changes when complete."
  "Sprint 7: Build spreadsheet lifecycle, review queue improvements, overrides reuse, exports, and internal ops workflows. Commit changes when complete."
  "Sprint 8: Prepare internal production pilot, operator dashboards, UAT pack, and fix highest-friction issues found. Commit changes when complete."
)

REPO=/path/to/HScoding
LOGDIR="$REPO/.overnight-sprint-logs"
mkdir -p "$LOGDIR"
cd "$REPO" || exit 1

for i in "${!SPRINTS[@]}"; do
  N=$((i+1))
  echo "=== START SPRINT $N ===" | tee -a "$LOGDIR/run.log"
  if codex exec --full-auto "${SPRINTS[$i]}

Rules:
- Work only in this repo.
- If you hit an error, write a concise failure note to $LOGDIR/sprint-${N}-failure.md and still continue to the next sprint.
- If the sprint is partially complete, commit what is complete and explain what remains in $LOGDIR/sprint-${N}-handoff.md.
- If fully complete, commit changes and write a completion note to $LOGDIR/sprint-${N}-done.md.
- Never stop the full overnight run because one sprint failed."     >"$LOGDIR/sprint-${N}.out" 2>"$LOGDIR/sprint-${N}.err"; then
    echo "SPRINT $N: success" | tee -a "$LOGDIR/run.log"
  else
    echo "SPRINT $N: failed, continuing" | tee -a "$LOGDIR/run.log"
    printf "Sprint %s failed. Review %s and %s.
" "$N" "$LOGDIR/sprint-${N}.out" "$LOGDIR/sprint-${N}.err" >> "$LOGDIR/run.log"
  fi
  echo "=== END SPRINT $N ===" | tee -a "$LOGDIR/run.log"
  sleep 2
done

echo "Overnight run finished. Review $LOGDIR/run.log"