Skip to content

Phase 3: measure bounded resource use - #20

Merged
Muawiya-contact merged 2 commits into
mainfrom
chore-phase3-resource-evaluation
Nov 14, 2026
Merged

Muawiya-contact merged 2 commits into
mainfrom
chore-phase3-resource-evaluation

Conversation

@Muawiya-contact

Copy link
Copy Markdown
Member

What this proves

Adds a deterministic, no-network Phase 3 resource evaluation for the bounded retrieval path. It creates a disposable SQLite database, loads 8 groups / 2,400 messages / 160 tasks, performs 100 lookups, reports peak RSS, context size and the complete SQLite footprint (including WAL/SHM), then removes the temporary files.

The evaluation fails above 550 MB RSS or a 16,000-byte context. It cannot read Maya’s production data or make Gemini/WhatsApp requests.

Evidence on the development host

npm run eval:phase3:resources

{"fixture":{"groups":8,"messages":2400,"tasks":160,"queries":100},"peakRssMb":158,"largestContextBytes":5337,"databaseBytes":892928}

Validation

  • npm run typecheck
  • npm run lint
  • node --import tsx --test tests/*.test.mjs
  • python3 -m unittest discover -s tests -p "test_*.py"
  • npm run eval:phase3:resources

Remaining evidence

After this deploys, run the same command on the Oracle 1 GB VM. This PR deliberately uses Refs #12, not Closes #12: the issue should be closed only after the production-host result is recorded.

Refs #12

@netlify

netlify Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for maya-assistant ready!

Name Link
🔨 Latest commit ecf97a1
🔍 Latest deploy log https://app.netlify.com/projects/maya-assistant/deploys/6af8a743501040ad4c84e296
😎 Deploy Preview https://deploy-preview-20--maya-assistant.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T18:12:20.358224Z
We couldn’t complete this review. Comment @codex review to try again.
8ad7ea9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Muawiya-contact
Muawiya-contact merged commit 085fb46 into main Nov 14, 2026
6 checks passed
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