Skip to content

chore: extend sedg nono profiles and restore Azure DevOps SSH - #40

Merged
MrPointer merged 3 commits into
mainfrom
chore/sedg-nono-extra-profiles
Oct 29, 2026
Merged

MrPointer merged 3 commits into
mainfrom
chore/sedg-nono-extra-profiles

Conversation

@MrPointer

Copy link
Copy Markdown
Owner

📝 Summary

Sandboxed agents on sedg projects lost SSH access to Azure DevOps when RSA signing was removed. That change also dropped the sandbox's read access to id_rsa.pub, which ssh needs to pick the matching host ssh-agent key. This PR restores that access without exposing the private key. It also adds the Docker and Nexus registries to the common sedg profile, and adds an Edge Metadata profile.

Key Decisions

🔑 Azure DevOps SSH Authentication

~/.ssh/config sets IdentitiesOnly yes and IdentityFile ~/.ssh/id_rsa for ssh.dev.azure.com. In this setup, ssh reads the public key to choose which agent key to offer. work-sedg-common now grants only id_rsa.pub, through both read_file and bypass_protection. The private key stays denied by deny_credentials. Commit signing still uses Ed25519.

🚀 RSA Key Preload in sedg Launchers

The shared launcher now preloads only the Ed25519 key. The sedg Claude launchers call a new _sedg_claude_nono wrapper. It loads id_rsa into the host ssh-agent before it calls _claude_nono. Like the existing preload, this is best-effort and never blocks launch. The managing-nono-profiles skill now tells maintainers to reuse the helper that an employer launcher file already uses. That way, new sedg launchers keep this wrapper.

🧩 Edge Metadata Profile

Edge Metadata uses both Python and Node.js. Its new profile extends work-sedg-common, claude-code-python, and claude-code-node, and it has a matching launcher. claude-code-python can now read Poetry's config directory.

🔄 Before & After

Area Before After
Azure DevOps SSH in sedg sandboxes Fails: no readable public key Works through the host ssh-agent
id_rsa private key in sandbox Denied Still denied
RSA key in host agent Not preloaded by launchers Preloaded by sedg Claude launchers
sedg network access No Docker or Nexus registries docker-esh and seil-nexus-rnd allowed
Edge Metadata No dedicated profile work-sedg-claude-code-edge-metadata with launcher
Poetry config in Python profile Not readable Readable

Sandboxed agents on sedg projects need to pull images from the
SolarEdge Docker registry and packages from the R&D Nexus instance.
The sedg Edge Metadata project is developed with both Python and
Node.js, so give it a dedicated profile and launcher built from the
shared sedg access and the personal language profiles.

Python projects using Poetry need its config directory, so allow
reading it in the personal Python profile.
Dropping RSA signing access also removed the sandbox's read access to
id_rsa.pub. With IdentitiesOnly set for ssh.dev.azure.com, ssh needs
that public key to pick the matching host ssh-agent key, so sedg
agents could no longer fetch or push over SSH.

Grant only the public RSA key in the common sedg profile and preload
the RSA key into the host agent from the sedg Claude launchers. The
private key stays unreadable inside the sandbox, and commit signing
keeps using Ed25519.

Tell maintainers to reuse an employer launcher file's own helper so
new launchers keep such employer-specific setup.
@MrPointer
MrPointer merged commit d525dcc into main Oct 29, 2026
5 checks passed
@MrPointer
MrPointer deleted the chore/sedg-nono-extra-profiles branch October 29, 2026 12:39
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