heading: data-liangzhu-qianniu-db

text:
# data-liangzhu-qianniu-db

- Repo URL: remote not configured yet; local Git repo only
- Local path: `/Users/bot2/AI Work/02_projects/active/data-liangzhu-qianniu-db`
- Machine/Profile: bot2 / IT2
- Owner/Requester: studio ecommerce reporting
- Task type: data pipeline / reporting / cloud dashboard
- Status: active
- Last updated: 2026-05-26T12:08:07Z
- Latest commit: `55a4b01` (`feat: generate weekly report from template`)
- Related bots/profiles: IT2 orchestrator; bot2 operator for GUI report downloads

title: data-liangzhu-qianniu-db


heading: Purpose

text:
## Purpose
Maintain the Liangzhu ecommerce PostgreSQL persistence pipeline for Qianniu and JD report exports, daily 04:00 IT2-led operator download orchestration, backup, report generation, weekly template report generation, and dashboard publication.

title: data-liangzhu-qianniu-db


heading: Current authoritative description

text:
## Current authoritative description
The repo root `REPO_DESCRIPTION.md` is the source of truth for detailed evolving state.

title: data-liangzhu-qianniu-db


heading: Runtime skill

text:
## Runtime skill
- Skill name: `liangzhu-ecommerce-reporting`
- IT2 runtime path: `/Users/bot2/.hermes/profiles/it2/skills/devops/liangzhu-ecommerce-reporting/SKILL.md`
- Versioned snapshot: `docs/skills/liangzhu-ecommerce-reporting/SKILL.md`

title: data-liangzhu-qianniu-db


text:
## Reporting cadence and template references
- Daily: daily report/analysis plus refreshed public HTML dashboard.
- Monday: additionally generate a weekly report using the desensitized workbook format reference.
- Weekly generator: `scripts/generate_weekly_template_report.py`
- Weekly template: `templates/liangzhu_weekly_report_format_desensitized.xlsx`
- Weekly template notes: `docs/report_templates/liangzhu_weekly_report_format_reference.md`
- Latest sample output: `outputs/20260526/良渚经营周报_按模板_2026-05-18_2026-05-24.xlsx`
- Monthly: format pending; monthly reports must use month-dimension/month-platform tables or monthly facts, not simple daily-row summation, because platform deduplication rules can differ.

title: data-liangzhu-qianniu-db


heading: NAS handoff document

text:
## NAS handoff document
- Path: `/Users/bot1/Volumes/root_for_ai/00_共享区/共享知识库/原始资料/01_IP资产与项目资料/良渚文化/04_店铺排查与运营记录/良渚电商经营数据系统交接说明.md`

title: data-liangzhu-qianniu-db


heading: Current public dashboard

text:
## Current public dashboard
- URL: `https://wwyl.yipeng.online/detail-pages/liangzhu-store-dashboard/`
- Cloud path: `/srv/detail-pages/public/liangzhu-store-dashboard/index.html`
- Latest behavior: latest-day product TOP list excludes zero-sales rows instead of padding to 15.

title: data-liangzhu-qianniu-db


heading: Database handoff

text:
## Database handoff
- Cloud PostgreSQL database: `liangzhu_qianniu`
- Schemas: `ops`, `dim`, `raw`, `fact`, `mart`
- Secret location only: `/srv/liangzhu-qianniu-db/.env` on cloud server; do not print or copy secret values.

title: data-liangzhu-qianniu-db


heading: Search keywords

text:
## Search keywords
良渚 千牛 京东 商智 PostgreSQL 电商报表 日报 周报 月报 经营周报 每日分析 HTML 可视化 IT2 操作员 4点 定时任务 数据持久化 公网看板 周一 模板 脱敏 月维度 平台去重

title: data-liangzhu-qianniu-db