### Daily MajiSabo Report Example Source: https://github.com/fumihirogotonds-art/majisabo/blob/main/README.md This is an example of the daily report users receive via Slack DM, detailing their 'slacking' performance for the day and suggesting a challenge for the next. ```text 朝〜夕方: いつも通りSlackで仕事する(何も変えない) │ │ ← マジサボが裏でデータを分析 │ 18:00: Slack DMで「今日のマジサボレポート」が届く │ │ 🎉 今日のダメ度: 72/100 │ ✅ 神サボリ: 5件(よくサボりました!) │ 🟡 偽マジメ: 2件(無駄に頑張りました) │ 💡 明日のチャレンジ: #general を1日ミュートしてみましょう │ └→ ユーザーはサボり方を「学ぶ」 ``` -------------------------------- ### Daily Report Example (No Slack Activity) Source: https://github.com/fumihirogotonds-art/majisabo/blob/main/aidlc-docs/construction/all-units/functional-design/business-rules.md An example of a daily report generated when there is no Slack activity. It indicates no score change and provides a motivational message. ```plaintext 📊 今日のマジサボレポート 🎉 今日のダメ度: —(Slack活動なし) 💬 「今日はSlackを一度も使いませんでしたね。 これは究極の神サボリかもしれません。 Slackなしでも仕事が回る — それが理想です。」 📈 スコア: 前日のスコアを維持(72/100) ※ Slack活動がない日はスコア変動なし 💡 学び: Slackを使わなくても仕事は回ります。 明日も「本当に必要な時だけ」Slackを開いてみましょう。 ``` -------------------------------- ### AWS Microservice Architecture Overview Source: https://github.com/fumihirogotonds-art/majisabo/blob/main/README.md This table outlines the microservice units, their responsibilities, and the AWS services used for each component of the MajiSabo system. ```markdown | Unit | 名前 | 責務 | AWS | |:---:|------|------|-----| | U1 | auth | 認証 | Cognito | | U2 | slack-connector | Slackデータ取得 | Lambda + Slack API | | U3 | judgment-engine | 3分類判定 | Lambda + Bedrock | | U4 | score-calculator | ダメ度算出 | Lambda | | U5 | daily-reporter | 定時レスポンス | EventBridge + Lambda | | U6 | action-tracker | 行動追跡 | Lambda + EventBridge | | U7 | dashboard-api | REST API | API Gateway + Lambda | | U8 | dashboard-ui | ダッシュボード | React (CloudFront + S3) | ``` -------------------------------- ### Status Transition Logic Source: https://github.com/fumihirogotonds-art/majisabo/blob/main/aidlc-docs/construction/all-units/functional-design/business-rules.md Defines the state transitions for action tracking. Tracking can lead to success, report a problem, or continue tracking upon detecting a mention. ```plaintext [tracking] → [success] : 7日間メンション0回 [tracking] → [reported_problem] : ユーザーが問題報告 [tracking] → [tracking] : メンション検出(通知送信、追跡継続) ``` -------------------------------- ### AI-DLC Deliverables Structure Source: https://github.com/fumihirogotonds-art/majisabo/blob/main/README.md This file structure outlines the deliverables produced during the AI-DLC phase, including concept documents, user stories, application design, and planning materials. ```text project/aidlc-docs/ ├── inception/ │ ├── requirements/ │ │ └── final-concept.md # 最終コンセプト(確定版) │ ├── user-stories/ │ │ ├── stories.md # ユーザーストーリー(15件) │ │ └── personas.md # ペルソナ(5名) │ ├── application-design/ │ │ ├── application-design.md # 統合設計ドキュメント │ │ ├── components.md # コンポーネント定義(8件) │ │ ├── services.md # サービス定義(6件) │ │ ├── component-dependency.md # 依存関係 │ │ ├── unit-of-work.md # Unit分解(8 Unit) │ │ ├── unit-of-work-dependency.md # Unit依存関係 │ │ └── unit-of-work-story-map.md # ストーリーマッピング │ └── plans/ │ ├── execution-plan.md # 実行計画 │ └── ... ├── aidlc-state.md # ワークフロー状態管理 └── audit.md # 監査ログ ``` -------------------------------- ### MajiSabo Tech Stack Source: https://github.com/fumihirogotonds-art/majisabo/blob/main/README.md This table details the technology stack used across different layers of the MajiSabo application, from frontend to backend services and infrastructure. ```markdown | レイヤー | 技術 | 用途 | |---------|------|------| | 🖥️ **フロントエンド** | React + Vite + Chart.js | ダッシュボード・ロードマップUI | | 🌐 **配信** | CloudFront + S3 | SPA配信(CDN) | | 🔌 **API** | API Gateway + Lambda | REST API(BFF) | | 🔐 **認証** | Amazon Cognito | ユーザー認証・トークン管理 | | 🤖 **AI判定** | Amazon Bedrock (Claude) | 本文分析・判定理由生成 | | 💾 **データ** | DynamoDB(Unit別テーブル) | 判定結果・スコア・行動記録 | | ⏰ **スケジューラー** | Amazon EventBridge | 定時レスポンス(18:00)・バッチ処理 | | 💬 **通知** | Slack Webhook | DM配信 | | 📡 **外部連携** | Slack API (Bot Token) | チャットデータ取得 | | 🏗️ **IaC** | AWS CDK (TypeScript) | Unit別スタック管理 | ``` -------------------------------- ### AI Judgment Engine Structure Source: https://github.com/fumihirogotonds-art/majisabo/blob/main/README.md This diagram illustrates the two-layer hybrid structure of the AI judgment engine, combining a fast, cost-effective rule-based system with AI analysis for ambiguous cases. ```mermaid Layer 1: ルールベース(高速・低コスト) → 時間外発言、メンション0チャンネル等を即判定 Layer 2: AI判定(Bedrock Claude) → 曖昧なケースのみ本文分析+判定理由生成 ``` -------------------------------- ### Score Calculation Formula Source: https://github.com/fumihirogotonds-art/majisabo/blob/main/aidlc-docs/construction/all-units/functional-design/business-rules.md Calculates the 'dame do' score based on accumulated points from 'Kami Sabo' actions, 'Nise Majime' actions, and penalties for 'Tsumi Sabo'. The score is capped between 0 and 100. ```plaintext ダメ度 = (神サボリポイント合計 / (神サボリ + 偽マジメ + 罪サボリのポイント合計)) × 100 - (罪サボリ件数 × 20) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.