feat: refine web analytics and history views

This commit is contained in:
Wyndham ARR
2026-08-02 12:56:22 +08:00
parent a891c0ae7a
commit 7e7470821b
37 changed files with 2088 additions and 361 deletions

View File

@@ -9,6 +9,9 @@
- Daily history and task trace show the validated browser-uploaded XML basename. Canonical internal source name
`source.xml` is not user-facing; historical rows with no recorded basename display an unknown marker rather than a
guessed filename.
- Daily, monthly-publication and company-generation histories have independent viewing months and default to the most
recent month containing that record type. Viewing-month state is read-only: it resets list paging but never changes
monthly derivation or a company generation request. Company `生成月份` and history `查看月份` are separate inputs.
- ARR's frozen processor generates complete structured data, which must be independently validated and successfully committed to the database before downstream monthly processing starts.
- The production XML path must not require Agent, MCP, prompts, model-generated JSON, fetch grants, or a public source URL.
- A successful database commit automatically triggers the monthly-report processing program through the business system.