Актуальные материалы: review 13 · исследование GitHub-компонентов · Прогресс P0–P9 · JSON-снимок · SHA-256 manifest · Запрос разрешений · Журнал

Следующее решение владельца

Чтобы закрыть U01, достаточно прислать это разрешение:

Разрешаю один read-only проход PostgreSQL catalog-only по D29 P0: только метаданные схем, таблиц, колонок, ключей, FK, constraints, индексов и версий миграций; без пользовательских строк, секретов, записи, блокировок, миграций и изменения прав. Опубликовать только обезличенный отчёт и receipt.

Полный запрос и остальные границы

Mathcast / Главред / D29 / P0

Consultant context pack

Fresh read-only inventory for an AI consultant. D29 remains a research proposal. This page is the single shareable context URL for review before any P1 or implementation work.

Shared dialogue: open the chronological dialogue log

Date: 2026-09-26 ? Status: READ_ONLY_COMPLETE_WITH_UNKNOWN

2013local files in SHA scope
0same relative paths in Work
8critical UNKNOWN/BLOCKED

[1] How to read this page

[2] Runtime state

ComponentStateUnit stateObserved command/pathEvidence
Editor APIactive / runningenabled127.0.0.1:8134; uvicorn app.main:appE01
Editor workerinactive / deaddisabledworker_entrypoint.py; --dry-runE02
D15 writer workerinactive / deaddisabledpython -m d15_writer.workerE03
Profile APIactive / runningenabledprofile_api.pyE04
Scrapegraphactive / runningenabledscrapegraph-helper.pyE05
Backup timersactive / waitingenabledbackup, scrape, mail, caretaker, trash cleanupE06

Runtime roots: /mnt/ssd_projects/apps/mathchast_editor, /mnt/ssd_projects/apps/d15_writer, /mnt/data10tb/sites/mathchast/profile-api.

[3] Live probes

ProbeURLHTTPObservation
D29 planhttps://work.mathchast.com/docs/d29-rag-plan.html200UTF-8 HTML; SHA captured
Editor healthhttps://work.mathchast.com/api/editor/v1/health200JSON; GET only
D22 healthhttps://work.mathchast.com/api/editor/v1/d22/health200JSON; GET only
Public roothttps://mathchast.com/200Next markers and /_next/static/
Public abouthttps://mathchast.com/about/200Next markers and /_next/static/
Profile statushttps://mathchast.com/profile-api/v1/status200JSON; GET only

[4] Local/live comparison

Selected local scope: services/, d22-backend/, public-site/app/, public-site/components/, tools/, deploy/.

Comparison target: same relative paths below /mnt/data10tb/sites/mathchast/work.

[
  {
    "url": "https://work.mathchast.com/docs/d29-rag-plan.html",
    "status": 200,
    "bytes": 104269,
    "sha256": "b71b5207496d25bd9b6c6523b9c6764af154ea0d8991d81b1cb1f6cfd9ad9c46"
  },
  {
    "url": "https://mathchast.com/",
    "status": 200,
    "bytes": 42037,
    "sha256": "008fb249a6e43ca5a8b1c54f0b118e174c257a276560d4d1a216d97c9db1c063"
  },
  {
    "url": "https://mathchast.com/about/",
    "status": 200,
    "bytes": 20134,
    "sha256": "bd37059c10497de388c26117f9d08e552a5c3d43b265a32af255c5bd3b6907cd"
  }
]

[5] API and schema registry

Runtime API families

FamilyObserved route examples
catalogGET /api/editor/v1/catalog; GET /api/editor/v1/catalog/content
articles/workspace/versionsGET /api/editor/v1/articles; GET /api/editor/v1/articles/{article_id}/workspace; GET /api/editor/v1/articles/{article_id}/versions
scrapeGET/POST /api/editor/v1/scrape/jobs; GET/POST /api/editor/v1/scrape/batches; GET /api/editor/v1/scrape/storage
translationGET/POST /api/editor/v1/translate/jobs; POST /api/editor/v1/translate/bulk
work-filesGET /api/editor/v1/work/files; POST /api/editor/v1/work/files/upload; POST /api/editor/v1/work/files/promote
d22GET /api/editor/v1/d22/health; GET/POST /api/editor/v1/d22/jobs
sessionGET /api/editor/v1/session; POST /api/editor/v1/session/unlock
reviewsPOST /api/editor/v1/reviews
mailGET /api/editor/v1/mail/status; GET /api/editor/v1/mail/messages

Local API routes

[
  {
    "methods": [
      "GET"
    ],
    "path": "/api/editor/v1/health",
    "source": "d22-backend/main.py"
  },
  {
    "methods": [
      "GET",
      "POST"
    ],
    "path": "/api/editor/v1/d22/jobs",
    "source": "d22-backend/d22_receiver_api.py"
  },
  {
    "methods": [
      "GET"
    ],
    "path": "/api/editor/v1/d22/health",
    "source": "d22-backend/d22_receiver_api.py"
  },
  {
    "methods": [
      "GET"
    ],
    "path": "/api/editor/v1/foundation/catalog",
    "source": "services/foundation_api.py"
  },
  {
    "methods": [
      "GET"
    ],
    "path": "/api/editor/v1/foundation/articles",
    "source": "services/foundation_api.py"
  },
  {
    "methods": [
      "POST"
    ],
    "path": "/api/editor/v1/foundation/transfer-to-raw",
    "source": "services/foundation_api.py"
  }
]

Public profile routes observed in local Next.js

[
  "/profile-api/v1/status",
  "/profile-api/v1/account/me",
  "/profile-api/v1/account/register",
  "/profile-api/v1/account/login",
  "/profile-api/v1/account/logout",
  "/profile-api/v1/account/delete",
  "/profile-api/v1/account/logout-all",
  "/profile-api/v1/consent",
  "/profile-api/v1/withdraw",
  "/profile-api/v1/events",
  "/profile-api/v1/offer-dismiss",
  "/profile-api/v1/offer-status"
]

Local schema evidence

services/007_project_scope.sql defines platform.project. services/d15_writer/schema.sql defines editorial.d15_writer_task and editorial.d15_writer_task_event. Live DB schema and applied migration state are UNKNOWN.

[6] Identifier and relation map

IdentifierWhere observedStatus
job_idD22, scrape, translation, save-internet, popularity, video routesobserved
article_idarticle workspace, annotations, versions, previewsobserved
version_idarticle version preview/restoreobserved
source_idscrape source registryobserved
batch_idbatch scrape routesobserved
page_keyD22 page view/assetsobserved
platform.projectlocal SQL migration 007local_schema_only
editorial.d15_writer_tasklocal D15 schemalocal_schema_only
editorial.d15_writer_task_eventlocal D15 schemalocal_schema_only

Observed relations

[7] D29 compatibility

D29 areaCurrent evidenceCompatibilityBlocking evidence
Canonical article identity and versionsArticle/version routes existPARTIALCanonical ID semantics and live constraints UNKNOWN
Ingestion/source registryScrape jobs, batches, sources, D22 and save-internet families existPARTIALDurable event model not verified
RAG knowledge indexHermes RAG root and Open WebUI Chroma DB observed; D29 integration not provenPARTIALRAG exists; D29 ownership, corpus and freshness still require evidence
Worker executionAPI active; editor and D15 workers inactive/disabledBLOCKEDNo production worker execution evidence
Publication/release gatePromote/release-package routes exist; public site is livePARTIALExact publication path UNKNOWN
Public Next.js data sourceLive HTML has Next markers; local static content existsPARTIALRuntime build/source and content provenance UNKNOWN
Backups and restoreTimers and dated .backups artifacts existPARTIALRestore drill unverified
Privacy/retention/accessProfile API active; client routes existPARTIALLive tables, retention and access evidence UNKNOWN

[8] Critical UNKNOWN and BLOCKED register

IDStatusQuestionBasis
U01UNKNOWNWhat live PostgreSQL database, schema, tables and constraints back the runtime editor API?No live DB read-only schema query performed; local SQL is not proof of live state.
U02BLOCKEDCan local source be matched to deployed runtime source by SHA-256?Runtime root differs from local/Work roots; Work-relative comparison found 2013 remote-missing paths.
U03BLOCKEDIs the editor worker operational?systemd inactive/dead and disabled; configured command includes --dry-run.
U04UNKNOWNWhat exact publication job copies approved content into the public Next.js artifact?Public site is live, but runtime public-site source path absent and no publication trace was executed/read.
U05UNKNOWNWhich RAG index/vector store and ingestion freshness policy exist in production?No verified RAG service/index found in inspected runtime roots.
U06UNKNOWNAre backup artifacts restorable and has restore been tested?Timers and backup files exist; no restore test evidence.
U07UNKNOWNWhat are authorization boundaries and tenant ownership for article/job identifiers?Route inventory alone does not establish auth or ownership.
U08UNKNOWNWhich local files are authoritative for the runtime checkout?Several local implementations and separate server runtime tree coexist.

Protected paths not inspectable

[9] Backup evidence

[10] Proposed P1 and required permissions

  1. Map exact deployed runtime source to a local checkout and compare hashes.
  2. Use a dedicated read-only database role for tables, columns, indexes, constraints and migration history.
  3. Trace approved work file/release package to the public Next.js artifact.
  4. Inspect worker queue, lease state and recent logs without starting workers.
  5. Identify RAG/index implementation, corpus source and freshness evidence.
  6. Validate backup manifests and plan an isolated restore drill.

Required permissions: read-only SSH/runtime access; read-only DB role; protected Work/release manifest inspection; worker queue/log inspection; separate approval for any restore drill; separate approval before any implementation or publication change.

P1 has not started. Owner decision is required.

[11] Machine-readable appendix

The full source artifacts remain available locally and can be published separately if needed:

Inventory JSON

{
  "schema": "d29-p0.inventory.v1",
  "date": "2026-09-26",
  "status": "READ_ONLY_COMPLETE_WITH_UNKNOWN",
  "scope": {
    "local_workspace": "H:\\__=PYTON_PROJECTS=\\CLI_Freeman\\18_MathChast",
    "remote_work": "/mnt/data10tb/sites/mathchast/work",
    "remote_runtime_editor": "/mnt/ssd_projects/apps/mathchast_editor",
    "remote_runtime_writer": "/mnt/ssd_projects/apps/d15_writer",
    "remote_profile_api": "/mnt/data10tb/sites/mathchast/profile-api",
    "public_urls": [
      "https://mathchast.com/",
      "https://work.mathchast.com/"
    ]
  },
  "evidence": [
    {
      "id": "E01",
      "basis": "systemctl show mathchast-editor-api.service",
      "finding": "active/running, enabled, uvicorn app.main:app on 127.0.0.1:8134"
    },
    {
      "id": "E02",
      "basis": "systemctl show mathchast-editor-worker.service",
      "finding": "inactive/dead, disabled, entrypoint includes --dry-run"
    },
    {
      "id": "E03",
      "basis": "systemctl show d15-writer-worker.service",
      "finding": "inactive/dead, disabled"
    },
    {
      "id": "E04",
      "basis": "systemctl show mathcast-profile-api.service",
      "finding": "active/running, enabled"
    },
    {
      "id": "E05",
      "basis": "systemctl show mathchast-scrapegraph.service",
      "finding": "active/running, enabled"
    },
    {
      "id": "E06",
      "basis": "systemctl show backup timers",
      "finding": "backup, scrape-backup, mail-offsite-backup, caretaker, trash-cleanup timers active/waiting and enabled"
    },
    {
      "id": "E07",
      "basis": "HTTP GET live endpoints",
      "finding": "D29 page 200; editor health endpoints 200; public root/about 200; profile status 200"
    },
    {
      "id": "E08",
      "basis": "local source and runtime scan",
      "finding": "local Next.js source exists; runtime public-site under Work is absent; runtime editor app has 116 non-excluded files and 59 code files"
    },
    {
      "id": "E09",
      "basis": "local SQL scan",
      "finding": "local migrations define platform.project and editorial.d15_writer_task plus event table; live DB schema not queried"
    },
    {
      "id": "E10",
      "basis": "remote backup scan",
      "finding": "remote Work .backups exists and contains dated D15 artifacts including a 1.3 MB pre-writer database dump"
    }
  ],
  "local_components": [
    "d22-backend",
    "services",
    "public-site",
    "deploy",
    "tools"
  ],
  "runtime_components": [
    "mathchast-editor-api",
    "mathchast-editor-worker",
    "d15-writer-worker",
    "mathcast-profile-api",
    "mathchast-scrapegraph"
  ],
  "public_data_source": {
    "observed": "Next.js output with __next_f and /_next/static/",
    "local_source": "public-site/app plus public-site/content",
    "server_source": "UNKNOWN: /mnt/data10tb/sites/mathchast/public-site absent",
    "content_origin": "UNKNOWN: runtime publication input not independently proven"
  },
  "database": {
    "local_schema_files": [
      "services/007_project_scope.sql",
      "services/008_source_job.sql",
      "services/d15_writer/schema.sql",
      "services/d15_writer/schema_v2_agent_layer.sql"
    ],
    "live_schema": "UNKNOWN",
    "live_connection": "NOT_ATTEMPTED"
  }
}