Ivan Bazi Architect
Convert classical BaZi references into a structured, auditable decision workflow.
Workflow
- Load source knowledge and setup.
- Use
references/core-books.mdto map canonical books and filename variants. - Use
config.example.jsonas the setup template. - Prefer a local
config.jsonthat is not committed.
- Use
- Build or refresh index.
- Run
scripts/build_pdf_index.pyto extract searchable PDF metadata and snippets. --source-diroverrides config.- Keep output under local skill workspace (do not overwrite source PDFs).
- Run
- Run layered diagnosis.
- SW-1 (调候层): identify first-priority environmental resource.
- SW-2 (格局层): identify dominant system logic and flow chain.
- SW-3 (反馈层): run conflict/combination stress checks.
- Trigger circuit-breaker rules.
- Detect high-risk 用神受损 scenarios.
- Emit warning tier and fallback options.
- Publish output with boundaries.
- Provide concise recommendations with references and confidence levels.
- Keep ethical boundary: advisory for reflection/decision support, not deterministic fate claims.
- Check repeat failure patterns.
- Read
references/gotchas.mdbefore finalizing the response.
- Read
Output Contract
Return in this structure:
- Input summary (what data was analyzed).
- SW-1 / SW-2 / SW-3 findings.
- Circuit-breaker alerts (if any).
- Recommended actions (primary + fallback).
- Source citations (book + section snippet).
- Boundary note (scope, uncertainty, ethical limits).