Files
becomingone/submit_issue.py
T
Gemini AI f0f60a2b21 Sovereign Crucible Falsification Resolution
- Security: Fixed path traversal in k8s read_artifact and secured Merkle genesis hash.
- Physics: Replaced Hermitian dot product with strict N-dimensional Kuramoto coupling.
- Physics: Restored Hodgkin-Huxley decay/recovery mechanics (resolving dampening catastrophe).
- Physics: Strictly bounded SDE Geometric Brownian noise to |T_tau|^2 <= 1.0.
- Architecture: Fixed coroutine evaluation trap in test suite and stripped dead globals.
- Architecture: Integrated Lamport Clocks for deterministic causal ordering.
- Academic: Re-aligned all 5 LaTeX papers with actual code mechanisms, added citations, and recompiled PDFs.
2026-05-27 19:02:00 +00:00

44 lines
1.2 KiB
Python

import requests
import json
import sys
def submit_issue(token, repo, title, body, labels=None, assignees=None):
url = f"https://api.github.com/repos/{repo}/issues"
headers = {
"Authorization": f"token {token}",
"Accept": "application/vnd.github.v3+json"
}
data = {
"title": title,
"body": body
}
if labels:
data["labels"] = labels
if assignees:
data["assignees"] = assignees
response = requests.post(url, headers=headers, json=data)
if response.status_code == 201:
print(f"Successfully created issue: {response.json().get('html_url')}")
else:
print(f"Failed to create issue: {response.status_code}")
print(response.text)
if __name__ == "__main__":
if len(sys.argv) < 5:
print("Usage: python3 submit_issue.py <token> <repo> <title_file> <body_file>")
sys.exit(1)
token = sys.argv[1]
repo = sys.argv[2]
title_file = sys.argv[3]
body_file = sys.argv[4]
with open(title_file, 'r') as f:
title = f.read().strip()
with open(body_file, 'r') as f:
body = f.read()
submit_issue(token, repo, title, body, labels=["peer-review", "academic-rigor"], assignees=["mrhavens"])