feat(agents): add gitIdentity config and git-identity rule

- coding.agents.gitIdentity enabled with m3ta-chiron identity
- coding.agents.pi.codingRules.concerns includes 'git-identity'
- Uses feature/agent-git-identity branches for m3ta-nixpkgs and agents
This commit is contained in:
m3tm3re
2026-04-27 13:24:34 +02:00
parent 936eb13794
commit a427f319d4
4 changed files with 23 additions and 13 deletions

22
flake.lock generated
View File

@@ -26,15 +26,16 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1777053633, "lastModified": 1777287027,
"narHash": "sha256-AtoguTQc8x4ysH5KSlRaFMx1elTOnTdk1u4YtqlttVU=", "narHash": "sha256-8GM2Aydq9i8KbvyObqyMYhWkY+e7oh3+eyMfUVnt6Oo=",
"ref": "refs/heads/master", "ref": "feature/agent-git-identity",
"rev": "6e0e847299b81665ba594668fff208278bb3de3b", "rev": "3487050bbd9126251a2fce98363858e1ee55ea23",
"revCount": 73, "revCount": 80,
"type": "git", "type": "git",
"url": "https://code.m3ta.dev/m3tam3re/AGENTS" "url": "https://code.m3ta.dev/m3tam3re/AGENTS"
}, },
"original": { "original": {
"ref": "feature/agent-git-identity",
"type": "git", "type": "git",
"url": "https://code.m3ta.dev/m3tam3re/AGENTS" "url": "https://code.m3ta.dev/m3tam3re/AGENTS"
} }
@@ -452,15 +453,16 @@
"openspec": "openspec" "openspec": "openspec"
}, },
"locked": { "locked": {
"lastModified": 1776876631, "lastModified": 1777288631,
"narHash": "sha256-YgTb6pugAvUiSm7xVMpejf6kJPodhq8fOYQDdELfwQg=", "narHash": "sha256-crbjn8KvewFwvBKovX1r4jdmGF96XePe7U9eT9LHVFY=",
"ref": "refs/heads/master", "ref": "feature/agent-git-identity",
"rev": "03ad7451fcfafde94da937afb6cf96ca39cc8e2f", "rev": "fa339ae8ccdf1d3ae35b7571a9639f45952c725e",
"revCount": 244, "revCount": 251,
"type": "git", "type": "git",
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs" "url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
}, },
"original": { "original": {
"ref": "feature/agent-git-identity",
"type": "git", "type": "git",
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs" "url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
} }

View File

@@ -22,8 +22,7 @@
nixpkgs-9e58ed7.url = "github:nixos/nixpkgs/9e58ed7ba759d81c98f033b7f5eba21ca68f53b0"; nixpkgs-9e58ed7.url = "github:nixos/nixpkgs/9e58ed7ba759d81c98f033b7f5eba21ca68f53b0";
nixpkgs-master.url = "github:nixos/nixpkgs/master"; nixpkgs-master.url = "github:nixos/nixpkgs/master";
m3ta-nixpkgs.url = "git+https://code.m3ta.dev/m3tam3re/nixpkgs"; m3ta-nixpkgs.url = "git+https://code.m3ta.dev/m3tam3re/nixpkgs?ref=feature/agent-git-identity";
# m3ta-nixpkgs.url = "path:/home/m3tam3re/p/NIX/nixpkgs";
llm-agents.url = "github:numtide/llm-agents.nix"; llm-agents.url = "github:numtide/llm-agents.nix";
# #
@@ -46,7 +45,7 @@
agents = { agents = {
# url = "path:/home/m3tam3re/p/AI/AGENTS"; # url = "path:/home/m3tam3re/p/AI/AGENTS";
url = "git+https://code.m3ta.dev/m3tam3re/AGENTS"; url = "git+https://code.m3ta.dev/m3tam3re/AGENTS?ref=feature/agent-git-identity";
}; };
## Skills ## Skills
skills-basecamp = { skills-basecamp = {

View File

@@ -9,6 +9,14 @@
videoDrivers ? [], videoDrivers ? [],
... ...
}: { }: {
# Agent Git Identity configuration
coding.agents.gitIdentity = {
enable = true;
name = "m3ta-chiron";
email = "m3ta-chiron@agentmail.to";
sshKey = "/home/m3tam3re/.ssh/m3ta-chiron";
};
imports = [ imports = [
# OpenCode and Pi agent configurations # OpenCode and Pi agent configurations
./opencode.nix ./opencode.nix

View File

@@ -23,6 +23,7 @@
"documentation" # Documentation standards "documentation" # Documentation standards
"testing" # Testing guidelines (Arrange-Act-Assert) "testing" # Testing guidelines (Arrange-Act-Assert)
"git-workflow" # Conventional commits, branch naming "git-workflow" # Conventional commits, branch naming
"git-identity" # Git identity configuration for agents
"project-structure" # Project layout conventions "project-structure" # Project layout conventions
]; ];