Spaces:
Running
Running
Deploy canonical runtime 557086a from GitHub Actions
Browse files
__pycache__/app.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
|
__pycache__/core_hf.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/core_hf.cpython-311.pyc and b/__pycache__/core_hf.cpython-311.pyc differ
|
|
|
knowledge_base/developer_queue.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Autonomous Developer Queue
|
| 2 |
+
|
| 3 |
+
Generated at `2026-08-20T00:18:52.346393+00:00`.
|
| 4 |
+
|
| 5 |
+
> This is a review queue, not an authorization to change production code. Every implementation must pass CI and receive human review through a pull request.
|
| 6 |
+
|
| 7 |
+
No new reviewable proposals were found.
|
knowledge_base/knowledge_graph.json
CHANGED
|
@@ -11,9 +11,9 @@
|
|
| 11 |
"scientific_accuracy": 92.0,
|
| 12 |
"novelty_score": 78.0,
|
| 13 |
"usefulness_score": 85.0,
|
| 14 |
-
"created": "2026-08-20T00:
|
| 15 |
},
|
| 16 |
-
"created": "2026-08-20T00:
|
| 17 |
},
|
| 18 |
"1d94037a7442ae1b": {
|
| 19 |
"id": "1d94037a7442ae1b",
|
|
@@ -25,9 +25,9 @@
|
|
| 25 |
"scientific_accuracy": 94.0,
|
| 26 |
"novelty_score": 82.0,
|
| 27 |
"usefulness_score": 88.0,
|
| 28 |
-
"created": "2026-08-20T00:
|
| 29 |
},
|
| 30 |
-
"created": "2026-08-20T00:
|
| 31 |
}
|
| 32 |
},
|
| 33 |
"relationships": [],
|
|
|
|
| 11 |
"scientific_accuracy": 92.0,
|
| 12 |
"novelty_score": 78.0,
|
| 13 |
"usefulness_score": 85.0,
|
| 14 |
+
"created": "2026-08-20T00:06:38.886637"
|
| 15 |
},
|
| 16 |
+
"created": "2026-08-20T00:06:38.886642"
|
| 17 |
},
|
| 18 |
"1d94037a7442ae1b": {
|
| 19 |
"id": "1d94037a7442ae1b",
|
|
|
|
| 25 |
"scientific_accuracy": 94.0,
|
| 26 |
"novelty_score": 82.0,
|
| 27 |
"usefulness_score": 88.0,
|
| 28 |
+
"created": "2026-08-20T00:06:38.886648"
|
| 29 |
},
|
| 30 |
+
"created": "2026-08-20T00:06:38.886656"
|
| 31 |
}
|
| 32 |
},
|
| 33 |
"relationships": [],
|
knowledge_base/virtual_ledger.json
CHANGED
|
@@ -2,30 +2,30 @@
|
|
| 2 |
"chain": [
|
| 3 |
{
|
| 4 |
"index": 0,
|
| 5 |
-
"timestamp": "2026-08-20T00:
|
| 6 |
"transactions": [
|
| 7 |
{
|
| 8 |
-
"tx_id": "
|
| 9 |
"sender": "genesis",
|
| 10 |
"recipient": "system_treasury",
|
| 11 |
"amount": 0.0,
|
| 12 |
-
"timestamp": "2026-08-20T00:
|
| 13 |
"metadata": {
|
| 14 |
"note": "Nuclear Intelligence Genesis Block v1.0.0",
|
| 15 |
"version": "1.0.0",
|
| 16 |
-
"timestamp": "2026-08-20T00:
|
| 17 |
"difficulty": 3,
|
| 18 |
"system": "Nuclear Intelligence Virtual Blockchain"
|
| 19 |
},
|
| 20 |
-
"signature": "
|
| 21 |
"nonce": 0,
|
| 22 |
"status": "confirmed"
|
| 23 |
}
|
| 24 |
],
|
| 25 |
-
"merkle_root": "
|
| 26 |
"previous_hash": "0000000000000000000000000000000000000000000000000000000000000000",
|
| 27 |
-
"nonce":
|
| 28 |
-
"hash": "
|
| 29 |
"difficulty": 1,
|
| 30 |
"miner": "genesis",
|
| 31 |
"reward": 1.0,
|
|
@@ -36,5 +36,5 @@
|
|
| 36 |
"difficulty": 3,
|
| 37 |
"nes_supply": 0.0,
|
| 38 |
"total_transactions": 0,
|
| 39 |
-
"saved_at": "2026-08-20T00:
|
| 40 |
}
|
|
|
|
| 2 |
"chain": [
|
| 3 |
{
|
| 4 |
"index": 0,
|
| 5 |
+
"timestamp": "2026-08-20T00:06:40.306903",
|
| 6 |
"transactions": [
|
| 7 |
{
|
| 8 |
+
"tx_id": "99a0688a52a3d8da5af05126",
|
| 9 |
"sender": "genesis",
|
| 10 |
"recipient": "system_treasury",
|
| 11 |
"amount": 0.0,
|
| 12 |
+
"timestamp": "2026-08-20T00:06:40.306869",
|
| 13 |
"metadata": {
|
| 14 |
"note": "Nuclear Intelligence Genesis Block v1.0.0",
|
| 15 |
"version": "1.0.0",
|
| 16 |
+
"timestamp": "2026-08-20T00:06:40.306862",
|
| 17 |
"difficulty": 3,
|
| 18 |
"system": "Nuclear Intelligence Virtual Blockchain"
|
| 19 |
},
|
| 20 |
+
"signature": "2719dfb192f50a60be1c7e6563ae6cd7a25169660a0f0d53159498b152965a17f3545584896cd2bc2757c5208a6367d5",
|
| 21 |
"nonce": 0,
|
| 22 |
"status": "confirmed"
|
| 23 |
}
|
| 24 |
],
|
| 25 |
+
"merkle_root": "70ae62b71c67442fa6379ab6701c6f4bbae4aa18faa48fe401d1c304f40ab9cb",
|
| 26 |
"previous_hash": "0000000000000000000000000000000000000000000000000000000000000000",
|
| 27 |
+
"nonce": 1004,
|
| 28 |
+
"hash": "0a10f2689b56beb1a2606c9d1d7117eb982fcf31c8a0d3dd8105a687492f4c45",
|
| 29 |
"difficulty": 1,
|
| 30 |
"miner": "genesis",
|
| 31 |
"reward": 1.0,
|
|
|
|
| 36 |
"difficulty": 3,
|
| 37 |
"nes_supply": 0.0,
|
| 38 |
"total_transactions": 0,
|
| 39 |
+
"saved_at": "2026-08-20T00:06:40.312547"
|
| 40 |
}
|
scripts/autonomous_developer.py
CHANGED
|
@@ -82,7 +82,8 @@ def render(proposals: list[dict[str, str]]) -> str:
|
|
| 82 |
|
| 83 |
def main() -> int:
|
| 84 |
root = Path(os.getenv("NI_PROJECT_ROOT", Path.cwd())).resolve()
|
| 85 |
-
|
|
|
|
| 86 |
output.parent.mkdir(parents=True, exist_ok=True)
|
| 87 |
output.write_text(render(collect(root)), encoding="utf-8")
|
| 88 |
print(output)
|
|
|
|
| 82 |
|
| 83 |
def main() -> int:
|
| 84 |
root = Path(os.getenv("NI_PROJECT_ROOT", Path.cwd())).resolve()
|
| 85 |
+
# Keep the queue in a tracked path; reports/ is intentionally gitignored.
|
| 86 |
+
output = root / "knowledge_base" / "developer_queue.md"
|
| 87 |
output.parent.mkdir(parents=True, exist_ok=True)
|
| 88 |
output.write_text(render(collect(root)), encoding="utf-8")
|
| 89 |
print(output)
|
scripts/sync_huggingface.py
CHANGED
|
@@ -108,6 +108,20 @@ def sync_hf_dataset(limit: int = 25) -> int:
|
|
| 108 |
except Exception as e:
|
| 109 |
logger.warning(f"Failed to upload {kb_file}: {e}")
|
| 110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
# Update README with latest stats
|
| 112 |
try:
|
| 113 |
ledger_path = kb_dir / "virtual_ledger.json"
|
|
@@ -230,6 +244,18 @@ def sync_github(limit: int = 10) -> int:
|
|
| 230 |
repo.create_file(path, f"Auto: add {kb_file}", content)
|
| 231 |
except Exception as e:
|
| 232 |
logger.warning(f"GH upload failed for {kb_file}: {e}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
return 0
|
| 234 |
except Exception as e:
|
| 235 |
logger.error("GH sync error; inspect token scope and repository permissions")
|
|
|
|
| 108 |
except Exception as e:
|
| 109 |
logger.warning(f"Failed to upload {kb_file}: {e}")
|
| 110 |
|
| 111 |
+
queue_path = kb_dir / "developer_queue.md"
|
| 112 |
+
if queue_path.exists():
|
| 113 |
+
try:
|
| 114 |
+
api.upload_file(
|
| 115 |
+
path_or_fileobj=str(queue_path),
|
| 116 |
+
path_in_repo="knowledge_base/developer_queue.md",
|
| 117 |
+
repo_id=dataset_repo,
|
| 118 |
+
repo_type="dataset",
|
| 119 |
+
commit_message="Auto: update developer queue",
|
| 120 |
+
)
|
| 121 |
+
logger.info("Uploaded autonomous developer queue")
|
| 122 |
+
except Exception as e:
|
| 123 |
+
logger.warning(f"Failed to upload developer queue: {e}")
|
| 124 |
+
|
| 125 |
# Update README with latest stats
|
| 126 |
try:
|
| 127 |
ledger_path = kb_dir / "virtual_ledger.json"
|
|
|
|
| 244 |
repo.create_file(path, f"Auto: add {kb_file}", content)
|
| 245 |
except Exception as e:
|
| 246 |
logger.warning(f"GH upload failed for {kb_file}: {e}")
|
| 247 |
+
queue_path = kb_dir / "developer_queue.md"
|
| 248 |
+
if queue_path.exists():
|
| 249 |
+
try:
|
| 250 |
+
content = queue_path.read_text(encoding="utf-8")
|
| 251 |
+
path = "knowledge_base/developer_queue.md"
|
| 252 |
+
try:
|
| 253 |
+
existing = repo.get_contents(path)
|
| 254 |
+
repo.update_file(path, "Auto: update developer queue", content, existing.sha)
|
| 255 |
+
except Exception:
|
| 256 |
+
repo.create_file(path, "Auto: add developer queue", content)
|
| 257 |
+
except Exception as e:
|
| 258 |
+
logger.warning(f"GH developer queue upload failed: {e}")
|
| 259 |
return 0
|
| 260 |
except Exception as e:
|
| 261 |
logger.error("GH sync error; inspect token scope and repository permissions")
|