From 0ce304c82abbdb4d195807a26f91144586ba3f98 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 10 Nov 2026 20:54:59 +0100 Subject: [PATCH] add nono --- nono/.gitignore | 3 + nono/pack-update-hints.json | 9 ++ nono/packages/lockfile.json | 91 ++++++++++++++++++ nono/profile-drafts/.nono-codex-pack-marker | 5 + nono/profiles/codex.json | 93 ++++++++++++++++++ nono/profiles/composer-dev.json | 17 ++++ nono/profiles/default-local.json | 101 ++++++++++++++++++++ nono/profiles/devel.json | 15 +++ nono/profiles/docker-dev.json | 44 +++++++++ nono/profiles/git-ssh.json | 61 ++++++++++++ nono/profiles/laravel.json | 14 +++ 11 files changed, 453 insertions(+) create mode 100644 nono/.gitignore create mode 100644 nono/pack-update-hints.json create mode 100644 nono/packages/lockfile.json create mode 100644 nono/profile-drafts/.nono-codex-pack-marker create mode 100644 nono/profiles/codex.json create mode 100644 nono/profiles/composer-dev.json create mode 100644 nono/profiles/default-local.json create mode 100644 nono/profiles/devel.json create mode 100644 nono/profiles/docker-dev.json create mode 100644 nono/profiles/git-ssh.json create mode 100644 nono/profiles/laravel.json diff --git a/nono/.gitignore b/nono/.gitignore new file mode 100644 index 0000000..0e16844 --- /dev/null +++ b/nono/.gitignore @@ -0,0 +1,3 @@ +profile-drafts/* +packages/* +!packages/lockfile.json diff --git a/nono/pack-update-hints.json b/nono/pack-update-hints.json new file mode 100644 index 0000000..88926cf --- /dev/null +++ b/nono/pack-update-hints.json @@ -0,0 +1,9 @@ +{ + "entries": { + "nolabs-ai/codex": { + "last_check": "2026-11-12T12:36:48.166490579Z", + "installed_at_check": "0.2.4", + "latest": "0.2.4" + } + } +} diff --git a/nono/packages/lockfile.json b/nono/packages/lockfile.json new file mode 100644 index 0000000..7743f76 --- /dev/null +++ b/nono/packages/lockfile.json @@ -0,0 +1,91 @@ +{ + "lockfile_version": 4, + "registry": "https://registry.nono.sh", + "packages": { + "nolabs-ai/codex": { + "version": "0.2.4", + "installed_at": "2026-11-10T19:58:24.854321660+00:00", + "pinned": false, + "provenance": { + "signer_identity": "https://github.com/nolabs-ai/nono-packs/.github/workflows/publish-codex.yml@refs/tags/codex-v0.2.4", + "repository": "nolabs-ai/nono-packs", + "workflow": ".github/workflows/publish-codex.yml", + "ref": "refs/tags/codex-v0.2.4", + "rekor_log_index": 3567896267, + "signed_at": "2026-10-29T13:16:22.383888+00:00" + }, + "artifacts": { + ".codex-plugin/plugin.json": { + "sha256": "a7f038a2ea736878b0af14f87f4e769c6ddfaf80183ea2acf540aa139e55aa4a", + "type": "plugin" + }, + "assets/logo.png": { + "sha256": "53889e883b72fe028a26f83158d060034a5ae60f266fecc2e1935ed311e3418c", + "type": "plugin" + }, + "bin/nono-draft-profile": { + "sha256": "5248f7c3d58a21b266947812f91fa2e22c8c3bf9c6698c4a0cc8c58566ceb76a", + "type": "plugin" + }, + "bin/nono-hook-session.sh": { + "sha256": "76d4777a0f7f27239b2a812d50783c0d7a936422d7a09243f997304a8a323741", + "type": "plugin" + }, + "bin/nono-hook.sh": { + "sha256": "c3ee0b84a2947bda97dad112ebe30a7efeb887241967eeae0147ce4bc757df98", + "type": "plugin" + }, + "profiles/codex.json": { + "sha256": "01bd282877802ea03d9fd9cef206041fc12703c6a613fa0d4f04a2be37784e36", + "type": "profile" + }, + "skills/nono-sandbox/SKILL.md": { + "sha256": "e47788490e07a847feeb285be9aafa04a54a0394f4f36057a49dec17e1075e9e", + "type": "plugin" + }, + "wiring/codex-block.toml": { + "sha256": "89a7004c3536170ffe7e339de1cac11c55e51deaa8365d2e9b186a98bff8a7e5", + "type": "plugin" + }, + "wiring/marketplace.json": { + "sha256": "cffa9b2d7b43ddab460d56cb75987246a189ca37aa10c4a83f954814c4327a63", + "type": "plugin" + }, + "wiring/profile-drafts-dir-marker": { + "sha256": "204edad2cc9c9d9274cdd4de1d7aa1f31b9a659e329aea604a9ad2e12535aa63", + "type": "plugin" + } + }, + "wiring_record": [ + { + "type": "write_file", + "dest": "/home/pnx/.config/nono/profile-drafts/.nono-codex-pack-marker", + "sha256": "204edad2cc9c9d9274cdd4de1d7aa1f31b9a659e329aea604a9ad2e12535aa63" + }, + { + "type": "write_file", + "dest": "/home/pnx/.codex/bin/nono-draft-profile", + "sha256": "5248f7c3d58a21b266947812f91fa2e22c8c3bf9c6698c4a0cc8c58566ceb76a" + }, + { + "type": "symlink", + "link": "/home/pnx/.codex/plugins/marketplaces/nolabs-ai/plugins/nono" + }, + { + "type": "write_file", + "dest": "/home/pnx/.codex/plugins/marketplaces/nolabs-ai/.agents/plugins/marketplace.json", + "sha256": "cffa9b2d7b43ddab460d56cb75987246a189ca37aa10c4a83f954814c4327a63" + }, + { + "type": "symlink", + "link": "/home/pnx/.codex/plugins/cache/nolabs-ai/nono/local" + }, + { + "type": "toml_block", + "file": "/home/pnx/.codex/config.toml", + "marker_id": "nolabs-ai-codex" + } + ] + } + } +} diff --git a/nono/profile-drafts/.nono-codex-pack-marker b/nono/profile-drafts/.nono-codex-pack-marker new file mode 100644 index 0000000..ba75f41 --- /dev/null +++ b/nono/profile-drafts/.nono-codex-pack-marker @@ -0,0 +1,5 @@ +nono codex pack marker + +This file is installed to ensure ~/.config/nono/profile-drafts exists. +Sandboxed agents may write draft profile JSON files in that directory, but +must not write directly to ~/.config/nono/profiles. diff --git a/nono/profiles/codex.json b/nono/profiles/codex.json new file mode 100644 index 0000000..b67f58f --- /dev/null +++ b/nono/profiles/codex.json @@ -0,0 +1,93 @@ +{ + "extends": [ + "nolabs-ai/codex" + ], + "meta": { + "name": "codex", + "version": "1.0.0", + "description": "Runtime-discovered path additions for codex", + "author": "Henrik Hautakoski" + }, + "security": { + "signal_mode": null, + "process_info_mode": null, + "ipc_mode": null, + "capability_elevation": null, + "approval_backends": {}, + "approval_defaults": null, + "wsl2_proxy_policy": null + }, + "groups": { + "include": [], + "exclude": [] + }, + "commands": { + "allow": [], + "deny": [] + }, + "filesystem": { + "allow": [], + "read": [], + "write": [], + "allow_file": [], + "read_file": [ + "/run/user/1000/bus" + ], + "write_file": [], + "unix_socket": [], + "unix_socket_bind": [], + "unix_socket_dir": [], + "unix_socket_dir_bind": [], + "unix_socket_subtree": [], + "unix_socket_subtree_bind": [], + "deny": [], + "bypass_protection": [], + "suppress_save_prompt": [] + }, + "network": { + "block": false, + "allow_http2": false, + "allow_domain": [], + "deny_domain": [], + "open_port": [], + "open_port_range": [], + "listen_port": [], + "listen_port_range": [], + "connect_port": [], + "no_proxy": [], + "custom_credentials": {}, + "tls_intercept": null, + "upstream_proxy": null, + "upstream_bypass": [], + "approval_backends": {}, + "approval_defaults": null + }, + "diagnostics": { + "suppress_system_services": [], + "redaction": { + "extra_env_vars": [] + }, + "network_denial_audit": {} + }, + "linux": { + "af_unix_mediation": null, + "sandbox_policy": null + }, + "env_credentials": {}, + "credential_capture": {}, + "credential_providers": {}, + "credential_routes": [], + "workdir": { + "access": "none" + }, + "hooks": {}, + "session_hooks": {}, + "rollback": { + "exclude_patterns": [], + "exclude_globs": [] + }, + "skipdirs": [], + "packs": [], + "command_args": [], + "unsafe_macos_seatbelt_rules": [] +} diff --git a/nono/profiles/composer-dev.json b/nono/profiles/composer-dev.json new file mode 100644 index 0000000..9ebd463 --- /dev/null +++ b/nono/profiles/composer-dev.json @@ -0,0 +1,17 @@ +{ + "extends": [ + "devel", + ], + "meta": { + "name": "composer-dev" + "version": "1.0.0", + "description": "Composer development profile", + "author": "Henrik Hautakoski" + }, + "filesystem": { + "allow": [ + "$HOME/.cache/composer" + ], + "read": [] + } +} diff --git a/nono/profiles/default-local.json b/nono/profiles/default-local.json new file mode 100644 index 0000000..d83380e --- /dev/null +++ b/nono/profiles/default-local.json @@ -0,0 +1,101 @@ +{ + "extends": [ + "default" + ], + "meta": { + "name": "default-local", + "version": "1.0.0", + "description": "Local defaults", + "author": "Henrik Hautakoski" + }, + "security": { + "signal_mode": null, + "process_info_mode": null, + "ipc_mode": null, + "capability_elevation": null, + "approval_backends": {}, + "approval_defaults": null, + "wsl2_proxy_policy": null + }, + "groups": { + "include": [], + "exclude": [] + }, + "commands": { + "allow": [], + "deny": [] + }, + "filesystem": { + "allow": [], + "read": [], + "write": [], + "allow_file": [], + "read_file": [], + "write_file": [], + "unix_socket": [], + "unix_socket_bind": [], + "unix_socket_dir": [], + "unix_socket_dir_bind": [], + "unix_socket_subtree": [], + "unix_socket_subtree_bind": [], + "deny": [ + "/home/pnx/.ssh", + "/home/pnx/.aws", + "/home/pnx/.gnupg", + "/home/pnx/.docker", + "/home/pnx/.local/share/keyrings" + ], + "bypass_protection": [], + "suppress_save_prompt": [ + "~/.docker", + "///var/run/docker.sock", + "/run/docker.sock" + ] + }, + "network": { + "block": false, + "allow_http2": false, + "allow_domain": [], + "deny_domain": [], + "open_port": [], + "open_port_range": [], + "listen_port": [], + "listen_port_range": [], + "connect_port": [], + "no_proxy": [], + "custom_credentials": {}, + "tls_intercept": null, + "upstream_proxy": null, + "upstream_bypass": [], + "approval_backends": {}, + "approval_defaults": null + }, + "diagnostics": { + "suppress_system_services": [], + "redaction": { + "extra_env_vars": [] + }, + "network_denial_audit": {} + }, + "linux": { + "af_unix_mediation": "pathname", + "sandbox_policy": null + }, + "env_credentials": {}, + "credential_capture": {}, + "credential_providers": {}, + "credential_routes": [], + "workdir": { + "access": "readwrite" + }, + "hooks": {}, + "session_hooks": {}, + "rollback": { + "exclude_patterns": [], + "exclude_globs": [] + }, + "skipdirs": [], + "packs": [], + "command_args": [], + "unsafe_macos_seatbelt_rules": [] +} diff --git a/nono/profiles/devel.json b/nono/profiles/devel.json new file mode 100644 index 0000000..8f1e8dc --- /dev/null +++ b/nono/profiles/devel.json @@ -0,0 +1,15 @@ +{ + "extends": [ + "default-local", + "git-ssh" + ], + "meta": { + "name": "devel" + "version": "1.0.0", + "description": "Generic development profile", + "author": "Henrik Hautakoski" + }, + "network": { + "network_profile": "developer" + } +} diff --git a/nono/profiles/docker-dev.json b/nono/profiles/docker-dev.json new file mode 100644 index 0000000..ea25043 --- /dev/null +++ b/nono/profiles/docker-dev.json @@ -0,0 +1,44 @@ +{ + "extends": "default-local", + "meta": { + "name": "docker-dev" + "version": "1.0.0", + "description": "Docker development profile", + "author": "Henrik Hautakoski" + }, + "linux": { + "af_unix_mediation": "pathname" + }, + "command_policies": { + "commands": { + "docker": { + "from": { + "session": { + "sandbox": { + "fs_read": ["."], + "unix_socket_bind": [ + "/run/docker.sock", + "/run/run/docker.sock" + ] + }, + "invocation_policy": { + "default": "deny", + "allow": [ + { + "argv": { + "exact": ["ps"] + } + }, + { + "argv": { + "exact": ["compose", "ps"] + } + } + ] + } + } + } + } + } + } +} diff --git a/nono/profiles/git-ssh.json b/nono/profiles/git-ssh.json new file mode 100644 index 0000000..3a91091 --- /dev/null +++ b/nono/profiles/git-ssh.json @@ -0,0 +1,61 @@ +{ + "extends": "default", + "meta": { + "name": "git-ssh", + "description": "Allow Git to invoke SSH without granting the agent direct SSH access" + }, + "command_policies": { + "commands": { + "git": { + "can_use": ["ssh"], + "sandbox": { + "fs_read": [ + "." + ], + "fs_write": [ + ".", + "@git:common-dir" + ], + "fs_read_file": [ + "@git:config-files" + ], + "environment": { + "allow_vars": [ + "PATH", + "HOME", + "USER", + "LOGNAME", + "LANG", + "LC_*" + ] + } + } + }, + "ssh": { + "from": { + "git": { + "sandbox": { + "fs_read": [ + "." + ], + "network": { + "tcp_connect_ports": [22] + }, + "environment": { + "allow_vars": [ + "PATH", + "HOME", + "USER", + "LOGNAME", + "LANG", + "LC_*" + ] + } + } + }, + "session": "deny" + } + } + } + } +} diff --git a/nono/profiles/laravel.json b/nono/profiles/laravel.json new file mode 100644 index 0000000..31fac81 --- /dev/null +++ b/nono/profiles/laravel.json @@ -0,0 +1,14 @@ +{ + "extends": [ + "devel", + "docker-dev", + "composer-dev", + "node-dev" + ], + "meta": { + "name": "laravel", + "version": "1.0.0", + "description": "Laravel development profile", + "author": "Henrik Hautakoski" + }, +}