Compare commits

...

3 Commits

Author SHA1 Message Date
Petr Nyc
b35293a9f0 config tweaks 2026-02-13 09:46:37 +01:00
Petr Nyc
4ee18f77e0 codex config 2026-02-09 09:52:23 +01:00
Petr Nyc
42b3c7d306 before security stuff reboot 2026-02-04 14:23:01 +01:00
7 changed files with 198 additions and 25 deletions

31
.aider.conf.yml Normal file
View File

@@ -0,0 +1,31 @@
#############
# Main model:
## Specify the model to use for the main chat
# model: oca/gpt5
model: oca/gpt-5.1-codex
## Enable/disable automatic acceptance of architect changes (default: True)
#auto-accept-architect: true
weak-model: oca/llama4
##################
# Output settings:
## Use colors suitable for a dark terminal background (default: False)
dark-mode: true
## Enable/disable auto commit of LLM changes (default: True)
auto-commits: false
############
# Analytics:
## Enable/disable analytics for current session (default: random)
analytics: false
## Permanently disable analytics
analytics-disable: true

80
.codex/config.toml Normal file
View File

@@ -0,0 +1,80 @@
# doc: https://developers.openai.com/codex/config-advanced
# https://developers.openai.com/codex/config-reference
approval_policy = "on-failure"
preferred_auth_method = "apikey"
# model = "oca/gpt-5-codex"
# profile = "gpt-5-codex"
# model = "oca/gpt-5.1-codex"
# profile = "gpt-5-1-codex"
model = "oca/gpt-5.1-codex-mini"
profile = "gpt-5-1-codex-mini"
web_search_request = true
trust_level = "trusted"
sandbox_mode = "workspace-write"
[sandbox_workspace_write]
network_access = true
writable_roots = [ "/Users/jetpac/.codex/skills" ]
[analytics]
enabled = false
[model_providers.oca-responses]
base_url = "https://code-internal.aiservice.us-chicago-1.oci.oraclecloud.com/20250206/app/litellm"
http_headers = { "client" = "codex-cli", "client-version" = "0" }
model = "oca/gpt5"
name = "Oracle Code Assist Responses"
wire_api = "responses"
[model_providers.oca-chat]
base_url = "https://code-internal.aiservice.us-chicago-1.oci.oraclecloud.com/20250206/app/litellm"
http_headers = { "client" = "codex-cli", "client-version" = "0" }
model = "oca/gpt5"
name = "Oracle Code Assist Chat"
wire_api = "responses"
[profiles.grok-4]
model = "oca/grok4"
model_provider = "oca-chat"
review_model = "oca/grok4"
[profiles.grok-4-fast-reasoning]
model = "oca/grok4-fast-reasoning"
model_provider = "oca-chat"
review_model = "oca/grok4-fast-reasoning"
[profiles.grok-code-fast-1]
model = "oca/grok-code-fast-1"
model_provider = "oca-chat"
review_model = "oca/grok-code-fast-1"
[profiles.gpt-4-1]
model = "oca/gpt-4.1"
model_provider = "oca-chat"
review_model = "oca/gpt-4.1"
[profiles.gpt-5]
model = "oca/gpt5"
model_provider = "oca-responses"
review_model = "oca/gpt5"
[profiles.gpt-5-1]
model = "oca/gpt-5.1"
model_provider = "oca-chat"
review_model = "oca/gpt-5.1"
[profiles.gpt-5-2]
model = "oca/gpt-5.2"
model_provider = "oca-responses"
review_model = "oca/gpt-5.2"
[profiles.gpt-5-codex]
model = "oca/gpt-5-codex"
model_provider = "oca-responses"
review_model = "oca/gpt-5-codex"
personality = "pragmatic"
[profiles.gpt-5-1-codex]
model = "oca/gpt-5.1-codex"
model_provider = "oca-responses"
review_model = "oca/gpt-5.1-codex"
personality = "pragmatic"
model_reasoning_effort = "high"
[profiles.gpt-5-1-codex-mini]
model = "oca/gpt-5.1-codex-mini"
model_provider = "oca-responses"
review_model = "oca/gpt-5.1-codex-mini"
personality = "pragmatic"

View File

@@ -104,13 +104,14 @@
timewarrior # timewarrior tracking status (https://timewarrior.net/) timewarrior # timewarrior tracking status (https://timewarrior.net/)
taskwarrior # taskwarrior task count (https://taskwarrior.org/) taskwarrior # taskwarrior task count (https://taskwarrior.org/)
cpu_arch # CPU architecture cpu_arch # CPU architecture
battery
time # current time time # current time
# =========================[ Line #2 ]========================= # =========================[ Line #2 ]=========================
newline newline
# ip # ip address and bandwidth usage for a specified network interface # ip # ip address and bandwidth usage for a specified network interface
# public_ip # public IP address # public_ip # public IP address
proxy # system-wide http/https/ftp proxy proxy # system-wide http/https/ftp proxy
battery # internal battery # battery # internal battery
# wifi # wifi speed # wifi # wifi speed
# example # example user-defined segment (see prompt_example function below) # example # example user-defined segment (see prompt_example function below)
) )

View File

@@ -76,6 +76,7 @@ This function should only modify configuration layer settings."
org-enable-bootstrap-support t org-enable-bootstrap-support t
org-enable-jira-support t org-enable-jira-support t
jiralib-url "https://jira.oci.oraclecorp.com" jiralib-url "https://jira.oci.oraclecorp.com"
jiralib-target-api-version 2
;; org-enable-roam-support t ;; org-enable-roam-support t
;; org-enable-roam-ui t ;; org-enable-roam-ui t
;; org-roam-completion-everywhere t ;; org-roam-completion-everywhere t
@@ -85,7 +86,7 @@ This function should only modify configuration layer settings."
;; (shell :variables ;; (shell :variables
;; shell-default-height 30 ;; shell-default-height 30
;; shell-default-position 'bottom) ;; shell-default-position 'bottom)
;; spell-checking (spell-checking :variables spell-checking-enable-by-default nil)
syntax-checking syntax-checking
;; version-control ;; version-control
treemacs treemacs
@@ -111,6 +112,7 @@ This function should only modify configuration layer settings."
org-mac-link org-mac-link
org-alert org-alert
org-msg org-msg
ai-code
;org-caldav ;org-caldav
;org-protocol ;org-protocol
) )
@@ -278,8 +280,9 @@ It should only modify the values of Spacemacs settings."
;; List of themes, the first of the list is loaded when spacemacs starts. ;; List of themes, the first of the list is loaded when spacemacs starts.
;; Press `SPC T n' to cycle to the next theme in the list (works great ;; Press `SPC T n' to cycle to the next theme in the list (works great
;; with 2 themes variants, one dark and one light) ;; with 2 themes variants, one dark and one light)
dotspacemacs-themes '(doom-solarized-dark dotspacemacs-themes '(
spacemacs-dark spacemacs-dark
doom-solarized-dark
spacemacs-light spacemacs-light
doom-solarized-dark-high-contrast-theme doom-solarized-dark-high-contrast-theme
) )
@@ -637,13 +640,39 @@ configuration.
Put your configuration code here, except for variables that should be set Put your configuration code here, except for variables that should be set
before packages are loaded." before packages are loaded."
;; codex config
(use-package ai-code
;; :straight (:host github :repo "tninja/ai-code-interface.el") ;; if you want to use straight to install, no need to have MELPA setting above
:config
;; use codex as backend, other options are 'claude-code, 'gemini, 'github-copilot-cli, 'opencode, 'grok, 'cursor, 'kiro, 'codebuddy, 'aider, 'claude-code-ide, 'claude-code-el
(ai-code-set-backend 'codex)
;; Enable global keybinding for the main menu
;; (global-set-key (kbd "C-c a") #'ai-code-menu)
(spacemacs/set-leader-keys "oi" 'ai-code-menu)
;; Optional: Use eat if you prefer, by default it is vterm
;; (setq ai-code-backends-infra-terminal-backend 'eat) ;; the way to config all native supported CLI. for external backend such as claude-code-ide.el and claude-code.el, please check their config
;; Optional: Enable @ file completion in comments and AI sessions
(ai-code-prompt-filepath-completion-mode 1)
;; Optional: Ask AI to run test after code changes, for a tighter build-test loop
(setq ai-code-auto-test-type 'test-after-change)
;; Optional: In AI session buffers, SPC in Evil normal state triggers the prompt-enter UI
(with-eval-after-load 'evil (ai-code-backends-infra-evil-setup))
;; Optional: Turn on auto-revert buffer, so that the AI code change automatically appears in the buffer
(global-auto-revert-mode 1)
(setq auto-revert-interval 1) ;; set to 1 second for faster update
;; (global-set-key (kbd "C-c a C") #'ai-code-toggle-filepath-completion)
;; Optional: Set up Magit integration for AI commands in Magit popups
(with-eval-after-load 'magit
(ai-code-magit-setup-transients)))
;; email config ;; email config
;; the saved command is a work-around for not working address completion ;; the saved command is a work-around for not working address completion
(setq notmuch-show-logo nil (setq notmuch-show-logo nil
notmuch-search-oldest-first nil ;; new email on top notmuch-search-oldest-first nil ;; new email on top
notmuch-column-control 1.0 ;; just one columnt for searches notmuch-column-control 1.0 ;; just one columnt for searches
notmuch-hello-insert-recent-searches nil ;; don't display recent searches in notmuch-helo notmuch-hello-insert-recent-searches nil ;; don't display recent searches in notmuch-helo
notmuch-address-command "/Users/jetpac/bin/notmuch-address" ;; notmuch-address-command "/Users/jetpac/bin/notmuch-address"
;; these are default ;; these are default
;; notmuch-hello-sections '(notmuch-hello-insert-header notmuch-hello-insert-saved-searches ;; notmuch-hello-sections '(notmuch-hello-insert-header notmuch-hello-insert-saved-searches
@@ -901,7 +930,7 @@ before packages are loaded."
(spacemacs/set-leader-keys "ot" 'toggle-proxy) (spacemacs/set-leader-keys "ot" 'toggle-proxy)
;; Bind ai for aidermacs ;; Bind ai for aidermacs
(spacemacs/set-leader-keys "ai" 'aidermacs-transient-menu) ;; (spacemacs/set-leader-keys "ai" 'aidermacs-transient-menu)
;; idea from chatgpt ;; idea from chatgpt
(defun jp/set-dotfiles-environment () (defun jp/set-dotfiles-environment ()
@@ -1316,7 +1345,7 @@ This function is called at the very end of Spacemacs initialization."
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(custom-enabled-themes '(doom-solarized-dark)) ;; '(custom-enabled-themes '(doom-solarized-dark))
'(custom-safe-themes '(custom-safe-themes
'("d97ac0baa0b67be4f7523795621ea5096939a47e8b46378f79e78846e0e4ad3d" '("d97ac0baa0b67be4f7523795621ea5096939a47e8b46378f79e78846e0e4ad3d"
"21d2bf8d4d1df4859ff94422b5e41f6f2eeff14dd12f01428fa3cb4cb50ea0fb" "21d2bf8d4d1df4859ff94422b5e41f6f2eeff14dd12f01428fa3cb4cb50ea0fb"
@@ -1469,23 +1498,25 @@ This function is called at the very end of Spacemacs initialization."
'((:name "📥 Inbox" :query "tag:inbox AND tag:unread" :key [105]) '((:name "📥 Inbox" :query "tag:inbox AND tag:unread" :key [105])
(:name "To me Unread" :query "tag:me AND tag:unread" :key [109]))) (:name "To me Unread" :query "tag:me AND tag:unread" :key [109])))
'(notmuch-search-oldest-first nil) '(notmuch-search-oldest-first nil)
'(org-hide-leading-stars t)
'(package-selected-packages '(package-selected-packages
'(a ace-jump-helm-line ace-link afternoon-theme aggressive-indent aidermacs aio '(a ace-jump-helm-line ace-link afternoon-theme aggressive-indent ai-code
alect-themes alert all-the-icons ample-theme ample-zen-theme aidermacs aio alect-themes alert all-the-icons ample-theme
anaconda-mode anti-zenburn-theme apropospriate-theme auto-compile ample-zen-theme anaconda-mode anti-zenburn-theme apropospriate-theme
auto-highlight-symbol auto-yasnippet autothemer badwolf-theme auto-compile auto-highlight-symbol auto-yasnippet autothemer
birds-of-paradise-plus-theme blacken bmx-mode bubbleberry-theme bui badwolf-theme birds-of-paradise-plus-theme blacken bmx-mode
busybee-theme centered-cursor-mode cherry-blossom-theme chocolate-theme bubbleberry-theme bui busybee-theme centered-cursor-mode
clean-aindent-mode closql clues-theme code-cells code-review cherry-blossom-theme chocolate-theme clean-aindent-mode closql
color-theme-sanityinc-solarized color-theme-sanityinc-tomorrow clues-theme code-cells code-review color-theme-sanityinc-solarized
column-enforce-mode company company-anaconda company-box color-theme-sanityinc-tomorrow column-enforce-mode company
company-quickhelp company-shell company-statistics company-terraform company-anaconda company-box company-quickhelp company-shell
company-web concurrent cond-let conda ctable cyberpunk-theme cython-mode company-statistics company-terraform company-web concurrent cond-let
dakrone-theme dap-mode darkmine-theme darkokai-theme darktooth-theme conda ctable cyberpunk-theme cython-mode dakrone-theme dap-mode
deferred define-word devdocs diminish dired-quick-sort disable-mouse darkmine-theme darkokai-theme darktooth-theme deferred define-word
django-theme docker dockerfile-mode doom-themes dotenv-mode dracula-theme devdocs diminish dired-quick-sort disable-mouse django-theme docker
drag-stuff dumb-jump eat edit-indirect editorconfig ef-themes elisp-def dockerfile-mode doom-themes dotenv-mode dracula-theme drag-stuff
elisp-demos elisp-slime-nav emacsql emmet-mode emojify emr epc esh-help dumb-jump eat edit-indirect editorconfig ef-themes elisp-def elisp-demos
elisp-slime-nav emacsql emmet-mode emojify emr epc esh-help
eshell-prompt-extras eshell-z espresso-theme eval-sexp-fu evil-anzu eshell-prompt-extras eshell-z espresso-theme eval-sexp-fu evil-anzu
evil-args evil-cleverparens evil-collection evil-easymotion evil-escape evil-args evil-cleverparens evil-collection evil-easymotion evil-escape
evil-evilified-state evil-exchange evil-goggles evil-iedit-state evil-evilified-state evil-exchange evil-goggles evil-iedit-state
@@ -1493,12 +1524,12 @@ This function is called at the very end of Spacemacs initialization."
evil-nerd-commenter evil-numbers evil-org evil-surround evil-textobj-line evil-nerd-commenter evil-numbers evil-org evil-surround evil-textobj-line
evil-tutor evil-unimpaired evil-visual-mark-mode evil-visualstar evil-tutor evil-unimpaired evil-visual-mark-mode evil-visualstar
exotica-theme expand-region eyebrowse eziam-themes fancy-battery exotica-theme expand-region eyebrowse eziam-themes fancy-battery
farmhouse-themes fish-mode flatland-theme flatui-theme flx-ido forge farmhouse-themes fish-mode flatland-theme flatui-theme flx-ido flycheck
frame-local gandalf-theme ggtags gh-md ghub git-link git-messenger forge frame-local gandalf-theme ggtags gh-md ghub git-link git-messenger
git-modes git-timemachine gitignore-templates gntp gnuplot golden-ratio git-modes git-timemachine gitignore-templates gntp gnuplot golden-ratio
google-translate gotham-theme grandshell-theme groovy-imports groovy-mode google-translate gotham-theme grandshell-theme groovy-imports groovy-mode
gruber-darker-theme gruvbox-theme haml-mode hc-zenburn-theme hcl-mode gruber-darker-theme gruvbox-theme haml-mode hc-zenburn-theme hcl-mode
helm-ag helm-c-yasnippet helm-comint helm-company helm-css-scss helm helm-ag helm-c-yasnippet helm-comint helm-company helm-css-scss
helm-descbinds helm-git-grep helm-ls-git helm-lsp helm-make helm-descbinds helm-git-grep helm-ls-git helm-lsp helm-make
helm-mode-manager helm-notmuch helm-org helm-org-rifle helm-projectile helm-mode-manager helm-notmuch helm-org helm-org-rifle helm-projectile
helm-purpose helm-pydoc helm-swoop helm-themes helm-xref hemisu-theme helm-purpose helm-pydoc helm-swoop helm-themes helm-xref hemisu-theme

View File

@@ -14,3 +14,6 @@ Host dabel dabel.us.oracle.com andel andel.us.oracle.com gates gates.us.oracle.c
RequestTTY yes RequestTTY yes
Host oci.private.devops.scmservice.us-phoenix-1.oci.oracleiaas.com
PKCS11Provider /Library/OpenSC/lib/opensc-pkcs11.so
User pnyc@bmc_operator_access

4
.zshrc
View File

@@ -304,3 +304,7 @@ if command -v launchctl >/dev/null 2>&1; then
fi fi
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT)
# export PATH="/Users/jetpac/.rd/bin:$PATH"
### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT)

View File

@@ -83,6 +83,11 @@ notmuch tag +s11u3-sru +userland \
subject:/\[Diffusion\].*rUSERLAND.*11\.3/ subject:/\[Diffusion\].*rUSERLAND.*11\.3/
)" )"
notmuch tag +userland -unread -inbox \
tag:new AND "(
from:mailman-owner@userland.us.oracle.com
)"
notmuch tag +s11u4-sru +userland \ notmuch tag +s11u4-sru +userland \
tag:new AND "( tag:new AND "(
tag:phabricator AND tag:phabricator AND
@@ -253,6 +258,20 @@ notmuch tag +on +gkap +logs +s11u4-sru \
notmuch tag +on +gkap +logs +s11u4-sru \ notmuch tag +on +gkap +logs +s11u4-sru \
"tag:new AND tag:inbox AND (subject:GKAP or subject:GKAB)" "tag:new AND tag:inbox AND (subject:GKAP or subject:GKAB)"
notmuch tag +on +gkap +logs +s11u4-sru \
"tag:new AND to:rpe_gk_backport_ww_grp and subject:/pass.*on11u4.*scapen/"
notmuch tag +on +gkap +logs +s11u4-sru \
"tag:new AND from:blduser@bld.us.oracle.com AND to:rpe_gk_backport_ww_grp"
notmuch tag +on +gkap +logs +s11u4-sru \
"tag:new AND from:rpe_sme_ww_grp AND NOT
(subject:/INTERIM.GK.Backport.*/ OR subject:/New.GK.backport.testing.has.started/ OR
subject:/^.*GK.Backport.testing.has.completed/ OR
subject:/INTERIM.GK.Backport.report.for/)"
# notmuch tag +on +gkap +logs +s11u4-sru \ # notmuch tag +on +gkap +logs +s11u4-sru \
# tag:new AND from:rpe_sme_ww_grp@oracle.com AND subject:"/INTERIM.GK.Backport.report.for.GKAP_11.4.*/" # tag:new AND from:rpe_sme_ww_grp@oracle.com AND subject:"/INTERIM.GK.Backport.report.for.GKAP_11.4.*/"
@@ -422,6 +441,10 @@ notmuch tag +oci +osd +important +region-ga \
"$ST" AND \ "$ST" AND \
"from:/OCI-REGION-BUILD.*/" "from:/OCI-REGION-BUILD.*/"
# Change Freeze
notmuch tag +oci +important +changefreeze \
"$ST" AND \
"subject:/Oracle.Change.Management.Alert/"
# ODAAS Deployments Calendar # ODAAS Deployments Calendar