github-agent 2.5.0__tar.gz → 2.5.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. {github_agent-2.5.0 → github_agent-2.5.1}/PKG-INFO +116 -117
  2. {github_agent-2.5.0 → github_agent-2.5.1}/README.md +114 -115
  3. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/__init__.py +11 -3
  4. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/connector_sources.py +5 -5
  5. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/kg_ingest.py +17 -7
  6. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/mcp_server.py +16 -3
  7. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/ontology/__init__.py +1 -1
  8. github_agent-2.5.1/github_agent/ontology/access_contracts.ttl +40 -0
  9. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/ontology/certification.json +3 -3
  10. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/ontology/github.ttl +58 -62
  11. github_agent-2.5.1/github_agent/ontology/shapes/connector.shacl.ttl +24 -0
  12. github_agent-2.5.1/github_agent/skills/github-actions-ci-review/SKILL.md +60 -0
  13. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-agent-development/SKILL.md +16 -0
  14. github_agent-2.5.1/github_agent/skills/github-agent-operations/SKILL.md +79 -0
  15. github_agent-2.5.1/github_agent/skills/github-backlog-planner/SKILL.md +67 -0
  16. github_agent-2.5.1/github_agent/skills/github-ci-failure-sweep/SKILL.md +60 -0
  17. github_agent-2.5.1/github_agent/skills/github-dependabot-review/SKILL.md +49 -0
  18. github_agent-2.5.1/github_agent/skills/github-issue-tracking/SKILL.md +56 -0
  19. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-org-remediation-loop/SKILL.md +19 -1
  20. github_agent-2.5.1/github_agent/skills/github-pr-review-sweep/SKILL.md +73 -0
  21. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-project-provisioner/SKILL.md +16 -0
  22. github_agent-2.5.1/github_agent/skills/github-pull-request-create/SKILL.md +52 -0
  23. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-pull-request-review/SKILL.md +19 -1
  24. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-repository-management/SKILL.md +19 -1
  25. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-tools/SKILL.md +16 -0
  26. github_agent-2.5.1/github_agent/skills/github-triage-resolver/SKILL.md +69 -0
  27. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent.egg-info/PKG-INFO +116 -117
  28. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent.egg-info/SOURCES.txt +4 -0
  29. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent.egg-info/requires.txt +1 -1
  30. {github_agent-2.5.0 → github_agent-2.5.1}/pyproject.toml +2 -2
  31. github_agent-2.5.1/tests/test_access_contracts.py +105 -0
  32. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_cq_paths.py +3 -4
  33. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_destructive_declaration.py +10 -1
  34. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_kg_ingest.py +7 -3
  35. github_agent-2.5.1/tests/test_ontology_one_schema.py +57 -0
  36. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_ontology_parent_link.py +12 -12
  37. github_agent-2.5.1/tests/test_scion_sdk_0_10_imports.py +59 -0
  38. github_agent-2.5.0/github_agent/ontology/shapes/connector.shacl.ttl +0 -104
  39. github_agent-2.5.0/github_agent/skills/github-actions-ci-review/SKILL.md +0 -42
  40. github_agent-2.5.0/github_agent/skills/github-agent-operations/SKILL.md +0 -61
  41. github_agent-2.5.0/github_agent/skills/github-backlog-planner/SKILL.md +0 -49
  42. github_agent-2.5.0/github_agent/skills/github-ci-failure-sweep/SKILL.md +0 -42
  43. github_agent-2.5.0/github_agent/skills/github-dependabot-review/SKILL.md +0 -31
  44. github_agent-2.5.0/github_agent/skills/github-issue-tracking/SKILL.md +0 -38
  45. github_agent-2.5.0/github_agent/skills/github-pr-review-sweep/SKILL.md +0 -55
  46. github_agent-2.5.0/github_agent/skills/github-pull-request-create/SKILL.md +0 -35
  47. github_agent-2.5.0/github_agent/skills/github-triage-resolver/SKILL.md +0 -51
  48. {github_agent-2.5.0 → github_agent-2.5.1}/LICENSE +0 -0
  49. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/__main__.py +0 -0
  50. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/__init__.py +0 -0
  51. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_base.py +0 -0
  52. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_branches.py +0 -0
  53. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_comments.py +0 -0
  54. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_commits.py +0 -0
  55. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_contents.py +0 -0
  56. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_dependabot.py +0 -0
  57. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_issues.py +0 -0
  58. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_orgs.py +0 -0
  59. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_pages.py +0 -0
  60. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_pulls.py +0 -0
  61. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_releases.py +0 -0
  62. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_repos.py +0 -0
  63. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_search.py +0 -0
  64. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api/api_client_workflows.py +0 -0
  65. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/api_client.py +0 -0
  66. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/auth.py +0 -0
  67. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/connector_contracts.py +0 -0
  68. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/connectors/__init__.py +0 -0
  69. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/github_gql.py +0 -0
  70. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/github_http.py +0 -0
  71. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/github_input_models.py +0 -0
  72. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/github_response_models.py +0 -0
  73. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/mcp/__init__.py +0 -0
  74. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/mcp_config.json +0 -0
  75. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/ontology/fixtures/records.json +0 -0
  76. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/ontology/mappings/source.yaml +0 -0
  77. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/ontology/migrations/manifest.json +0 -0
  78. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/prompts/__init__.py +0 -0
  79. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/prompts/github-mcp-operator.json +0 -0
  80. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/prompts/github-mcp-release-manager.json +0 -0
  81. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/prompts/github-mcp-repository-administrator.json +0 -0
  82. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/prompts/github-mcp-triage-lead.json +0 -0
  83. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/__init__.py +0 -0
  84. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-backlog-planner/references/addressed-heuristics.md +0 -0
  85. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-backlog-planner/scripts/build_plan.py +0 -0
  86. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-ci-failure-sweep/scripts/summarize_runs.py +0 -0
  87. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-org-remediation-loop/scripts/classify_fix_risk.py +0 -0
  88. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-pr-review-sweep/scripts/summarize_prs.py +0 -0
  89. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-project-provisioner/scripts/enable_pages.py +0 -0
  90. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-tools/code-reviewer.md +0 -0
  91. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-tools/scripts/fetch_comments.py +0 -0
  92. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-tools/scripts/inspect_pr_checks.py +0 -0
  93. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-triage-resolver/references/resolution-rules.md +0 -0
  94. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-triage-resolver/scripts/classify_safe.py +0 -0
  95. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent/skills/github-triage-resolver/scripts/gh_write.py +0 -0
  96. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent.egg-info/dependency_links.txt +0 -0
  97. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent.egg-info/entry_points.txt +0 -0
  98. {github_agent-2.5.0 → github_agent-2.5.1}/github_agent.egg-info/top_level.txt +0 -0
  99. {github_agent-2.5.0 → github_agent-2.5.1}/setup.cfg +0 -0
  100. {github_agent-2.5.0 → github_agent-2.5.1}/tests/conftest.py +0 -0
  101. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_api_client_endpoints.py +0 -0
  102. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_api_validation.py +0 -0
  103. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_auth_client_edge_cases.py +0 -0
  104. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_default_content_surfaces.py +0 -0
  105. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_fleet_name.py +0 -0
  106. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_github_agent_api_brute_force_coverage.py +0 -0
  107. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_github_agent_brute_force_coverage.py +0 -0
  108. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_github_gql.py +0 -0
  109. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_github_http.py +0 -0
  110. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_ingest_sources.py +0 -0
  111. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_init_dynamics.py +0 -0
  112. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_model_fields.py +0 -0
  113. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_pages.py +0 -0
  114. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_skill_backlog_build_plan.py +0 -0
  115. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_skill_ci_failure_sweep_summarize_runs.py +0 -0
  116. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_skill_github_tools_fetch_comments.py +0 -0
  117. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_skill_github_tools_inspect_pr_checks.py +0 -0
  118. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_skill_org_remediation_classify_fix_risk.py +0 -0
  119. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_skill_pr_review_sweep_summarize_prs.py +0 -0
  120. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_skill_triage_resolver_classify_safe.py +0 -0
  121. {github_agent-2.5.0 → github_agent-2.5.1}/tests/test_startup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: github-agent
3
- Version: 2.5.0
3
+ Version: 2.5.1
4
4
  Summary: GitHub Agent for MCP
5
5
  Author-email: Repository Maintainers <maintainers@knuckles.team>
6
6
  License: MIT
@@ -13,7 +13,7 @@ Requires-Python: >=3.12
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
15
  Requires-Dist: requests>=2.34.2
16
- Requires-Dist: scion-sdk[graphql,mcp]<0.11,>=0.10.2
16
+ Requires-Dist: scion-sdk[graphql,mcp]<0.15,>=0.14.1
17
17
  Provides-Extra: mcp
18
18
  Provides-Extra: all
19
19
  Provides-Extra: test
@@ -44,9 +44,8 @@ Dynamic: license-file
44
44
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/github-agent)
45
45
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/github-agent)
46
46
 
47
- *Version: 2.4.9*
48
-
49
- > **Documentation** — Installation, deployment, and usage across the MCP, API, and
47
+ > **Documentation** — Installation, deployment, and usage across the API, CLI, MCP,
48
+ > and A2A agent interfaces are maintained in the
50
49
  > [official documentation](https://knuckles-team.github.io/github-agent/).
51
50
 
52
51
  ---
@@ -223,7 +222,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
223
222
 
224
223
  > **Install the connector-focused `[mcp]` extra.** Examples use `github-agent[mcp]` to add
225
224
  > FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
226
- > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
225
+ > still carries `medulla[full]`. The `[agent-runtime]` extra additionally
227
226
  > enables model orchestration.
228
227
 
229
228
  #### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
@@ -386,6 +385,112 @@ the detailed transport contract.
386
385
 
387
386
  ---
388
387
 
388
+ ## Agent
389
+
390
+ This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the **Agent Control Protocol (ACP)** and interacts smoothly with the **Agent Web UI (AG-UI)** and Terminal interface.
391
+
392
+ ### Running the Agent CLI
393
+ To start the interactive command-line agent:
394
+
395
+ ```bash
396
+ # Set credentials
397
+ export GITHUB_URL="your_value"
398
+ # Configure TLS_PROFILE or TLS_PROFILE_REF through AgentConfig for private PKI.
399
+ export DEBUG="your_value"
400
+ export PYTHONUNBUFFERED="your_value"
401
+ export GITHUB_TOKEN="your_value"
402
+
403
+ # Run the agent server
404
+ github-agent --provider openai --model-id gpt-4o
405
+ ```
406
+
407
+ ### Docker Compose Orchestration
408
+
409
+ ```yaml
410
+ version: '3.8'
411
+
412
+ services:
413
+ github-agent-mcp:
414
+ container_name: github-agent-mcp
415
+ hostname: github-agent-mcp
416
+ restart: always
417
+ env_file:
418
+ - ../.env
419
+ environment:
420
+ - PYTHONUNBUFFERED=1
421
+ - HOST=0.0.0.0
422
+ - PORT=8000
423
+ - TRANSPORT=streamable-http
424
+ ports:
425
+ - "8000:8000"
426
+ healthcheck:
427
+ test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
428
+ interval: 30s
429
+ timeout: 10s
430
+ retries: 3
431
+ start_period: 10s
432
+ logging:
433
+ driver: json-file
434
+ options:
435
+ max-size: "10m"
436
+ max-file: "3"
437
+
438
+ image: example/github-agent@sha256:<digest>
439
+ container_name: github-agent-agent
440
+ hostname: github-agent-agent
441
+ restart: always
442
+ depends_on:
443
+ - github-agent-mcp
444
+ env_file:
445
+ - ../.env
446
+ command: [ "github-agent" ]
447
+ environment:
448
+ - PYTHONUNBUFFERED=1
449
+ - HOST=0.0.0.0
450
+ - PORT=9016
451
+ - MCP_URL=http://github-agent-mcp:8000/mcp
452
+ - PROVIDER=${PROVIDER:-openai}
453
+ - MODEL_ID=${MODEL_ID:-gpt-4o}
454
+ - ENABLE_WEB_UI=True
455
+ - ENABLE_OTEL=True
456
+ ports:
457
+ - "9016:9016"
458
+ healthcheck:
459
+ test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9016/health')"]
460
+ interval: 30s
461
+ timeout: 10s
462
+ retries: 3
463
+ start_period: 10s
464
+ logging:
465
+ driver: json-file
466
+ options:
467
+ max-size: "10m"
468
+ max-file: "3"
469
+
470
+ ```
471
+
472
+ Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in [docs/deployment.md](docs/deployment.md).
473
+
474
+ ---
475
+
476
+ ## Security & Governance
477
+
478
+ Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
479
+
480
+ ### Access Control & Policy Enforcement
481
+ - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
482
+ - **OIDC Token Delegation:** Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.
483
+ - **Scoped Credentials:** Execution context runs restricted to the specific caller identity.
484
+
485
+ ### Runtime Security Grid
486
+ | Feature | Feature | Enablement |
487
+ |---------|---------------|------------|
488
+ | **Tool Guard** | Sensitivity inspection with human-in-the-loop validation | Enabled by default |
489
+ | **Prompt Injection Defense** | Input scanning, repetition monitoring, and recursive loop blocks | Enabled by default |
490
+ | **Context Safety Guard** | Stuck-loop detectors and contextual overflow preemptive alerts | Enabled by default |
491
+
492
+ ---
493
+
389
494
  ## Environment Variables
390
495
 
391
496
  <!-- ENV-VARS-TABLE:START -->
@@ -498,110 +603,6 @@ The tool surface is the typed per-operation tools; there are no per-domain toggl
498
603
 
499
604
  See [`.env.example`](.env.example) for a copy-paste starting point.
500
605
 
501
- ## Agent
502
-
503
- This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the **Agent Control Protocol (ACP)** and interacts smoothly with the **Agent Web UI (AG-UI)** and Terminal interface.
504
-
505
- ### Running the Agent CLI
506
- To start the interactive command-line agent:
507
-
508
- ```bash
509
- # Set credentials
510
- export GITHUB_URL="your_value"
511
- # Configure TLS_PROFILE or TLS_PROFILE_REF through AgentConfig for private PKI.
512
- export DEBUG="your_value"
513
- export PYTHONUNBUFFERED="your_value"
514
- export GITHUB_TOKEN="your_value"
515
-
516
- # Run the agent server
517
- github-agent --provider openai --model-id gpt-4o
518
- ```
519
-
520
- ### Docker Compose Orchestration
521
-
522
- ```yaml
523
- version: '3.8'
524
-
525
- services:
526
- github-agent-mcp:
527
- container_name: github-agent-mcp
528
- hostname: github-agent-mcp
529
- restart: always
530
- env_file:
531
- - ../.env
532
- environment:
533
- - PYTHONUNBUFFERED=1
534
- - HOST=0.0.0.0
535
- - PORT=8000
536
- - TRANSPORT=streamable-http
537
- ports:
538
- - "8000:8000"
539
- healthcheck:
540
- test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
541
- interval: 30s
542
- timeout: 10s
543
- retries: 3
544
- start_period: 10s
545
- logging:
546
- driver: json-file
547
- options:
548
- max-size: "10m"
549
- max-file: "3"
550
-
551
- image: example/github-agent@sha256:<digest>
552
- container_name: github-agent-agent
553
- hostname: github-agent-agent
554
- restart: always
555
- depends_on:
556
- - github-agent-mcp
557
- env_file:
558
- - ../.env
559
- command: [ "github-agent" ]
560
- environment:
561
- - PYTHONUNBUFFERED=1
562
- - HOST=0.0.0.0
563
- - PORT=9016
564
- - MCP_URL=http://github-agent-mcp:8000/mcp
565
- - PROVIDER=${PROVIDER:-openai}
566
- - MODEL_ID=${MODEL_ID:-gpt-4o}
567
- - ENABLE_WEB_UI=True
568
- - ENABLE_OTEL=True
569
- ports:
570
- - "9016:9016"
571
- healthcheck:
572
- test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9016/health')"]
573
- interval: 30s
574
- timeout: 10s
575
- retries: 3
576
- start_period: 10s
577
- logging:
578
- driver: json-file
579
- options:
580
- max-size: "10m"
581
- max-file: "3"
582
-
583
- ```
584
-
585
- Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in [docs/deployment.md](docs/deployment.md).
586
-
587
- ---
588
-
589
- ## Security & Governance
590
-
591
- Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
592
-
593
- ### Access Control & Policy Enforcement
594
- - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
595
- - **OIDC Token Delegation:** Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.
596
- - **Scoped Credentials:** Execution context runs restricted to the specific caller identity.
597
-
598
- ### Runtime Security Grid
599
- | Feature | Feature | Enablement |
600
- |---------|---------------|------------|
601
- | **Tool Guard** | Sensitivity inspection with human-in-the-loop validation | Enabled by default |
602
- | **Prompt Injection Defense** | Input scanning, repetition monitoring, and recursive loop blocks | Enabled by default |
603
- | **Context Safety Guard** | Stuck-loop detectors and contextual overflow preemptive alerts | Enabled by default |
604
-
605
606
  ---
606
607
 
607
608
  ## Installation
@@ -610,7 +611,7 @@ Pick the extra that matches what the operator want to run:
610
611
 
611
612
  | Extra | Installs | Use when |
612
613
  |-------|----------|----------|
613
- | `github-agent[mcp]` | Connector-focused MCP server (`scion-sdk` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
614
+ | `github-agent[mcp]` | Connector-focused MCP server (`scion-sdk` — FastMCP/FastAPI + `medulla[full]`) | The operator only run the **MCP server** (smallest install / image) |
614
615
  | `github-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
615
616
 
616
617
  ```bash
@@ -635,14 +636,14 @@ One multi-stage `docker/Dockerfile` builds the MCP-only image (`--target mcp`):
635
636
 
636
637
  agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
637
638
 
638
- ### Knowledge-graph database (`epistemic-graph`)
639
+ ### Knowledge-graph database (`medulla`)
639
640
 
640
- Scion SDK core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
641
+ Scion SDK core dependency (`medulla[full]`). The `[mcp]` extra keeps
641
642
  deployments can use the bundled engine. For production or shared state, run
642
- **epistemic-graph as a dedicated database service** and configure the runtime to use it.
643
+ **medulla as a dedicated database service** and configure the runtime to use it.
643
644
  Deployment recipes (single-node + Raft HA), connection configuration, and architecture
644
645
  diagrams are documented in the
645
- [epistemic-graph deployment guide](https://knuckles-team.github.io/epistemic-graph/deployment/).
646
+ [medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
646
647
 
647
648
  ---
648
649
 
@@ -679,8 +680,6 @@ Contributions are welcome! Please ensure code quality by running local checks be
679
680
  - Validate type-safety with `mypy .`
680
681
  - Run test suites using `pytest`
681
682
 
682
-
683
-
684
683
  <!-- GOVERNED-CAPABILITY:START -->
685
684
  ## Governed capability contract
686
685
 
@@ -20,9 +20,8 @@
20
20
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/github-agent)
21
21
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/github-agent)
22
22
 
23
- *Version: 2.4.9*
24
-
25
- > **Documentation** — Installation, deployment, and usage across the MCP, API, and
23
+ > **Documentation** — Installation, deployment, and usage across the API, CLI, MCP,
24
+ > and A2A agent interfaces are maintained in the
26
25
  > [official documentation](https://knuckles-team.github.io/github-agent/).
27
26
 
28
27
  ---
@@ -199,7 +198,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
199
198
 
200
199
  > **Install the connector-focused `[mcp]` extra.** Examples use `github-agent[mcp]` to add
201
200
  > FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
202
- > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
201
+ > still carries `medulla[full]`. The `[agent-runtime]` extra additionally
203
202
  > enables model orchestration.
204
203
 
205
204
  #### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
@@ -362,6 +361,112 @@ the detailed transport contract.
362
361
 
363
362
  ---
364
363
 
364
+ ## Agent
365
+
366
+ This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the **Agent Control Protocol (ACP)** and interacts smoothly with the **Agent Web UI (AG-UI)** and Terminal interface.
367
+
368
+ ### Running the Agent CLI
369
+ To start the interactive command-line agent:
370
+
371
+ ```bash
372
+ # Set credentials
373
+ export GITHUB_URL="your_value"
374
+ # Configure TLS_PROFILE or TLS_PROFILE_REF through AgentConfig for private PKI.
375
+ export DEBUG="your_value"
376
+ export PYTHONUNBUFFERED="your_value"
377
+ export GITHUB_TOKEN="your_value"
378
+
379
+ # Run the agent server
380
+ github-agent --provider openai --model-id gpt-4o
381
+ ```
382
+
383
+ ### Docker Compose Orchestration
384
+
385
+ ```yaml
386
+ version: '3.8'
387
+
388
+ services:
389
+ github-agent-mcp:
390
+ container_name: github-agent-mcp
391
+ hostname: github-agent-mcp
392
+ restart: always
393
+ env_file:
394
+ - ../.env
395
+ environment:
396
+ - PYTHONUNBUFFERED=1
397
+ - HOST=0.0.0.0
398
+ - PORT=8000
399
+ - TRANSPORT=streamable-http
400
+ ports:
401
+ - "8000:8000"
402
+ healthcheck:
403
+ test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
404
+ interval: 30s
405
+ timeout: 10s
406
+ retries: 3
407
+ start_period: 10s
408
+ logging:
409
+ driver: json-file
410
+ options:
411
+ max-size: "10m"
412
+ max-file: "3"
413
+
414
+ image: example/github-agent@sha256:<digest>
415
+ container_name: github-agent-agent
416
+ hostname: github-agent-agent
417
+ restart: always
418
+ depends_on:
419
+ - github-agent-mcp
420
+ env_file:
421
+ - ../.env
422
+ command: [ "github-agent" ]
423
+ environment:
424
+ - PYTHONUNBUFFERED=1
425
+ - HOST=0.0.0.0
426
+ - PORT=9016
427
+ - MCP_URL=http://github-agent-mcp:8000/mcp
428
+ - PROVIDER=${PROVIDER:-openai}
429
+ - MODEL_ID=${MODEL_ID:-gpt-4o}
430
+ - ENABLE_WEB_UI=True
431
+ - ENABLE_OTEL=True
432
+ ports:
433
+ - "9016:9016"
434
+ healthcheck:
435
+ test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9016/health')"]
436
+ interval: 30s
437
+ timeout: 10s
438
+ retries: 3
439
+ start_period: 10s
440
+ logging:
441
+ driver: json-file
442
+ options:
443
+ max-size: "10m"
444
+ max-file: "3"
445
+
446
+ ```
447
+
448
+ Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in [docs/deployment.md](docs/deployment.md).
449
+
450
+ ---
451
+
452
+ ## Security & Governance
453
+
454
+ Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
455
+
456
+ ### Access Control & Policy Enforcement
457
+ - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
458
+ - **OIDC Token Delegation:** Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.
459
+ - **Scoped Credentials:** Execution context runs restricted to the specific caller identity.
460
+
461
+ ### Runtime Security Grid
462
+ | Feature | Feature | Enablement |
463
+ |---------|---------------|------------|
464
+ | **Tool Guard** | Sensitivity inspection with human-in-the-loop validation | Enabled by default |
465
+ | **Prompt Injection Defense** | Input scanning, repetition monitoring, and recursive loop blocks | Enabled by default |
466
+ | **Context Safety Guard** | Stuck-loop detectors and contextual overflow preemptive alerts | Enabled by default |
467
+
468
+ ---
469
+
365
470
  ## Environment Variables
366
471
 
367
472
  <!-- ENV-VARS-TABLE:START -->
@@ -474,110 +579,6 @@ The tool surface is the typed per-operation tools; there are no per-domain toggl
474
579
 
475
580
  See [`.env.example`](.env.example) for a copy-paste starting point.
476
581
 
477
- ## Agent
478
-
479
- This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the **Agent Control Protocol (ACP)** and interacts smoothly with the **Agent Web UI (AG-UI)** and Terminal interface.
480
-
481
- ### Running the Agent CLI
482
- To start the interactive command-line agent:
483
-
484
- ```bash
485
- # Set credentials
486
- export GITHUB_URL="your_value"
487
- # Configure TLS_PROFILE or TLS_PROFILE_REF through AgentConfig for private PKI.
488
- export DEBUG="your_value"
489
- export PYTHONUNBUFFERED="your_value"
490
- export GITHUB_TOKEN="your_value"
491
-
492
- # Run the agent server
493
- github-agent --provider openai --model-id gpt-4o
494
- ```
495
-
496
- ### Docker Compose Orchestration
497
-
498
- ```yaml
499
- version: '3.8'
500
-
501
- services:
502
- github-agent-mcp:
503
- container_name: github-agent-mcp
504
- hostname: github-agent-mcp
505
- restart: always
506
- env_file:
507
- - ../.env
508
- environment:
509
- - PYTHONUNBUFFERED=1
510
- - HOST=0.0.0.0
511
- - PORT=8000
512
- - TRANSPORT=streamable-http
513
- ports:
514
- - "8000:8000"
515
- healthcheck:
516
- test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
517
- interval: 30s
518
- timeout: 10s
519
- retries: 3
520
- start_period: 10s
521
- logging:
522
- driver: json-file
523
- options:
524
- max-size: "10m"
525
- max-file: "3"
526
-
527
- image: example/github-agent@sha256:<digest>
528
- container_name: github-agent-agent
529
- hostname: github-agent-agent
530
- restart: always
531
- depends_on:
532
- - github-agent-mcp
533
- env_file:
534
- - ../.env
535
- command: [ "github-agent" ]
536
- environment:
537
- - PYTHONUNBUFFERED=1
538
- - HOST=0.0.0.0
539
- - PORT=9016
540
- - MCP_URL=http://github-agent-mcp:8000/mcp
541
- - PROVIDER=${PROVIDER:-openai}
542
- - MODEL_ID=${MODEL_ID:-gpt-4o}
543
- - ENABLE_WEB_UI=True
544
- - ENABLE_OTEL=True
545
- ports:
546
- - "9016:9016"
547
- healthcheck:
548
- test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9016/health')"]
549
- interval: 30s
550
- timeout: 10s
551
- retries: 3
552
- start_period: 10s
553
- logging:
554
- driver: json-file
555
- options:
556
- max-size: "10m"
557
- max-file: "3"
558
-
559
- ```
560
-
561
- Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in [docs/deployment.md](docs/deployment.md).
562
-
563
- ---
564
-
565
- ## Security & Governance
566
-
567
- Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
568
-
569
- ### Access Control & Policy Enforcement
570
- - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
571
- - **OIDC Token Delegation:** Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.
572
- - **Scoped Credentials:** Execution context runs restricted to the specific caller identity.
573
-
574
- ### Runtime Security Grid
575
- | Feature | Feature | Enablement |
576
- |---------|---------------|------------|
577
- | **Tool Guard** | Sensitivity inspection with human-in-the-loop validation | Enabled by default |
578
- | **Prompt Injection Defense** | Input scanning, repetition monitoring, and recursive loop blocks | Enabled by default |
579
- | **Context Safety Guard** | Stuck-loop detectors and contextual overflow preemptive alerts | Enabled by default |
580
-
581
582
  ---
582
583
 
583
584
  ## Installation
@@ -586,7 +587,7 @@ Pick the extra that matches what the operator want to run:
586
587
 
587
588
  | Extra | Installs | Use when |
588
589
  |-------|----------|----------|
589
- | `github-agent[mcp]` | Connector-focused MCP server (`scion-sdk` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
590
+ | `github-agent[mcp]` | Connector-focused MCP server (`scion-sdk` — FastMCP/FastAPI + `medulla[full]`) | The operator only run the **MCP server** (smallest install / image) |
590
591
  | `github-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
591
592
 
592
593
  ```bash
@@ -611,14 +612,14 @@ One multi-stage `docker/Dockerfile` builds the MCP-only image (`--target mcp`):
611
612
 
612
613
  agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
613
614
 
614
- ### Knowledge-graph database (`epistemic-graph`)
615
+ ### Knowledge-graph database (`medulla`)
615
616
 
616
- Scion SDK core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
617
+ Scion SDK core dependency (`medulla[full]`). The `[mcp]` extra keeps
617
618
  deployments can use the bundled engine. For production or shared state, run
618
- **epistemic-graph as a dedicated database service** and configure the runtime to use it.
619
+ **medulla as a dedicated database service** and configure the runtime to use it.
619
620
  Deployment recipes (single-node + Raft HA), connection configuration, and architecture
620
621
  diagrams are documented in the
621
- [epistemic-graph deployment guide](https://knuckles-team.github.io/epistemic-graph/deployment/).
622
+ [medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
622
623
 
623
624
  ---
624
625
 
@@ -655,8 +656,6 @@ Contributions are welcome! Please ensure code quality by running local checks be
655
656
  - Validate type-safety with `mypy .`
656
657
  - Run test suites using `pytest`
657
658
 
658
-
659
-
660
659
  <!-- GOVERNED-CAPABILITY:START -->
661
660
  ## Governed capability contract
662
661
 
@@ -3,13 +3,21 @@ from scion_sdk.connector_identity import connector_version
3
3
 
4
4
  from github_agent.api_client import Api
5
5
  from github_agent.auth import get_client
6
- from github_agent.mcp_server import TOOL_REGISTRY
6
+ from github_agent.mcp_server import OWNER_APPROVAL_OPERATIONS, TOOL_REGISTRY
7
7
 
8
8
  __version__ = connector_version("github_agent")
9
9
 
10
10
  connector = Connector(
11
- api=Api,
12
- get_client=get_client,
11
+ verbose_targets=(
12
+ {
13
+ "client_cls": Api,
14
+ "get_client": get_client,
15
+ "manifest": [
16
+ {"method": method, "owner_approval_required": True}
17
+ for method in OWNER_APPROVAL_OPERATIONS
18
+ ],
19
+ },
20
+ ),
13
21
  tool_registry=TOOL_REGISTRY,
14
22
  instructions="Github MCP Server - Manage your repositories, issues, and pull requests.",
15
23
  )
@@ -55,7 +55,7 @@ SCHEMA_MAPPINGS = {
55
55
  "defaultBranch": "xsd:string",
56
56
  "durationSeconds": "xsd:integer",
57
57
  "event": "xsd:string",
58
- "fullName": "xsd:string",
58
+ "repositoryFullName": "xsd:string",
59
59
  "headBranch": "xsd:string",
60
60
  "headSha": "xsd:string",
61
61
  "htmlUrl": "xsd:string",
@@ -80,7 +80,7 @@ SCHEMA_MAPPINGS = {
80
80
  "defaultBranch": "xsd:string",
81
81
  "durationSeconds": "xsd:integer",
82
82
  "event": "xsd:string",
83
- "fullName": "xsd:string",
83
+ "repositoryFullName": "xsd:string",
84
84
  "headBranch": "xsd:string",
85
85
  "headSha": "xsd:string",
86
86
  "htmlUrl": "xsd:string",
@@ -105,7 +105,7 @@ SCHEMA_MAPPINGS = {
105
105
  "defaultBranch": "xsd:string",
106
106
  "durationSeconds": "xsd:integer",
107
107
  "event": "xsd:string",
108
- "fullName": "xsd:string",
108
+ "repositoryFullName": "xsd:string",
109
109
  "headBranch": "xsd:string",
110
110
  "headSha": "xsd:string",
111
111
  "htmlUrl": "xsd:string",
@@ -130,7 +130,7 @@ SCHEMA_MAPPINGS = {
130
130
  "defaultBranch": "xsd:string",
131
131
  "durationSeconds": "xsd:integer",
132
132
  "event": "xsd:string",
133
- "fullName": "xsd:string",
133
+ "repositoryFullName": "xsd:string",
134
134
  "headBranch": "xsd:string",
135
135
  "headSha": "xsd:string",
136
136
  "htmlUrl": "xsd:string",
@@ -155,7 +155,7 @@ SCHEMA_MAPPINGS = {
155
155
  "defaultBranch": "xsd:string",
156
156
  "durationSeconds": "xsd:integer",
157
157
  "event": "xsd:string",
158
- "fullName": "xsd:string",
158
+ "repositoryFullName": "xsd:string",
159
159
  "headBranch": "xsd:string",
160
160
  "headSha": "xsd:string",
161
161
  "htmlUrl": "xsd:string",