Repository navigation
t27os: NVIDIA keys answer in OpenCode panes - #13339
github-actions[bot] merged 6 commits into
Conversation
Add PR_NVIDIA (OpenCode only, last rank, 429 gives up), agent_first_profile, the NVIDIA_API_KEY strip, the profile_why line over agent_stored, and tests. Fake values only. Refs Trinity-S-AI-DNA#13326
plan_pane_keys picks the first profile with agent_first_profile, the evolve lane skips profiles its agent may not run, and the pty_logic masks and tests follow (OpenCode 537, Crush 25). Refs Trinity-S-AI-DNA#13326
Thirteen seals regenerated with t27c seal --save, no --force. The keysync seal is not regenerated: its test a_hostile_or_broken_envelope_document_parses_to_nothing fails the same way on upstream master f863148 with t27c built from f863148. Closes Trinity-S-AI-DNA#13326
Conflicts (all seal JSON, none in specs; specs/t27os/pty_logic.t27 auto-merged): - .trinity/seals/t27os_T27osKeysHost.json - .trinity/seals/t27os_T27osKeysProbe.json - .trinity/seals/t27os_T27osKeysyncHost.json - .trinity/seals/t27os_T27osLanesView.json - .trinity/seals/t27os_T27osProviderProfile.json - .trinity/seals/t27os_T27osPtyLogic.json - .trinity/seals/t27os_T27osPtyServer.json Resolution: took this branch's side to clear the markers, then resealed each spec with t27c seal --save (no --force) using the 085f0d7 compiler. Also resealed every other seal this branch changes vs master (AccessScan, Evolve, Fanout, GlassWindow, Keys, Statusbar) so built_by is 085f0d7. tri seals sync-twins wrote no files (498 consistent, 31 not computed). Refs Trinity-S-AI-DNA#13326
|
Refreshed onto master 085f0d7 (merge 1778d1d, plus 5360f9c resealing master's new importers of keys.t27 and pty_logic.t27: rotation_status, ladder_serve, keys_fleet, godmode_host, ladder_doctor). Seal conflicts were regenerated with t27c built from 085f0d7, never hand-merged. Tests on the merged tree: keys 120/120, pty_logic 61/61, evolve 11/11, rotation_status 10/10, ladder_serve 31/31, keys_fleet 6/6, godmode_host 32/32, ladder_doctor 29/29, all FAIL 0. Live check passed (local build 7983 = master + this PR + #13207, macOS, owner's own Keychain keys): an OpenCode pane started on @gHashTag please merge when CI is green. Dmitrii Fedorov (@dmitrii-f-t27) |
Conflicts (all generated seals, none hand-merged): - .trinity/seals/t27os_T27osGlassWindow.json: took one side to clear markers, resealed with t27c seal --save - .trinity/seals/t27os_T27osPtyLogic.json: same - .trinity/seals/t27os_T27osPtyServer.json: same specs/t27os/pty_logic.t27 auto-merged; verified both the P2 hunks (agent_first_profile in plan_pane_keys, load_mask_agent 537/25) and the Trinity-S-AI-DNA#13207 hunks (pane_command_path, task code) are intact. Seal currency and coverage checks pass after reseal; sync-twins wrote nothing. Refs Trinity-S-AI-DNA#13326
Closes #13326
An OpenCode pane in T27 OS now answers with the owner's NVIDIA keys. Spec at this head: keys.t27, pty_logic.t27, evolve.t27.
Changes
keys.t27: a fifth profilePR_NVIDIA(base URLhttps://integrate.api.nvidia.com/v1, modelsnvidia/nemotron-3-ultra-550b-a55b, thennvidia/nemotron-3.5-super-vl-120b-a12b). Only OpenCode may run it (agent_profile_ok); it has the last rank, so a failing NVIDIA pane never moves to another provider. Newagent_first_profile: an OpenCode pane starts on NVIDIA when an NVIDIA key is stored and not marked bad.NVIDIA_API_KEYis first inAGENT_STRIPS.profile_whyreads the Claude view of the stored keys. A 429 on NVIDIA gives up; a 401/403 swaps to the next NVIDIA key, then to the second model.pty_logic.t27:plan_pane_keysusesagent_first_profile; masks follow (OpenCode 537, Crush 25 unchanged).evolve.t27:lane_profileskips profiles its (Claude) agent may not run.t27c seal --savebuilt from f863148, no--force.The key path is master's and unchanged: the PTY server reads the Keychain (
ai.t27.os,nvidia,nvidia#2..#8), keeps the key in memory and setsNVIDIA_API_KEYonly in the child; OpenCode reads{env:NVIDIA_API_KEY}fromOPENCODE_CONFIG_CONTENT. No file and no argv carries a key. Tests use fake values only;grep -rn nvapi- specs .trinityprints nothing.Requirement -> test
agent_profile_ok,agent_storedtests for Claude/Crush/OpenCode with mask 512; evolvelane_profile(512, 0)is none{env:NVIDIA_API_KEY}, nonvapi-, noBearer); fake valuesagent_first_profilecases;next_profile(PR_NVIDIA, ...)is nonefo_action/fo_next_modelcases; z.ai 429 key swap unchangedprofile_why(512, 0)has nonvidia; evolve testMAX_KEYSunchangedVerification (t27c/t27b built from f863148, macOS, Apple M1 Pro)
t27ctests: keys 120/120 (master 115), pty_logic 59/59, evolve 11/11.t27b test: pty_server 25/25, glass_window 103/103.t27c seal <spec> --verify: all 13 MATCH.check_seal_coveragegreen.keysync.t27a_hostile_or_broken_envelope_document_parses_to_nothing (25/26 locally, its seal is left as on master);check_seal_currency2 analog gen drifts; documented-commands 9 deadtrimentions;make seal-check(NMSE FROZEN_HASH); Corpus ratchet (intools/red_baseline.txt).Limits
Draft until the owner's live check.
Dmitrii Fedorov (@dmitrii-f-t27)