diff --git a/personal/projects/personal-os/personal-os-evidence/2026-11-18/portal-editorial-acceptance.json b/personal/projects/personal-os/personal-os-evidence/2026-11-18/portal-editorial-acceptance.json new file mode 100644 index 00000000..df9cf83d --- /dev/null +++ b/personal/projects/personal-os/personal-os-evidence/2026-11-18/portal-editorial-acceptance.json @@ -0,0 +1,283 @@ +{ + "recorded_at": "2026-11-18T13:14:42+06:00", + "evidence_type": "manual_read_of_live_portal_and_primary_sources", + "before": { + "run_id": "6973cc59-eea0-40dc-9394-9203f7be8235", + "team_prs": [ + 6452, + 6441, + 6431, + 5260 + ], + "cancelled_auto_respond_rows": 20 + }, + "working_e5": { + "version": 209, + "verified_inline_copies": 3, + "production_run_id": "0ad66e6b-7c10-49a6-87ff-e4b2e6a19fa1", + "held_team_pr_count": 0 + }, + "browser_routes": [ + { + "route": "today", + "width": 1440, + "heading": "Сегодня" + }, + { + "route": "day-settings", + "width": 1440, + "heading": "Настройки дня" + }, + { + "route": "plan-health", + "width": 1440, + "heading": "Состояние системы" + }, + { + "route": "my-tasks", + "width": 1440, + "heading": "My Tasks" + }, + { + "route": "weekly-review", + "width": 1440, + "heading": "Weekly Review" + }, + { + "route": "work-history", + "width": 1440, + "heading": "Work History" + }, + { + "route": "projects", + "width": 1440, + "heading": "Проекты" + }, + { + "route": "tasks", + "width": 1440, + "heading": "Все задачи" + }, + { + "route": "prs", + "width": 1440, + "heading": "GitHub PR" + }, + { + "route": "situations", + "width": 1440, + "heading": "Ситуации" + }, + { + "route": "worktrees", + "width": 1440, + "heading": "Ворктри" + }, + { + "route": "work-items", + "width": 1440, + "heading": "Work items" + }, + { + "route": "designs", + "width": 1440, + "heading": "Tech designs" + }, + { + "route": "inbox", + "width": 1440, + "heading": "Inbox" + }, + { + "route": "asana-inbox", + "width": 1440, + "heading": "Asana Inbox" + }, + { + "route": "tasks/1219967170800092", + "width": 1440, + "heading": "Shift in compilation timing for post-onboarding rules compilation" + }, + { + "route": "tasks/1217937112404448", + "width": 1440, + "heading": "Postmortem: CPM: root-cause the stuck embedded extension messaging (macOS/iOS)" + }, + { + "route": "prs/duckduckgo/apple-browsers/7385", + "width": 1440, + "heading": "PR #7385: Report how far the CPM extension got with a navigation's init message" + }, + { + "route": "work-history?date=2026-11-18", + "width": 1440, + "heading": "Work History" + }, + { + "route": "today", + "width": 390, + "heading": "Сегодня" + }, + { + "route": "day-settings", + "width": 390, + "heading": "Настройки дня" + }, + { + "route": "plan-health", + "width": 390, + "heading": "Состояние системы" + }, + { + "route": "my-tasks", + "width": 390, + "heading": "My Tasks" + }, + { + "route": "weekly-review", + "width": 390, + "heading": "Weekly Review" + }, + { + "route": "work-history", + "width": 390, + "heading": "Work History" + } + ], + "active_review": { + "route": "today", + "complete_postmortem_sections": 5, + "source_task_count": 32, + "discussion_comments_read": 13, + "open_questions": 3, + "postmortem_merges": [ + 8095, + 8160 + ], + "closed_privacy_duplicate": "1220552516001682", + "discussion_url": "https://app.asana.com/1/137249556945/task/1219967170800092/comment/1220637336960417?focus=true", + "widths": [ + 1440, + 390 + ], + "foreign_pr_rows": 0, + "auto_respond_rows": 0, + "boundary": "19:00", + "automatic_day_capacity": true, + "independently_verified_during_plan_hold": true, + "postmortem_remained_open_during_live_refresh": true + }, + "budget": { + "view_before_queue_held": "06:40", + "recorded_bishkek": "12:18", + "workday_end_bishkek": "19:00", + "format": "HH:MM" + }, + "inbox": { + "before_read_timeout_seconds": 50, + "database_wait_seconds": 65, + "after_http_status": 200, + "after_seconds": 8.871127, + "subscription_count": 27, + "native_inbox_archive_last_updated": "2026-11-04" + }, + "runtime_recovery": { + "callback_disconnected_run": "5229831f-ec54-4cee-a126-637130b1e2de", + "followup_run": "d63e2872-395d-42b5-af99-3d75feb1fa80", + "source_blocker": "asana_worker_refresh_queue_pending" + }, + "acceptance": { + "complete": false, + "accepted_real_days": 0, + "required_days": 5, + "open": [ + "Zoom future meetings permission", + "incoming Telegram reply", + "native notification at the review window", + "Git remote not configured" + ] + }, + "code_commits": [ + "a9b452e", + "228543d", + "322135e" + ], + "continuation": { + "initial_active_run": "21a80598-3312-4a1b-bed4-9fcad3cdb05d", + "dependency_refresh": [ + { + "task_gid": "1217937112404448", + "observed_at": "2026-11-18T13:44:23.146+06:00" + }, + { + "task_gid": "1220528695906856", + "observed_at": "2026-11-18T13:44:22.877+06:00" + } + ], + "recovered_live_run": "754a0d48-7261-498a-a621-33bcda0d304c", + "recovered_live_plan_at": "2026-11-18T13:47:37.851087+06:00", + "manual_browser_routes": [ + { + "route": "today", + "at": "2026-11-18T07:49:30.708Z", + "heading": "Сегодня" + }, + { + "route": "weekly-review", + "at": "2026-11-18T07:49:40.174Z", + "heading": "Weekly Review" + }, + { + "route": "work-history?date=2026-11-17", + "at": "2026-11-18T07:49:40.323Z", + "heading": "Work History" + }, + { + "route": "plan-health", + "at": "2026-11-18T07:49:41.245Z", + "heading": "Состояние системы" + } + ], + "weekly_http_seconds": 4.523086, + "active_existing_heartbeat_minutes": 15, + "published_e5": { + "version": 214, + "matched_propose_actions_copies": 3 + }, + "activitywatch": { + "standalone_ms": 659, + "blocking_inventory_ms": 10462, + "old_order_reproduced_failure": true, + "failed_transport_run": "a56f5f30-3634-4323-a7b3-48e6929cf082", + "verified_live_run": "1cb93bb7-8c40-435b-a9c7-b391a57529e1", + "new_order_live_elapsed_ms": 383, + "window_status": "fresh", + "afk_status": "fresh" + }, + "history_2026_11_16": { + "interval_count": 692, + "from_bishkek": "08:00", + "through_bishkek": "19:00", + "source": "retained_activitywatch", + "calendar_coverage": "not_recovered", + "mobile_verified": true + }, + "scheduled_recheck": { + "run_id": "01a1edab-7a70-f346-3e62-a6c30e06c940", + "published_at": "2026-11-18T14:23:14.246509+06:00", + "dependency_queue_observed_priority": 310, + "dependency_queue_requested_at": "2026-11-18T14:19:04.210+06:00", + "refreshed_work_ids": [ + "1217937112404448", + "1220528695906856" + ], + "activitywatch_ms": 588, + "actual_browser_width": 390, + "prepared_requests_verified": 2, + "dependency_observed_at": { + "1217937112404448": "2026-11-18T14:27:40.007+06:00", + "1220528695906856": "2026-11-18T14:27:40.028+06:00" + } + } + } +} diff --git a/personal/projects/personal-os/personal-os-evidence/2026-11-18/remediation-verified-pass.json b/personal/projects/personal-os/personal-os-evidence/2026-11-18/remediation-verified-pass.json new file mode 100644 index 00000000..dbe6c74c --- /dev/null +++ b/personal/projects/personal-os/personal-os-evidence/2026-11-18/remediation-verified-pass.json @@ -0,0 +1,556 @@ +{ + "checked_at": "2026-11-18T05:45:30.020Z", + "windmill": { + "read_back_version": 208, + "previous_read_back_version": 207, + "deploy_scope": "f/attend/attention_loop_e5", + "inline_audit": { + "status": "matched", + "copies": 12, + "modules": [ + { + "module_id": "assess_priority", + "source": "../roles_importance_e4__flow/rank.py", + "sha256": "a79b765c44c5dc272b162de6bf029785f507e7110f31d7adb5062b470995a9f5" + }, + { + "module_id": "assess_priority_review_refresh", + "source": "../roles_importance_e4__flow/rank.py", + "sha256": "a79b765c44c5dc272b162de6bf029785f507e7110f31d7adb5062b470995a9f5" + }, + { + "module_id": "day_constraints", + "source": "day_constraints.py", + "sha256": "d37aeb8dabd5a834069480bd4b54a6b1f24ec836efeb1d85459a58f7e3e2aa7b" + }, + { + "module_id": "day_constraints_review_refresh", + "source": "day_constraints.py", + "sha256": "d37aeb8dabd5a834069480bd4b54a6b1f24ec836efeb1d85459a58f7e3e2aa7b" + }, + { + "module_id": "diagnostic_propose", + "source": "propose_actions.py", + "sha256": "5c5e20ae2b11f4d1ebb4fce252a05b63f6c10f792ed57faef35453c348cdaa1a" + }, + { + "module_id": "fast_propose_provided", + "source": "propose_actions.py", + "sha256": "5c5e20ae2b11f4d1ebb4fce252a05b63f6c10f792ed57faef35453c348cdaa1a" + }, + { + "module_id": "priority_input", + "source": "priority_input.py", + "sha256": "5e8abe27f0bfb0e681d12cd4849409f8d3a4727bd6e2e49f3a1e8aefcaa2a9b3" + }, + { + "module_id": "priority_input_review_refresh", + "source": "priority_input.py", + "sha256": "5e8abe27f0bfb0e681d12cd4849409f8d3a4727bd6e2e49f3a1e8aefcaa2a9b3" + }, + { + "module_id": "propose_actions_review_refresh", + "source": "propose_actions.py", + "sha256": "5c5e20ae2b11f4d1ebb4fce252a05b63f6c10f792ed57faef35453c348cdaa1a" + }, + { + "module_id": "read_context", + "source": "read_context.py", + "sha256": "350566e9086791e77e41f7c08472dece79df2c99c469d826eb936428a23729a5" + }, + { + "module_id": "read_diagnostic_sources", + "source": "read_context.py", + "sha256": "350566e9086791e77e41f7c08472dece79df2c99c469d826eb936428a23729a5" + }, + { + "module_id": "read_refreshed_review_refresh", + "source": "read_context.py", + "sha256": "350566e9086791e77e41f7c08472dece79df2c99c469d826eb936428a23729a5" + } + ] + } + }, + "baseline_browser": { + "captured_at": "2026-11-18T05:30:59.727Z", + "api": { + "capacity": { + "http": 200, + "status": null, + "reason": null, + "date": "2026-11-18", + "capacity": { + "date": "2026-11-18", + "end_time": "19:00", + "end_at": "2026-11-18T19:00:00+06:00", + "mode": "until_boundary", + "weekdays": true, + "source": "daily" + }, + "counts": {} + }, + "plan": { + "http": 200, + "status": "stale", + "reason": "typed_sources_changed", + "date": "2026-11-18", + "version": "94182603-3336-41e0-af09-050b133ab461", + "minutes": 90, + "calendar": "partial", + "holds": 273, + "counts": { + "goals": 5, + "ordered_actions": 0, + "plan_items": 0, + "backlog": 7, + "pending_review_queue": 0, + "pending_review_held": 0, + "held": 273, + "held_items": 273, + "waiting_items": 30, + "conflicts": 4, + "deadline_capacity_conflicts": 0, + "rejected": 0, + "rejected_items": 0, + "plan_changes": 2, + "calculation_trace": 2 + } + }, + "weekly": { + "http": 200, + "status": null, + "reason": null, + "date": null, + "week": "held", + "week_reason": "week_capacity_changed", + "counts": { + "inbox": 164, + "next_actions": 8, + "waiting_for": 0, + "someday": 33, + "completed": 1, + "dismissed": 0, + "projects": 29, + "projects_without_next_action": 28, + "goals": 5, + "source_gaps": 2, + "conflicts": 4, + "held": 273 + } + }, + "audit": { + "http": 200, + "status": "available", + "reason": null, + "date": null, + "counts": { + "items": 15 + } + }, + "summary": { + "http": 200, + "status": null, + "reason": null, + "date": "2026-11-17", + "counts": { + "results": 11, + "work": 12 + } + }, + "history": { + "http": 200, + "status": null, + "reason": null, + "date": null, + "counts": { + "items": 17 + } + }, + "discussion": { + "http": 200, + "status": "available", + "reason": null, + "date": null, + "counts": { + "items": 73, + "closed": 1, + "completion_receipts": 0, + "priority_handoffs": 0, + "gaps": 0 + } + } + }, + "widths": { + "390": { + "accordions": 0, + "overflow": false + }, + "768": { + "accordions": 0, + "overflow": false + }, + "1440": { + "accordions": 0, + "overflow": false + } + }, + "browser_errors": [] + }, + "production_browser": { + "captured_at": "2026-11-18T05:45:30.020Z", + "plan_status": "current", + "run_id": "cdaa85b2-2770-4bf8-8689-54e4f193bef2", + "plan_items": [ + { + "id": "postmortem-review:1217937112404448", + "minutes": 9, + "work_url": "https://app.asana.com/1/137249556945/project/45878998844068/task/1217937112404448" + } + ], + "widths": { + "390": { + "plan_accordions": 0, + "overflow": false + }, + "768": { + "plan_accordions": 0, + "overflow": false + }, + "1440": { + "plan_accordions": 0, + "overflow": false + } + }, + "browser_errors": [], + "primary_action": { + "title": "Сверить оставшуюся работу · Postmortem: CPM: root-cause the stuck embedded extension messaging (macOS/iOS)", + "destination": "https://app.asana.com/1/137249556945/project/45878998844068/task/1217937112404448", + "current_merge_8095": true, + "current_merge_8160": true, + "concrete_result": true + }, + "visible_pr_evidence": { + "policy": 1, + "prior_review": 0 + }, + "existing_document_on_click": "http://127.0.0.1:4317/#/tasks/1217937112404448", + "week": { + "status": "draft", + "days": [ + { + "date": "2026-11-18", + "actions": [ + "postmortem-review:1217937112404448" + ] + } + ] + } + }, + "tests": { + "node_database_integration": { + "tests": 469, + "passed": 469, + "skipped": 0, + "dedicated_test_databases_cleaned": true + }, + "python": { + "tests": 495, + "passed": 495 + }, + "github_focused_after_last_binding_change": { + "tests": 8, + "passed": 8 + }, + "node_standard_final": { + "tests": 458, + "passed": 402, + "skipped": 56 + }, + "browser_focused_after_wait_order_change": { + "tests": 3, + "passed": 3 + } + }, + "production_cycles": [ + { + "version": 206, + "run_id": "acda20cb-7d8c-4db9-b2bc-1167e115e10f", + "receipts": { + "snapshot": { + "status": "completed", + "source_durations_ms": { + "calendar": 16246, + "asana": 18617, + "github": 37868, + "activitywatch": 16134, + "worktree_progress": 17003, + "project_truth": 1014, + "pending_reviews": 147 + } + }, + "persist": { + "status": "persisted", + "planned_minutes": 0, + "week_plan_status": "draft" + }, + "notify": { + "status": "completed" + }, + "finish": { + "status": "completed" + } + }, + "effective_budget_minutes": 441, + "planned_minutes": 0, + "reserve_minutes": 133, + "calendar_status": "partial", + "calendar_reason": "zoom_meeting_access_required", + "work_end_at": "2026-11-18T19:00:00+06:00", + "publication_admission": { + "status": "current", + "reason": null, + "work_boundary_status": "open" + } + }, + { + "version": 207, + "run_id": "e1ed0b0b-6dd9-4764-9f62-20ba0e92b66f", + "receipts": { + "snapshot": { + "status": "completed", + "source_durations_ms": { + "calendar": 14550, + "asana": 17550, + "github": 38628, + "activitywatch": 14355, + "worktree_progress": 24760, + "project_truth": 3313, + "pending_reviews": 173 + } + }, + "persist": { + "status": "persisted", + "planned_minutes": 9, + "week_plan_status": "draft" + }, + "notify": { + "status": "completed" + }, + "finish": { + "status": "completed" + } + }, + "effective_budget_minutes": 435, + "planned_minutes": 9, + "reserve_minutes": 131, + "calendar_status": "partial", + "calendar_reason": "zoom_meeting_access_required", + "work_end_at": "2026-11-18T19:00:00+06:00", + "publication_admission": { + "status": "current", + "reason": null, + "work_boundary_status": "open" + } + }, + { + "version": 207, + "run_id": "cdaa85b2-2770-4bf8-8689-54e4f193bef2", + "receipts": { + "snapshot": { + "status": "completed", + "source_durations_ms": { + "calendar": 30442, + "asana": 33638, + "github": 57056, + "activitywatch": 30261, + "worktree_progress": 25629, + "project_truth": 3156, + "pending_reviews": 115 + } + }, + "persist": { + "status": "persisted", + "planned_minutes": 9, + "week_plan_status": "draft" + }, + "notify": { + "status": "completed" + }, + "finish": { + "status": "completed" + } + }, + "effective_budget_minutes": 434, + "planned_minutes": 9, + "reserve_minutes": 131, + "calendar_status": "partial", + "calendar_reason": "zoom_meeting_access_required", + "work_end_at": "2026-11-18T19:00:00+06:00", + "publication_admission": { + "status": "current", + "reason": null, + "work_boundary_status": "open" + } + } + ], + "telegram": { + "day": "2026-11-18", + "status": "accepted_by_telegram", + "accepted_method": "editMessageText", + "accepted_edits_at": "2026-11-18T06:02:35.439009+00:00", + "existing_message_updated": true, + "send_attempts": 1, + "user_read_and_inbound_reply": "unverified", + "included_current_work": [ + "Postmortem CPM", + "Hack Phase" + ] + }, + "native": { + "mac_lock_state": "unlocked", + "latest_hold": "awaiting_review_window" + }, + "d27_actual_failure": { + "pr": 6839, + "head": "d781d6722ab67c95f1d00cebbd67f7c0cf2c31fe", + "classification": "tests", + "diagnostic": "testSlideToDeleteRequiresCompletedDrag (XCTAssertTrue failed)", + "job_url": "https://github.com/duckduckgo/apple-browsers/actions/runs/44160534270/job/134317341355", + "mode": "read_only_probe_of_normal_source_adapter" + }, + "d15_replay": { + "source_run": "01a1ed2c-e634-cfbf-8637-83eb66118342", + "initial_minutes": 240, + "original_hold": "no_verified_next_action", + "candidate_minutes": 180, + "contract_valid": true, + "mode": "frozen_input_live_local_model" + }, + "github_3727_binding": { + "run_id": "c057e2bf-7d1d-4185-bfba-8b66fa33b1f1", + "task_gid": "1220428304004508", + "sha": "d47ef83e7c144bce3a3e050dc5a576194b110946", + "state": "review_recheck", + "formally_requested_reviewers": [] + }, + "final_production_browser": { + "at": "2026-11-18T06:08:43.852Z", + "errors": [], + "actions": [ + { + "id": "postmortem-review:1217937112404448", + "work_url": "https://app.asana.com/1/137249556945/project/45878998844068/task/1217937112404448", + "steps": 3, + "source_start_date": null + }, + { + "id": "clarification:1220528695906856", + "work_url": "https://app.asana.com/1/137249556945/task/1220528695906856", + "steps": 3, + "source_start_date": true + } + ], + "widths": { + "390": { + "overflow": false, + "accordions": 0 + }, + "768": { + "overflow": false, + "accordions": 0 + }, + "1440": { + "overflow": false, + "accordions": 0 + } + }, + "pulls": { + "waiting_context": "#/tasks/1220428304004508", + "policy_classification": true, + "is_draft": true, + "opened_context": "http://127.0.0.1:4317/#/tasks/1220428304004508" + }, + "plan": { + "status": "current", + "run_id": "48060b28-21f4-421d-86c8-af86fa78af03", + "available": 412, + "planned": 189, + "reserve": 124 + }, + "week": { + "status": "draft", + "days": [ + { + "date": "2026-11-18", + "action_ids": [ + "postmortem-review:1217937112404448", + "clarification:1220528695906856" + ] + } + ] + } + }, + "process_and_history": { + "process_audit": { + "http": 200, + "checked": 18, + "unchecked": { + "stale_or_conflicted": 13, + "incomplete_snapshot": 0 + }, + "issue_kinds": { + "project": 7, + "tech_design": 4, + "midmortem": 1, + "postmortem": 1, + "kickoff": 2 + }, + "td_missing_registry_flag": false + }, + "work_day_summary": { + "http": 200, + "date": "2026-11-17", + "results": 11, + "work_threads": 12, + "result_fields": [ + "id", + "kind", + "title", + "url", + "at", + "task_gid", + "excerpt", + "work_title", + "project", + "ancestors" + ], + "coverage": null, + "matching_controls": [ + { + "title": "SIGKILL WKWebExtensionController.loadCopyingErrors", + "has_source": true + }, + { + "title": "DRI <> PA async task for Trim the Apple C-S-S bundle and isolated world", + "has_source": true + }, + { + "title": "Shift in compilation timing for post-onboarding rules compilation", + "has_source": true + } + ] + } + }, + "d15_live": { + "status": "verified_and_admitted", + "plan_run_id": "48060b28-21f4-421d-86c8-af86fa78af03", + "estimate_minutes": 180, + "start_on": "2026-11-18" + }, + "git_commit": { + "status": "committed", + "branch": "windmill-system-map", + "sha": "a9b452e", + "push_status": "remote_not_configured" + } +} diff --git a/personal/projects/personal-os/personal-os-first-day.md b/personal/projects/personal-os/personal-os-first-day.md index d3d2fa6c..0b8a9844 100644 --- a/personal/projects/personal-os/personal-os-first-day.md +++ b/personal/projects/personal-os/personal-os-first-day.md @@ -6,11 +6,13 @@ 1. Открыть **Сегодня** из короткой сводки Telegram или напрямую. Прочитать выбранные действия, причины выбора, следующий шаг и ожидаемый результат. 2. Нажать **Открыть в Asana** или **Открыть в GitHub**, чтобы перейти к точному объекту работы. Контекст и первоисточники доступны рядом с действием. -3. Открыть [Настройки дня](http://127.0.0.1:4317/#/day-settings), если изменилась доступность. По умолчанию учитывается оставшееся время до 19:00 по Бишкеку; при необходимости задаётся отдельный лимит на этот день. -4. По желанию указать настроение, энергию или облегчённый режим. Низкая энергия и облегчение уменьшают предлагаемый объём; отсутствие самооценки не означает высокий ресурс. +3. Открыть [Настройки дня](http://127.0.0.1:4317/#/day-settings), если изменилась доступность. По умолчанию учитывается оставшееся время до 19:00 по Бишкеку; при необходимости задаётся отдельный лимит на этот день. Нажать **Сохранить доступность**. +4. По желанию указать настроение, энергию или облегчённый режим. Низкая энергия и облегчение уменьшают предлагаемый объём; отсутствие самооценки не означает высокий ресурс. Нажать **Сохранить самочувствие и режим**. В панели времени различаются доступность, запланированная работа, ревью, резерв и свободный остаток. Оценка длительности действия не является отработанным временем. +После 19:00 экран показывает **Рабочий день завершён** и переход к итогам. Это окончание рабочего окна, а не потеря списка задач. + ## Работа и ожидания Выполнять действие в его рабочем инструменте. Система подготавливает контекст и рекомендации; внешние ответы и изменения остаются отдельными действиями. diff --git a/raw/personal-os-catchup-plan-2026-04-27.md b/raw/personal-os-catchup-plan-2026-04-27.md index fe36df4b..d57c3afc 120000 --- a/raw/personal-os-catchup-plan-2026-04-27.md +++ b/raw/personal-os-catchup-plan-2026-04-27.md @@ -1 +1 @@ -/Users/admin/Developer/personal-os/planning/personal-os-catchup-plan-2026-04-27.md \ No newline at end of file +/Users/admin/Developer/personal-os/planning/personal-os-action-plan-2026-10-05.md \ No newline at end of file diff --git a/raw/personal-os-state-2026-04-27.md b/raw/personal-os-state-2026-04-27.md index 5cf2d332..fb30807c 120000 --- a/raw/personal-os-state-2026-04-27.md +++ b/raw/personal-os-state-2026-04-27.md @@ -1 +1 @@ -/Users/admin/Developer/personal-os/planning/state-2026-04-27-final.md \ No newline at end of file +/Users/admin/Developer/personal-os/planning/personal-os-production-acceptance.md \ No newline at end of file diff --git a/wiki/personal-os-catchup-plan-2026-04-27.md b/wiki/personal-os-catchup-plan-2026-04-27.md index 75e8c6ca..f3afb940 100755 --- a/wiki/personal-os-catchup-plan-2026-04-27.md +++ b/wiki/personal-os-catchup-plan-2026-04-27.md @@ -1,127 +1,3 @@ ---- -source: raw/personal-os-catchup-plan-2026-04-27.md -content_hash: 5081ceb719104e1b7c6b5edd642c1daf38b3fd7cf1a96442a00516e7cdb15379 -namespace: work -last_synced: 2026-06-01 -confidence: 0.8 -tags: [personal-os, planning, executor, catchup] ---- +# Personal OS -# Personal OS — Catch-Up Plan (2026-04-27) - -> ⛔ **УСТАРЕЛО (исполнен в апреле 2026, система затем выключена).** См. [[personal/projects/personal-os/personal-os-status-2026-10]]. - -Handoff doc for the executor agent: what to build next and why. Companion -to [[personal-os-state-2026-04-27]] (state snapshot). All open questions -resolved at write time; postponed: NAS migration, personal, Phase 2-family. - -## Architectural Principle - -**No new YAML files, no new shell scripts, no new launchd plists.** -Everything extends existing components: postgres tables, -`generate-status.js` queries, prompt files in `agent/prompts/`, Eagle's -SOUL.md rules. The system has enough moving parts. - -## Nine Deliverables (Dependency Order) - -### 1. Schema migration -Three additions to [[personal-os-schema]]: -- `corrections_log` — Tactic records pushback by `reason_tag`, - Retrospector aggregates patterns. Table beats markdown because - Retrospector needs `GROUP BY`. -- `executor_runs` — state machine for autonomous executor work - (`analyzing → awaiting_analysis_approval → fixing → pr_open → - ci_running → ci_failed → awaiting_user → complete`). Survives - worker crashes mid-run. -- `activity_daily.quadrant` column — `project | aor | career | - strategy | other` for Retrospector drift detection. - -### 2. `generate-status.js` — three new query blocks -- **Advisor pipeline**: last 14d advisor-tagged tasks → new `## ⚡ Career` - section. Empty result → omit (no noise). -- **Visibility gaps**: open Assessment / O-N / O-L tasks where Alex - hasn't commented in 7+ days → `## 📊 Visibility` section. -- **Quadrant classification at AW write time**: map project → quadrant - using a static map plus a *dynamic* "current top priority" slot read - from config so it shifts as focus shifts. - -### 3. `inbox-triage.md` STEP 0 -Gating + scope filter at prompt level (not wrapper) so the agent can -override on edge cases: -- Active calendar meeting → silent exit. -- `focus_score > 60` + Xcode/Cursor + 20+ min uninterrupted → silent - unless 🔴 section is 3h+ stale. -- Scope: only **new** signal (new human comments, new assignments, - Ship/TD status changes, new mentions). **Never** overdue tasks - (those belong in `daily-brief`, not `#inbox`). - -### 4. `retrospector.md` — SQL-based blocks -- Correction patterns: `reason_tag` count ≥ 3 in last 4 weeks. -- Quadrant drift: pivot weeks × quadrants; flag any quadrant < 5% for - 3+ weeks. Career quadrant gets strongest flag — it's first to collapse. -- Visibility: weekly count of strategic comments — measurable proxy - for the "thin Strategic Leadership" EP3 gap. - -### 5. Eagle SOUL.md — corrections_log writeback -On any user pushback, classify `reason_tag` and `INSERT INTO -corrections_log` *before* responding. Eagle writes, no separate hook — -the natural moment to capture a correction is during the conversation. - -### 6. Executor v2 — draft-PR flow -**Single human gate**: Analysis approval. Then autonomous: -worktree → build → test → branch → push → `gh pr create --draft ---assignee @me` (no `--reviewer`) → self-review comment → CI loop -(poll every 10 min, auto-fix up to 3 attempts, escalate on exhaustion). - -Hard prohibitions baked into the prompt: never push to `main` / -`develop` / `release/*`, never non-draft PR, never `--reviewer`, never -`gh pr merge`, never modify `.github/` or CI configs without explicit -thread confirmation. - -Draft + `assignee=@me` + no reviewers = durable surface visible in -"assigned to me" without dragging the team into WIP work. - -### 7. Microsoft 365 MCP into Hermes -Wire `outlook_calendar_search` into the Hermes MCP config so -`inbox-triage`, `weekly-plan`, and `daily-brief` can all check for -active meetings. STEP 0 gating depends on this. Wire once at the -config layer, not per prompt. - -### 8. Vault consolidation -Move process docs from `~/Developer/personal-os/` into -`~/obsidian/work/wiki/`. Runtime files (`system-prompt.md`, -`agent/prompts/*.md`, SOUL/IDENTITY) **stay in place**. -**Decision rule**: process/convention → vault; runtime config → -original location. **Copy** (don't move) `apple-browsers/.cursor/*.mdc` -files because Cursor IDE still reads them in-tree. Verification step -is non-negotiable — run each prompt/skill end-to-end after the move. - -### 9. Executor PR template (Option B — inline) -Team PR template requires manual confirmation of task / reviewer / -description. For the autonomous flow all three are deterministic. -Inline a variant in the executor prompt that auto-generates the body -(task link, root cause, fix summary, build/test status, self-review -checklist, notes for reviewer). Draft state is the safety net. - -## Execution Order - -Items 1–9 are largely independent; only Executor v2 (item 6 prompt -rewrite) requires schema (1), vault consolidation (8), and PR template -(9) first. Each step ends with a concrete test (insert a row, run a -query, post to thread, etc.). - -## "Done" Looks Like - -1. Retrospector says specific things ("deferred 4×", "Career <5% for 3 - weeks", "3 strategic comments vs 0"). -2. `#inbox` stays signal-dense — empty or 1–2 entries most days, no - pings during meetings. -3. `status.md` has a `## ⚡ Career` section. -4. Pushback in any channel → one DB row, no ceremony. -5. "fix [task]" in `#executor` → analysis → approval → draft PR within - 30 min for trivial bugs, CI runs autonomously. -6. Vault is the one searchable surface for `.mdc`, UI testing skill, - and process docs via [[obsidian-mcp]]. - -## Related -[[personal-os-state-2026-04-27]] [[personal-os-schema]] [[wiki-ingest-process]] [[ddg-asana-workflow]] +Актуальный документ: [Personal OS](../personal/projects/personal-os/personal-os-action-plan-2026-10-05.md). diff --git a/wiki/personal-os-schema.md b/wiki/personal-os-schema.md index b228621a..c9c71a08 100755 --- a/wiki/personal-os-schema.md +++ b/wiki/personal-os-schema.md @@ -1,100 +1,3 @@ ---- -source: raw/schema.sql -content_hash: 71b47e47b483834c887de14c76d5b16506d90ad64198d76a92a7b3731132dab8 -namespace: work -last_synced: 2026-06-01 -confidence: 0.9 -tags: [personal-os, postgres, schema, database] ---- +# Personal OS -# Personal OS — Postgres Schema - -The `personal_os` database is the durable store behind the Personal OS. It -holds Asana state, the agent's annotations, the wiki, and semantic memory. -Created with `psql -U admin -d personal_os -f schema.sql`. - -## Extensions - -- `vector` — pgvector, used for embeddings (tasks, wiki, memory) -- `pg_trgm` — trigram GIN index on `tasks.name` for fuzzy search - -## Core Tables - -### `tasks` -One row per Asana task GID, upserted every sync. Mirrors enough of the Asana -task object to answer questions without round-tripping. `source` tracks -*how* we discovered the task: `my_tasks` | `following` | `delegated` | -`project` — highest-priority single value when multiple apply. Includes -`possibly_deleted` + `last_seen_in_full_sync` for soft deletion. The full -API response is preserved in `raw_json` (JSONB). - -### `stories` -Raw Asana event log per task. `resource_subtype` is Asana's event type -(`comment_added`, `assigned`, `due_date_changed`, `section_changed`, etc.). -Both `text` and `html_text` are kept — the HTML lets us parse embedded task -GID references for [[task-edges]]. - -### `task_edges` -Directed graph of task→task relationships. `relation_type`: -`subtask` | `dependency` | `dependent` | `project_sibling` | `mention`. -`related_gid` may not yet exist in `tasks` (edges can point to unfetched -tasks). - -### `task_annotations` -Agent-written (or user-written) notes about tasks. `annotation_type`: -`irrelevant` | `watching` | `needs_action` | `snoozed`. The `note` column -holds the agent's reasoning. Tracked by `annotated_by` (`agent` | `user`). - -### `sync_state` -One row per logical sync stream. Keys include `my_tasks`, `following`, -`delegated`, `project:{gid}`, `workspace_events`. `cursor` is either an ISO -timestamp (`modified_since`) or an Events API sync_token. - -## Embeddings & Wiki - -### `task_embeddings` -1024-dim Voyage AI embeddings per task, HNSW index for cosine similarity. - -### `file_references` -Files / URLs queued for wiki ingest. `bookmark_data` stores macOS -security-scoped bookmarks (BYTEA). `wiki_stale=true` → next [[wiki-ingest-process]] -run will process it. `modification_log` (JSONB) keeps a hash-change trail. - -### `wiki_pages` -LLM-synthesised pages. `content` is markdown synthesis, **never** a raw -copy. `sources` (JSONB) links back to `file_references`. `superseded_by` -chains old versions. 1536-dim embedding for semantic search. -`confidence` — 0.6 inferred, 0.8 default, 0.9 structured source, 1.0 -human-written. - -### `memory_store` -Semantic memory accumulated from Discord / Claude / manual entries. -`type`: `fact` | `preference` | `decision` | `person`. `source`: -`discord` | `claude` | `manual`. Optional `expires_at` (null = permanent). - -## Namespacing - -All core tables carry `namespace TEXT NOT NULL DEFAULT 'work'`, constrained -to `work` | `personal` | `family`. Lets one DB serve multiple Personal OS -contexts without cross-leakage. - -## Views - -### `active_tasks` -Convenience view: not completed, not annotated `irrelevant`, not snoozed -into the future. Ordered by `source` priority (my_tasks → delegated → -following → project), then `due_on`, then `modified_at DESC`. The agent's -default starting point for daily review. - -## Key Design Choices - -- Asana stays the source of truth — DB is a queryable cache. -- `raw_json` on tasks preserves un-modeled fields without schema churn. -- `task_edges.related_gid` is intentionally not a foreign key — we record - references to tasks we haven't fetched. -- Annotations are append-keyed by `(task_gid, annotation_type)` so the - agent can have one note per category without overwriting history via - the [[corrections-log]] table. - -## Related -[[personal-os-state-2026-04-27]] [[wiki-ingest-process]] [[personal-os-catchup-plan-2026-04-27]] [[ddg-asana-workflow]] +Актуальный документ: [Personal OS](../personal/projects/personal-os/personal-os-architecture.md). diff --git a/wiki/personal-os-state-2026-04-27.md b/wiki/personal-os-state-2026-04-27.md index a3f73ba9..361375f9 100755 --- a/wiki/personal-os-state-2026-04-27.md +++ b/wiki/personal-os-state-2026-04-27.md @@ -1,133 +1,3 @@ ---- -source: raw/personal-os-state-2026-04-27.md -content_hash: 1640cb63145b49263b9476e2c39fe443ac561fdf6c27faccc50cfc8568552614 -namespace: work -last_synced: 2026-06-01 -confidence: 0.8 -tags: [personal-os, state, snapshot, executor] ---- +# Personal OS -# Personal OS — State Snapshot (2026-04-27) - -> ⛔ **УСТАРЕЛО.** Текущее состояние: [[personal/projects/personal-os/personal-os-status-2026-10]]. - -Current state after the [[personal-os-catchup-plan-2026-04-27|catch-up -plan]] executed. Supersedes `state-2026-04-27.md` and -`personal-os-plan-v3.md`. - -## Infrastructure (✅ Live) - -| Component | Notes | -|-----------|-------| -| PostgreSQL `personal_os` | tasks, stories, task_edges, sync_state, signal_queue, activity_daily — see [[personal-os-schema]] | -| `sync.js` | 4-source Asana fetch, incremental deltas, `sweepRecentlyCompleted()` | -| `generate-status.js` | DB → `status.md` + `asana_context.md`, `possibly_deleted` filter fixed | -| ActivityWatch | DDG browser watcher + Xcode watcher | -| Hermes v0.11.x | launchd `ai.hermes.gateway`, Claude Code OAuth, `claude-sonnet-4-6` | -| Discord bot `Орёл#0898` | No `@`-mention required; channels: `#daily-brief #inbox #focus #executor #projects #journal #retrospector` | - -## Automation - -**Hermes cron** (workdays): data-pipeline `*/30`, morning-brief 08:30, -eod-summary 18:00, inbox-check `*/30 9-19`, weekly-plan Mon 08:00, -weekly-review Fri 17:00, retrospector Fri 17:30, commit-vault 23:00. - -**launchd** (fires on wake): `personal.os.heartbeat` `:05` hourly -(watchdog), `personal.os.wiki-ingest` 22:00 daily (see -[[wiki-ingest-process]]). - -## Vault Layout - -Git remote: `ssh://truenas_admin@mallexxx.duckdns.org/mnt/RED_2TB/storage/git/obsidian-vault.git` - -``` -~/obsidian/ -├── wiki/ ← LLM-generated (this skill) + human-written (confidence 1.0) -├── raw/ ← symlinks to external sources -├── work/ ← Eagle write zone (projects/, decisions/, tech-design/) -├── personal/ -└── family/ -``` - -## Agent Prompts (`agent/prompts/`) -`daily-brief`, `weekly-plan`, `weekly-review`, `inbox-triage`, -`generate-status`, `wiki-ingest`, `executor-bug-fix`, -`executor-td-review`. - -## Catch-up Plan — Execution Status - -All ten items shipped: -1. Schema migration ✅ (corrections_log, executor_runs, activity_daily.quadrant) -2. MS365 MCP 🟡 — cloud connector works in Claude Code; Hermes `claude -p` will pick it up once exposed to the CLI env. No local npm package available. -3. `inbox-triage` STEP 0 ✅ -4. Advisor + visibility + executor queue queries ✅ (first run: 5 advisor opps, 8 visibility gaps, 10 executor queue items) -5. Quadrant classification + `upsertActivityDaily` ✅ -6. Retrospector SQL blocks ✅ -7. SOUL.md writeback to `corrections_log` ✅ -8. Vault consolidation ✅ (43 `.cursor/rules/*.mdc` files in `~/obsidian/work/wiki/apple-browsers/`) -9. Inline PR template ✅ -10. Executor v2 prompt ✅ (prompt written; not yet exercised on a real task) - -## Open Items - -| Item | Status | -|------|--------| -| Executor v2 end-to-end live run | 🟡 not yet exercised | -| `work/projects/` | 🟡 empty — Eagle fills on first relevant convo | -| MS365 MCP in Hermes runtime | 🟡 blocked on CLI env exposure | -| Phase 2-family | 🔴 deferred until after Phase 4 | - -## Executor v2 — Design Summary - -On-demand worker that evaluates the backlog, picks a task, spawns a -sub-agent in a Discord thread under `#executor`, streams progress, -opens a draft PR, self-reviews, runs a CI poll loop (every 10 min, 3 -auto-fix attempts), and surfaces summaries in daily/weekly briefs. - -Trigger modes: user-initiated (`fix [task]` in `#executor`), scheduled -(Friday weekly-review suggests next), and status-driven -(`## ⚡ Executor Queue` in `status.md`). - -Task qualification SQL: assigned to me, not completed, not -`possibly_deleted`, no stories in 14 days, due in next 30 days. - -Worktree path: `~/DuckDuckGo/apple-browsers.git/.claude/worktrees/executor-{gid}-{slug}/`. -Scheme: `DuckDuckGo macOS` (workspace required, `xcbeautify` required). - -Cleanup on merge/close: `git worktree remove --force` + -`git push --delete executor/` + stop/delete VM if used. - -## Key Divergences From Plan v3 (Reasoning) - -1. **wiki-ingest moved from Hermes cron → launchd `claude -p`** — - needs local filesystem (read raw, write vault); Hermes agents only - touch the API. -2. **`personal-wiki` MCP → `obsidian-mcp`** — the custom DB-backed - wiki was never finished; standard package over `~/obsidian/` - replaces it. `wiki_pages` / `file_references` tables dropped. -3. **Per-job launchd plists → single hourly heartbeat** — one - watchdog reads `jobs.json` and triggers missed one-per-day jobs. - Frequent jobs self-recover within Hermes's 2-hour grace window. -4. **Retrospector split out of weekly-review** — separate prompt, - separate cron, separate `#retrospector` channel; weekly-review - rewritten without duplicate `OUTPUT FORMAT` blocks. -5. **NAS git path `/home/...` → `/mnt/RED_2TB/storage/git/`** — boot - pool is wiped on TrueNAS OS update; persistent data must live on - `/mnt/`. -6. **Phase 2-family deferred** — VPS + family Hermes + iCloud vault - sync waits until Executor v2 (Phase 4) proves itself. -7. **Executor v1 = manual-only STOP gates** — first autonomous code - agent ships conservative; v2 (single gate + PR/CI loop) follows. -8. **wiki-ingest rewritten DB-first → file-based** — vault is now - source of truth; SHA256 content_hash in frontmatter does - incremental sync without DB dependency. See [[wiki-ingest-process]]. - -## Known Tech Debt - -- Morning brief not yet smoke-tested in production -- `executor-bug-fix.md` v1 is the live prompt — needs replacement with v2 -- NAS SSH key still in boot-pool `/home` — must migrate to `/mnt/RED_2TB/` -- Hermes memory (`~/.hermes/memory/`) not backed up - -## Related -[[personal-os-catchup-plan-2026-04-27]] [[personal-os-schema]] [[wiki-ingest-process]] [[ddg-asana-workflow]] +Актуальный документ: [Personal OS](../personal/projects/personal-os/personal-os-production-acceptance.md).