Repository navigation
feat(positioning): runtime prompts carry the Trinity one-liner (abilityai/trinity-enterprise#801) - #3259
Merged
Conversation
…tyai/trinity-enterprise#801)
…lines (abilityai/trinity-enterprise#801) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
trinity-ability
approved these changes
Oct 6, 2026
trinity-ability
left a comment
Contributor
There was a problem hiding this comment.
merge-train: batch validated on train/20261006-1038 (#3270)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes abilityai/trinity-enterprise#801 — the runtime-prompt half of the ADR-0011 positioning epic (abilityai/trinity-enterprise#796). Independent branch off
dev— the four #796 children touch disjoint files and merge in any order (operator, 2026-10-05). Draft until the chain is in.What
src/backend/services/platform_prompt_service.py— thePLATFORM_INSTRUCTIONSheader line every agent receives on every turn now reads "This agent runs on Trinity, the operating system for AI-native companies." (one neutral sentence, not the two-line pitch; about the same token count as before). Rebuilt on every invocation, so every agent on an instance carries it from its next turn after deploy — no restart, no fleet pass.config/trinity-meta-prompt/prompt.md— the sentinel copy's line 3 reworded to the same sentence (ruling: reword, not delete).config/agent-templates/trinity-system/CLAUDE.md— the system-agent seed now says "for this Trinity instance." and carries no positioning claim.tests/unit/test_ent801_positioning_prompts.py(new) — builds the live header throughget_platform_system_prompt, reads the meta-prompt and the seed from disk, pins the three retired phrases absent (case-insensitive, matching the issue'sgrep -i) and the new sentence present in the two live surfaces.Two commits:
f8632f33(the three edits + the test) andb6f0d83a(review fix I1, the case-insensitive guard). The issue's acceptance grep returns nothing on the branch.Rulings carried (orchestrator, on the operator's behalf — plan file)
test_1402_prompt_contract.pypins six operator-communication phrases and one absence, nothing about line 3, so it stays untouched and the file remains a faithful copy of the live header.sovereignbeyond absence, kept out oftest_1402.docs/are not this issue's rows: six belong to abilityai/trinity-enterprise#800, three are dated records (docs/research,docs/security-reports,docs/archive).Review + security
/review(claude-fable-5-1, report-only): MERGEABLE — 0 critical, 1 informational (I1: the absence guard compared case-sensitively while the acceptance grep is-i), fixed inb6f0d83a. Exactly four files in the range, every edit the plan's After text; the system-agent line ends "for this Trinity instance." with no claim;test_1402_prompt_contract.pyuntouched; the new test not being listed intests/registry.jsonrated not a finding (CI collects by glob; 635 of 968 unit files are unlisted);.claude,src/backend/enterpriseand the rootCLAUDE.mduntouched; the line-53 hunk sits outside the ask section that the chain-3242 drafts edit./cso --diff: 0 findings.Tests
test_ent801_positioning_prompts,test_1402_prompt_contract,test_ent243_prompt_tier,test_platform_prompt_unit,test_platform_prompt_runtime,test_1816_system_agent_adoption,test_1816_system_agent_convergence) atf8632f33; 23 passed overtest_ent801+test_1402after the fix.Before merge
platform_prompt_service.pyandprompt.md— feat(operator-queue): an agent sees its pending asks and can replace one (#3247) #3256, feat(operator-queue): atomic asks — authoring rules in the ask_operator contract, option and title limits (#3243) #3253, feat(operator-queue): approvals get a "Something else" answer (#3242) #3250 (chain-3242, stacked) and feat(workspace): Discuss and Dismiss on asks (abilityai/trinity-enterprise#747, #748) #3181 (ent#747/748):git merge-treeof each head against this branch is clean, and this branch adds no conflict beyond what each already has againstdev(none, 2026-10-05 23:20 UTC). Merge in any order.dev@ 493d2a6 clean.ask_trinitycloud function's own prompt (ask_trinity_client.ts:35, outside this repo) and confirm it carries no tagline; the corpus half is fixed by docs(positioning): user-docs 'What is Trinity' leads with the operating-system line (abilityai/trinity-enterprise#798) #3257 (ent#798).trinity_promptsetting on trinity.ability.ai, unless it is a deliberate canary.Handoffs
docs/memory/CLAUDE.mdhits (branchfeature/800-positioning-engineer-context).ask_trinity.🤖 Generated with Claude Code