Skip to content

feat: news-summary v4 — 教育+投資分析ブリーフィング skill#740

Open
tomoki0603 wants to merge 8 commits intogarrytan:mainfrom
tomoki0603:feat/news-summary-v4
Open

feat: news-summary v4 — 教育+投資分析ブリーフィング skill#740
tomoki0603 wants to merge 8 commits intogarrytan:mainfrom
tomoki0603:feat/news-summary-v4

Conversation

@tomoki0603
Copy link
Copy Markdown

Summary

Full redesign of /news-summary from v2 (single-file output) to a structured Obsidian knowledge base with layered education.

Core feature (5 commits):

  • news-summary v4 skill template (1,082 lines) with Layer 1 (speed-read briefing) + Layer 2 (folded education callouts)
  • Stock notes auto-created/updated with user memo protection (## 自分のメモ)
  • Living glossary with deep format (Mermaid causal diagrams, sector tables, DCF examples)
  • Weekly summary with Friday auto-verification of scenario predictions
  • Chart.js candlestick template extracted to templates/candlestick.html

Template improvements (1 commit):

  • Parallel collection groups for 50% faster data gathering
  • Unified error handling rules table
  • Glossary list pre-loaded in Step 0 for accurate wikilinks
  • Specific URLs for auxiliary sources (Step 2-E)
  • Session state file (.state.json) for cross-session tracking
  • Removed hardcoded stock note minimum count

Preamble cleanup (merged from prior commits):

  • Telemetry gate fix: "${_TEL:-off}" prevents writing when unset
  • Removed session timeline logging, auto-learnings-search in preamble
  • Added contributor mode detection
  • Removed /checkpoint and /health routing references

Test Coverage

613 pass, 15 fail (all pre-existing Windows platform issues: CRLF, binary compat)

Pre-Landing Review

Pre-Landing Review: 2 informational issues

  • [INFO] Vault path hardcoded as default — acceptable for personal use
  • [INFO] CRLF warnings — cosmetic

PR Quality Score: 9/10

Test plan

  • Skill validation tests pass (613/628)
  • gen-skill-docs regenerates cleanly
  • /news-summary runs end-to-end producing Obsidian output
  • /review clean (0 critical)
  • 15 pre-existing Windows platform test failures (CRLF, binary compat)

🤖 Generated with Claude Code

start and others added 8 commits March 31, 2026 18:29
Full redesign from v2 single-file to structured Obsidian knowledge base.
Layer design (speed briefing + education callouts), stock notes with
自分のメモ protection, living glossary, weekly summaries, Chart.js
candlestick charts, Chrome MCP integration for paid content access.

Adversarial review fixes: JST timezone, | in filename sanitization,
news entry idempotency check for stock notes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
CSO audit findings:
- Remove mcp__Claude_in_Chrome__computer from allowed-tools.
  The skill only needs read-only Chrome MCP tools (navigate,
  get_page_text, read_page, find). computer allows clicks/typing
  which contradicts the read-only safety intent.
- Replace hardcoded Obsidian vault path with OBSIDIAN_VAULT env
  var (falls back to default). Add VAULT_NOT_FOUND detection
  with AskUserQuestion prompt for first-run configuration.
5 gaps identified in CEO review of first execution output:
- Add indicator retry logic (2 attempts before marking 要確認)
- Require stock notes for ALL high+medium impact stocks (min 5/run)
- Prohibit empty file creation (0-byte glossary files)
- Set minimum depth for low-impact educational callouts (2-3 lines)
- Add completeness check: if >3 indicators missing, retry before output
Stock notes were skeleton-only (sector + market, everything else "未取得").
Now the template:
- Adds 6 financial metrics to basic info (price, market cap, PER, PBR,
  dividend yield, 52-week range) with WebSearch retrieval instruction
- Adds "今日のポイント" section for per-stock investment analysis
- Updates Step 8-B to refresh price and daily analysis on each run
- Changes 四季報 fallback text from "未取得" to actionable next-step
…g, state file)

- Extract Chart.js candlestick template to templates/candlestick.html
- Add parallel collection groups for Step 2 data gathering
- Add unified error handling rules table
- Add glossary list to Step 0 for accurate wikilinks
- Add specific URLs for auxiliary sources (Step 2-E)
- Remove hardcoded stock note minimum count
- Add Friday afternoon auto-verification for weekly predictions
- Add .state.json session state file for cross-session tracking
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant