Skip to content

Log Rotation Enforcement: Updated src/coreason_runtime/utils/logger.p…#166

Open
dk-uppi-aks wants to merge 178 commits into
develop-before-major-refactorfrom
202605011_issue_144_repo_size
Open

Log Rotation Enforcement: Updated src/coreason_runtime/utils/logger.p…#166
dk-uppi-aks wants to merge 178 commits into
develop-before-major-refactorfrom
202605011_issue_144_repo_size

Conversation

@dk-uppi-aks
Copy link
Copy Markdown
Contributor

…y to shrink rotation to 50 MB, retention to 7 days, and enforce zip compression for older logs.

.gitignore Rules: Appended the Centralized Scratch Spaces (tmp/, scratch/) and test coverage artifacts (cov_final.txt) to prevent future drift.
Cleanup Script (scripts/clean.py): Added a pristine cross-platform Python script using pathlib that wipes ephemeral caches and bloated files seamlessly. It has been tested and complies fully with ruff and mypy strict typing.

gowthamrao added 30 commits May 10, 2026 06:36
* Refactor orchestrator to integrate with NemoClaw (#160)

* Refactor orchestrator to integrate with NemoClaw and remove custom swarm components

* Add tests for new nemoclaw activity

* Add tests for new nemoclaw activity

* Add tests for new nemoclaw activity

* Fix test coverage and security checks for NemoClaw migration

* feat: implement Temporal worker orchestration with resource watchdog and Pydantic-aware sandbox configuration

* test: add comprehensive test coverage for orchestration and nemoclaw activity execution flows
* Implement Issue #151: migrate agent transport to NemoClaw (#158)

* feat: implement KineticActivities class for temporal workflow task execution and state management

* Fix inline import for MCPClientManager

* Fix bandit scan for httpx call in master_mcp.py
#157)

- Removed coreason_runtime/execution_plane/kinematic_simulator.py and dom_simulator.py
- Purged all internal dependencies and activities pointing to simulators
- Verified no internal tool injection scaffolds remain
- Hollowed out coreason_runtime/api/sandbox_router.py into state_router.py
- Stripped deprecated sandbox_router from coreason_runtime/cli.py and removed tests relying on deprecated capabilities
- Assured adherence to strict Model Context Protocol over Sovereign gateway
#165)

* chore: Remove custom networking, security, and routing code for NemoClaw proxy adoption (#164)

* chore: simplify architecture by delegating tensor routing and epistemic security to NemoClaw (#163)

* chore: remove custom tensor routing, budget enforcement, and epistemic scrubbing

* feat: add origin_act.py and append_acts.py to extract and register core activity definitions

* feat: implement kinetic activities and worker modules for Temporal task orchestration and epistemic state management

* feat: implement worker with Pydantic-compatible Temporal sandbox and partitioned activity execution

* fix: resolve import conflicts and syntax errors for NemoClaw integration

* fix: resolve ruff and unused variable errors for CI/CD

* fix: resolve mypy errors related to final_intent_obj and missing sandbox attribute

* fix: remove unused EpistemicYieldError imports from activities.py

* style: apply pre-commit formatting and deptry exception

* test: fix fabricator test suite due to missing mock behavior
… execution workflows and activity primitives.
…utilities, API routers, and topological enforcer logic
…ndency

- Add test_activities_standalone.py: 44 real tests covering market settlement,
  Shapley attribution, silver ETL, gaze tracking, KineticActivities instance
  methods (system function, NemoClaw, MCP prompt, token burn, medallion ETL)
- Add test_cli.py: 6 tests for Typer CLI dry-run paths and FastAPI factory
- Add test_capability_allocator.py: real Merkle-DAG integrity tests
- Expand test_predict_router.py: edge case coverage for _build_synthesis_prompt
- Expand test_worker.py: real thread pool and psutil watchdog tests
- Use lightweight fake objects instead of unittest.mock for MCP manager
- All CIDs use DID-format strings matching Pydantic validation patterns
- OQS-dependent tests gracefully skip when liboqs is unavailable

Coverage: 93% (566 passed, 1 skipped)
- Replace en-dash with hyphen in comments (RUF003)
- Prefix unused method args with underscore (ARG002)
- Use specific SecurityError instead of blind Exception (B017)
- Restore noqa for legacy mock import in test_predict_router.py
- Run ruff format on all touched files
- Add noqa: TID251 to banned mock imports in test_state_router.py and test_activities.py
- Prefix unused variables with underscore to suppress ARG002/F841 in test_state_router.py and test_activities.py
gowthamrao and others added 30 commits May 12, 2026 22:15
ci(publish): remove attestations write permission for private repo
refactor(core): Delegate GRPO and Evasion logic to OSS equivalents (#…
…ities

chore(security): fix dependabot security vulnerabilities
* feat: migrate telemetry broker and execution engine to NeMo Guardrails

* fix: resolve ruff linting and pytest-raises errors

* fix: resolve ruff linting errors in workflows and tests

* feat: implement ActiveInference workflow, unified logger, and MCP master bridge with associated test suites

* chore(memory): remove unused mypy ignores and fix test annotations

* style: ruff format

* chore(deps): update coreason-manifest to fix branch for PR validation

* chore(deps): enable direct references and update manifest source

* chore(deps): update coreason-manifest to v0.55.2

* chore(deps): update uv.lock for coreason-manifest v0.55.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants