Skip to content

Stop client-side analysis orchestration#45

Open
konard wants to merge 3 commits into
mainfrom
issue-44-82f0e7de3e02
Open

Stop client-side analysis orchestration#45
konard wants to merge 3 commits into
mainfrom
issue-44-82f0e7de3e02

Conversation

@konard
Copy link
Copy Markdown
Collaborator

@konard konard commented May 16, 2026

Summary

  • replace the mobile upload helper with an upload-only job tracking flow
  • stop the upload screen from calling OCR and AI Edge Functions directly
  • update contract tests and docs for the production model where backend queue/trigger/cron advances analysis_jobs

Verification

  • npm test
  • cd frontend/mobile && npm install
  • cd frontend/mobile && npm run typecheck

Fixes #44

Adding .gitkeep for PR creation (default mode).
This file will be removed when the task is complete.

Issue: #44
@konard konard self-assigned this May 16, 2026
@konard konard changed the title [WIP] 0.14 Stop client-side analysis orchestration May 16, 2026
@konard konard marked this pull request as ready for review May 16, 2026 18:38
@konard
Copy link
Copy Markdown
Collaborator Author

konard commented May 16, 2026

Working session summary

Implemented and pushed the fix to issue-44-82f0e7de3e02.

PR 45 is updated and ready for review: #45

What changed:

  • Replaced client-side uploadAnalysisAndRunPipeline with upload-only uploadAnalysisFileAndTrackJob.
  • Updated the upload screen so it uploads the file, shows analysis_id, job.id, and current analysis_jobs status, but no longer calls OCR/AI directly.
  • Updated contract tests to enforce that the client uploads via signed URL and does not orchestrate OCR/AI.
  • Documented issue 44 stage 0.14 in docs/Реализация.md.

Verification:

  • npm test passed.
  • cd frontend/mobile && npm install completed.
  • cd frontend/mobile && npm run typecheck passed.
  • Working tree is clean.

CI note: GitHub shows no workflow runs/checks for this branch yet (statusCheckRollup empty, gh run list returned none).


This summary was automatically extracted from the AI working session output.

@konard
Copy link
Copy Markdown
Collaborator Author

konard commented May 16, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Model: GPT-5.5
  • Provider: OpenAI
  • Public pricing estimate: $3.201763

📊 Context and tokens usage:

  • 126.8K / 1.1M (12%) input tokens, 7.2K / 128K (6%) output tokens

Total: (126.8K + 1.6M cached) input tokens, 7.2K output tokens, $3.201763 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-5.5
  • Model: GPT-5.5 (gpt-5.5)

📎 Log file uploaded as Gist (11613KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard
Copy link
Copy Markdown
Collaborator Author

konard commented May 16, 2026

✅ Ready to merge

This pull request is now ready to be merged:

  • No CI/CD checks are configured for this repository
  • No merge conflicts
  • No pending changes

Monitored by hive-mind with --auto-restart-until-mergeable flag

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.

0.14

1 participant