Skip to content

test: use fictional Maya persona in tests and docs - #289

Merged
itsskofficial merged 3 commits into
existence-master:mainfrom
shivanagendrakore:fix/use-maya-persona-in-tests
Oct 12, 2026
Merged

itsskofficial merged 3 commits into
existence-master:mainfrom
shivanagendrakore:fix/use-maya-persona-in-tests

Conversation

@shivanagendrakore

@shivanagendrakore shivanagendrakore commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

What changed and why

Tests and docs used the maintainer's real first name ("Sarthak") as the demo/test user. This switches that persona to the fictional Maya (Maya Rao from desktop/scripts/seed-*.py) everywhere the issue scopes it, keeping each test's meaning the same and updating expectations that assert on the name inside generated text together with the inputs.

Closes #285

Scope of the change

  • Sarthak → Maya, sarthak → maya (including possessives like Maya's, lower-case fact subjects like {"maya"}, and [email protected]) across 32 files in tests/ and docs/.
  • Derived handles updated to match: Telegram/Discord username "sk" → "maya" and the expected label Maya (@maya).
  • No production code changed (sentient/ and desktop/src already had no occurrences). The maintainer credit in README.md is intentionally untouched — it is outside the issue's done-when scope (tests sentient desktop/src docs).

Other test data (e.g. Pune, Riya) is left as-is: those strings also appear as generic test data independent of the user persona, so renaming them would change unrelated test meaning.

Verification

  • Done-when check: git grep -i sarthak -- tests sentient desktop/src docs → no matches.
  • Lint: .venv/bin/ruff check sentient tests → all checks passed.
  • Tests (Python 3.12 venv, .[dev,voice]):
    • tests/memory tests/channels tests/evolution tests/proactivity → 336 passed, 1 skipped.
    • tests/tasks tests/integrations tests/migrate + touched root test files → 373 passed.
    • Remainder of the suite → 641 passed, 1 skipped, 1 failed.
    • The single failure (tests/test_hardware_context.py::test_detect_never_fails_when_every_probe_does, detects Apple M5 Pro on this Mac) also fails identically on the untouched base commit, so it is a pre-existing environment-specific failure unrelated to this change.

No new tests were added: this is a persona rename, and the existing assertions that embed the name were updated in place, which is the coverage for the new behaviour.

Summary by CodeRabbit

  • Documentation
    • Updated sample names and device references from Sarthak to Maya in API, node, and architecture examples.
  • Tests
    • Updated example names, account labels, and email addresses across test scenarios to use Maya. Test behavior and expectations remain unchanged.

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot added documentation Improvements or additions to documentation area: tasks Long-running, scheduled, triggered and watcher tasks area: memory Facts, user model, nightly consolidation area: proactivity Suggestions, heartbeat, self-improving skills area: integrations App integrations, change feeds, webhooks area: channels Telegram, Discord area: devices Phones, glasses, device protocol, firmware labels Oct 11, 2026
@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 48d38efc-dacf-4d5d-ab51-4a664e3b0985

📥 Commits

Reviewing files that changed from the base of the PR and between 2aebad7 and 37898ea.


📒 Files selected for processing (5)
  • docs/API.md
  • tests/conftest.py
  • tests/evolution/test_evolution.py
  • tests/test_agent_upgrades.py
  • tests/test_incognito.py

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.



📝 Walkthrough

Walkthrough

This PR replaces Sarthak with Maya in documentation examples and test data. Test logic and expected behavior remain unchanged.

Changes

Maya example and test data

Layer / File(s) Summary
Documentation examples
docs/API.md, docs/NODES.md, docs/adr/*
API, node, and ADR examples use Maya instead of Sarthak.
Channel and application test identities
tests/channels/*, tests/integrations/test_framework.py, tests/conftest.py, tests/proactivity/*, tests/evolution/*, tests/tasks/*, tests/test_*.py
Channel and application test fixtures and expectations use Maya.
Memory test data
tests/memory/*, tests/migrate/test_hermes.py
Memory and migration test data use Maya. Existing test actions and assertions remain unchanged.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other


Merge Risk: ⚪ Minimal · up to 37898

This change renames the persona in documentation and test data without changing production behavior. The reported hardware-test failure is consistent with existing platform-specific behavior, so no PR-specific merge blocker is established.

Pre-merge checks | Passed 4 | Failed 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 5.05% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 99 functions across 30 files. (1 skipped: … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: replacing the existing test and documentation persona with fictional Maya data.
Linked Issues check Passed Issue #285 requires the Sarthak-to-Maya replacement, related expectation updates, and no Sarthak match in tests sentient desktop/src docs. The PR summary reports these changes across the affected …
Out of Scope Changes check Passed The reported changes stay within issue #285. They update test data, assertions, derived handles, and scoped documentation. The summary reports no production-code changes and leaves the README maintain…

Full details: Docstring Coverage

Explanation

Docstring coverage is 5.05% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 99 functions across 30 files. (1 skipped: 1 unsupported.)


  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit read the tests today,
And found a name changed to Maya.
The facts still pass, the checks still run,
The docs now match the setting sun.
I nibble greens and hop away.

Comment @coderabbitai help to get the list of available commands.

@itsskofficial

Copy link
Copy Markdown
Contributor

Thanks @shivanagendrakore, this is exactly what #285 asked for, and git grep -i sarthak is clean on your branch. I assigned #285 to you and approved CI. One thing: the CLA check is red, so please post the sentence the CLA bot asks for in a comment here. Once CI is green I'll merge.

@shivanagendrakore

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@shivanagendrakore

Copy link
Copy Markdown
Contributor Author

recheck

@shivanagendrakore
shivanagendrakore force-pushed the fix/use-maya-persona-in-tests branch from d396173 to 2aebad7 Compare October 11, 2026 19:58
github-actions Bot added a commit that referenced this pull request Oct 11, 2026
@shivanagendrakore

Copy link
Copy Markdown
Contributor Author

CLA signed and the CLA check is green now. Note: I force-pushed once to fix the commit author email (was an unlinked local address, which the CLA bot couldn't map) — no code changes. CI will need a fresh approval run on the new commit.

@itsskofficial itsskofficial left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: tests and docs only, and the full suite passes.

@itsskofficial
itsskofficial merged commit 90f664f into existence-master:main Oct 12, 2026
8 checks passed
@itsskofficial

Copy link
Copy Markdown
Contributor

Merged, thanks @shivanagendrakore! Main had moved since you opened this, so I merged it into your branch. That meant one conflict in tests/evolution/test_evolution.py, plus three lines in the newer incognito tests that still used the old name. git grep -i sarthak across tests, sentient, desktop/src and docs is now clean, and the full suite passes. Thanks for fixing the commit email for the CLA too.

@github-actions github-actions Bot locked and limited conversation to collaborators Oct 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: channels Telegram, Discord area: devices Phones, glasses, device protocol, firmware area: integrations App integrations, change feeds, webhooks area: memory Facts, user model, nightly consolidation area: proactivity Suggestions, heartbeat, self-improving skills area: tasks Long-running, scheduled, triggered and watcher tasks documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests use the maintainer's real name: switch to the fictional persona Maya Rao

2 participants