Repository navigation
Conversation
Adds one reasoned "star the repo" ask on four surfaces, one sentence each, same register as the README's existing one-line callouts: * README top, directly under the badge row — for the warm visitor who arrived from a referral and stars before reading. * README Quick Start, right after the Phase A "Access" block — the moment the instance just came up; paired with a "ran into a rough edge? file an issue" escape hatch so it does not assume everyone loved it. * scripts/deploy/start.sh next-steps card, after step 3 — read by every installer at the moment it worked; covers local and --hosted since the insertion sits above the path split. Raw URL on its own line so it is copyable in any terminal and linkified in modern ones. Prints on every start by design: one line in a card that already repeats is not a nag. * docs/AGENT_INSTALL_GUIDE.md Step 3 card — the README's recommended install path has an installing agent REPRODUCE this card rather than relay start.sh's output, so without it the recommended path never shows the ask. While in that guide's card: its step 1 and the bullet beneath still described the pre-#2381 first-run wizard ("admin email + email whitelist"), which no longer appears on an ADMIN_PASSWORD install. Both now say what first-run setup actually asks for (connect Claude; the rest under Settings → Integrations), matching start.sh's already-corrected copy. No "!", no "please", exactly one ask per surface; the only URL added is the public repo. 44/44 existing start.sh-reading tests pass; bash -n clean. Fixes #2885 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Su6ooK6yNx2eMn4D2tLL6L
…in, and a tier it does not reach fails the run (#2888) Fixes #2888 The unclassified-directory guard globbed `tests/*/` after the script had already `cd`'d into `tests/`, so it looked for `tests/tests/*/`, matched nothing, stayed a literal `*` under default globbing, failed classification and `exit 1`'d the run at the api boundary. Every full-suite run since a646de8 (2026-08-27) stopped before the `api`, `standalone` and `postgres` tiers — ~1,900 tests — and nothing said so. - The guard is now `tests/harness/check_test_dirs.py`, handed TESTS_DIR explicitly instead of globbing relative to the cwd, and testable: only a directory that HOLDS test files is a finding (`__pycache__`, `reports/`, a stale local checkout with only `node_modules` are on every machine and collected by nothing), and an owner entry with no directory on disk is flagged too (pytest ignores a missing `--ignore=` path silently). - Tier ledger: DECLARED_TIERS is checked against the recorded rows at the end. A declared tier with no row that the caller did not deselect is reported `NEVER RAN` and fails the run; deselected tiers (`--tier`, `--no-pg`) are listed as SKIP and the verdict says `partial`. - Abort trap: any exit before the summary — including SIGINT/SIGTERM — prints an ABORTED banner naming the tiers left unrun and exits non-zero. The disposable postgres container is torn down on that path too (the old per-tier `trap ... EXIT` is folded into it). - The alembic step of the postgres tier now carries the same dummy Redis/encryption env pg-migrations.yml sets: revision 0041 (#2330) imports `services` → `config`, which raises without Redis credentials. Broken since 2026-08-20, a week before the tier stopped being reached. Guards in tests/unit/test_2080_harness_contract.py: the glob is matched as code (not the comment that names it), the guard passes on the real tree with the real owner lists, fires on an unwired directory holding tests, ignores test-less directories, every `run_tier` name is in DECLARED_TIERS, and the NEVER-RAN / abort paths are present. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ent#242) The six admin endpoints (`enabled`, `provision`, `sync`, and the three `access` routes) shipped with no writer outside curl: the consumer tools `run_skill` / `list_runnable_skills` are advertised over MCP but gate on an ACL table that nothing could populate. An entitled operator could activate the feature and grant access only by hand-rolling HTTP. This is that writer — one entitlement-gated Settings tab covering enable -> provision -> sync -> per-(caller, skill) grants. **No backend change.** All six endpoints already exist, are typed, and are `require_human_admin`-gated (admin AND a human principal — widening an allow-list must not be reachable by a prompt-injected agent's own key). That premise was checked before planning rather than assumed, because it decides the PR shape: had anything needed the private submodule, this would have been three PRs in the ent#545 order instead of one. Gated with `requires: 'skill_runner'`, the same declarative seam `sso` and `credential-vault` use, so an unentitled install renders no tab rather than a panel whose every control 404s. That gate is UX, not containment — the server refuses regardless — which is what keeps a stale entitlement list from becoming an escalation. Decidable rules live in `skillRunnerPanel.js`, not the SFC: vitest runs `environment: 'node'` with no mount harness, so a rule inside a component is one no test can reach (the ent#392 precedent). 32 tests cover them. Two details worth naming: * `SkillRunnerStatus` reports each fact independently, and the panel keeps it that way: "no runner yet", "provisioned but not running" and "running" stay three states with three badges, and the library's own unconfigured / never-pulled / unreadable states are three more. None collapse into a spinner, and a blocked operator is told which screen fixes it. * There is no endpoint listing the library for a grant picker — `/available` is agent-facing (ACL ∩ library for ONE caller, and 422s for a user-scoped key with no `caller_agent`). The picker uses the OSS `GET /api/skills/library`. Worth knowing for whoever builds the MCP half. The revoke confirmation names the CALLER, not just the skill: "Revoke summarise" reads harmlessly, while the decision being made is which agent loses the ability to execute it. Loading uses a skeleton keyed on "no data yet", not `ScanlineReveal` — #2540 ruled the beam is chart-loading only, and that primitive's importer allowlist caught this panel reaching for it. Fixed the panel rather than widening the allowlist, and pinned the choice with a test. No feature-flow doc: a public doc describing this module would name enterprise internals under `docs/**`, which is the enterprise-docs guard's scope and the CLAUDE.md standing rule. No API or architecture changed, so tiered docs do not require one. Deferred, recorded on the issue: the MCP admin tools half (Invariant #13's third surface), so an ops agent still cannot enable or grant without curl. Fixes Abilityai/trinity-enterprise#242 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Q19uRCksdn4DiRAJ55rfpZ
…#242)
`GET /api/enterprise/skill-runner/access` answers `{ grants: [...] }`
(`service.list_access` wraps `db.list_access`), and the panel read the
payload AS the array — so `grants` was always `[]`, every grant rendered as
"No agent can run any skill yet", `isDuplicateGrant` never fired, and the
only human writer for the ACL had no revoke path. The PR's own "the entitled
render is unexercised" note is exactly where it hid.
`grantsFrom(payload)` is the one unwrap rule, pure so the node-env suite can
pin the envelope shape; a bare list is still accepted, anything else is an
empty list rather than a throw (the status half of the same load must still
render). A source guard pins that the panel reads through it — reverting the
call site turns the spec red.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…segment (#2890) `test_no_service_parses_yaml_without_the_shared_loader` excluded virtualenvs with `"/venv/" in rel`, where `rel` is RELATIVE to the scanned root — so a venv at the root of that tree (`src/backend/venv/`, i.e. where one actually lives) yields `venv/lib/...` with no leading slash, never matches, and every vendored `safe_load` in `site-packages` is reported as an unguarded parse on a clean checkout. Only a venv nested a directory deep was ever excluded. The scan is now `_bare_safe_load_offenders(roots)`, pure over the filesystem, with the exclusion matched on `path.relative_to(root).parts` against `_VENDORED_PARTS` ({venv, .venv, site-packages, node_modules, __pycache__}) — position-independent, and a directory merely NAMED like one (`my-venv-tool/`) is still scanned. `git ls-files` was rejected: it would hide an untracked first-party file from the pre-commit scan. Proven both ways on the real tree: a planted `src/backend/venv/lib/python3.12/site-packages/starlette/mod.py` with a bare parse no longer fails the guard, and a planted `services/_tmp_bare.py` still does. The new fixture tests pin both directions across root/nested/.venv/ node_modules/__pycache__ placements. The other 34 `rglob("*.py")` guards under tests/unit were audited with the same planted venv: none false-fires. Fixes #2890 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…og logo The listing's update instruction moved the git checkout but never the image tag, so it reported success while leaving the instance on the old release. `start.sh` resolves TRINITY_IMAGE_TAG from the environment or `.env` and never from the checkout, so a droplet following the old text ended up running one release's scripts against another's images, with the web interface still showing the old version. Verified on a droplet built from the v0.9.5 marketplace snapshot: the old instruction left all four containers on :v0.9.5 with HEAD at v0.9.5-rc4; the corrected one moved the dashboard to v0.9.5-rc4 / 3a47f74. Also corrects the backup path. `TRINITY_DATA_PATH` is unset on the image, so `start.sh` falls back to ./trinity-data relative to /opt/trinity — backups land in /opt/trinity/trinity-data/backups/, not ~/trinity-data/backups/, which resolves to a directory that does not exist for root. Confirmed by forcing the nightly job to fire: trinity-backup-20260918.db written there, 1597440 bytes. Adds logo.png and logo.svg, the catalog logo, beside the copy it belongs with. The PNG is force-added past the blanket *.png ignore rather than adding a fourth negation, since .gitignore's comment there asks for no more; it is tracked as the exact bytes uploaded rather than a re-render. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…#242) — mechanical, per the merge-train note on the PR blockingAction() emitted navigate-tab with 'skills', an id absent from Settings.vue's ALL_TABS (the Skills Library renders under 'agents'), and the handler assigned it straight to activeTab, bypassing selectTab()'s validTabIds guard — so a fresh entitled install's only blocked-state action blanked the Settings content area. Emit 'agents' and route the event through selectTab so an unknown id is a no-op rather than a blank page, and pin the corrected value in the spec. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This was referenced Sep 20, 2026
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.
Integration surface for #2895, #2901, #2886, #2893, #2772. Never merged; members merge individually once green.
Ejected from this train: #2778 (needs author intent — see the comment there).