Skip to content

fix: untrack .env file in wren-ai-service/tools/dev - #2191

Closed
ashsolei wants to merge 53 commits into
Canner:mainfrom
AiFeatures:fix/untrack-env-file
Closed

fix: untrack .env file in wren-ai-service/tools/dev#2191
ashsolei wants to merge 53 commits into
Canner:mainfrom
AiFeatures:fix/untrack-env-file

Conversation

@ashsolei

@ashsolei ashsolei commented Apr 14, 2026

Copy link
Copy Markdown

Summary

  • Remove wren-ai-service/tools/dev/.env from git tracking (was still tracked despite .gitignore)
  • Prevents accidental secret exposure in future commits

Test plan

  • git ls-files wren-ai-service/tools/dev/.env returns empty after merge
  • Verify .gitignore patterns continue to exclude the file

Summary by CodeRabbit

  • New Features

    • Added audit trail functionality for query tracking and explainability.
  • Chores

    • Updated dependencies across Node.js, Python, and Go packages for improved performance and compatibility.
    • Streamlined CI/CD infrastructure and development environment setup.

ashsolei and others added 30 commits March 15, 2026 05:46
16 core agents (Layer 0 + Layer 1) for Copilot Coding Agent.
Source: AiFeatures/agent-hub/copilot-agents/
16 core agents (Layer 0 + Layer 1) for Copilot Coding Agent.
Path: .github/agents/*.agent.md
Source: AiFeatures/agent-hub/copilot-agents/
These were deployed to the wrong path. Correct path is .github/agents/*.agent.md
Universal environment setup for Copilot's coding agent.
Configures Node.js 22, Python 3.12, and Go (stable).
Docs: https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
iAiFy enterprise governance — standardized Copilot instructions.
iAiFy enterprise governance — Claude Code context file.
iAiFy enterprise governance — AI agent instructions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
chore: sync CLAUDE.md and copilot-instructions docs
Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot Bot and others added 23 commits April 8, 2026 09:35
)

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.13.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@1.1.11...v1.1.13)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.3.2 to 1.4.0.
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.3.2...v1.4.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-version: 1.4.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#12)

Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.5.2 to 6.5.5.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](tornadoweb/tornado@v6.5.2...v6.5.5)

---
updated-dependencies:
- dependency-name: tornado
  dependency-version: 6.5.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.13.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…10)

Bumps [pygments](https://github.com/pygments/pygments) from 2.19.2 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.19.2...2.20.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-version: 2.20.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit) from 0.25.1 to 0.28.1.
- [Release notes](https://github.com/moby/buildkit/releases)
- [Commits](moby/buildkit@v0.25.1...v0.28.1)

---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
  dependency-version: 0.28.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [next](https://github.com/vercel/next.js) from 14.2.35 to 15.5.14.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v14.2.35...v15.5.14)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.5.14
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](pyasn1/pyasn1@v0.6.2...v0.6.3)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-version: 0.6.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.1 to 3.4.2.
- [Commits](WebReflection/flatted@v3.3.1...v3.4.2)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [nltk](https://github.com/nltk/nltk) from 3.9.3 to 3.9.4.
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](nltk/nltk@3.9.3...3.9.4)

---
updated-dependencies:
- dependency-name: nltk
  dependency-version: 3.9.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Document active-dev fork governance for AiFeatures/WrenAI: upstream Canner/WrenAI, sync cadence monthly, owner @ashsolei. Standardizes per enterprise fork-governance.md and the fork-upstream-merge runbook.
…, flagged) (#19)

Co-authored-by: ashsolei <ash@iaify.dev>
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.39.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.39.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.43.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ice (#7)

Bumps [requests](https://github.com/psf/requests) from 2.32.5 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.32.5...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tlptracehttp (#21)

Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go) from 1.39.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.39.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
  dependency-version: 1.43.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…otlpmetrichttp (#20)

Bumps [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp](https://github.com/open-telemetry/opentelemetry-go) from 1.39.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.39.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
  dependency-version: 1.43.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [streamlit](https://github.com/streamlit/streamlit) from 1.51.0 to 1.54.0.
- [Release notes](https://github.com/streamlit/streamlit/releases)
- [Commits](streamlit/streamlit@1.51.0...1.54.0)

---
updated-dependencies:
- dependency-name: streamlit
  dependency-version: 1.54.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios](https://github.com/axios/axios) from 1.13.5 to 1.15.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.5...v1.15.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The .env file was still tracked despite being covered by .gitignore patterns.
This removes it from the index to prevent secrets from being committed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ashsolei ashsolei closed this Apr 14, 2026
@ashsolei
ashsolei deleted the fix/untrack-env-file branch April 14, 2026 19:11
@coderabbitai

coderabbitai Bot commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 01e2b146-3693-499b-aacb-7219db026df1

📥 Commits

Reviewing files that changed from the base of the PR and between 5a54081 and 9fdcf30.

⛔ Files ignored due to path filters (3)
  • wren-ai-service/poetry.lock is excluded by !**/*.lock
  • wren-launcher/go.sum is excluded by !**/*.sum
  • wren-ui/yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (47)
  • .github/CODEOWNERS
  • .github/agents/api.agent.md
  • .github/agents/architect.agent.md
  • .github/agents/code-quality.agent.md
  • .github/agents/deploy.agent.md
  • .github/agents/developer.agent.md
  • .github/agents/docker.agent.md
  • .github/agents/docs.agent.md
  • .github/agents/git.agent.md
  • .github/agents/orchestrator.agent.md
  • .github/agents/performance.agent.md
  • .github/agents/planner.agent.md
  • .github/agents/refactorer.agent.md
  • .github/agents/reviewer.agent.md
  • .github/agents/security.agent.md
  • .github/agents/tester.agent.md
  • .github/agents/troubleshoot.agent.md
  • .github/copilot-instructions.md
  • .github/copilot-setup-steps.yml
  • .github/dependabot.yml
  • .github/workflows/ai-service-release-image.yaml
  • .github/workflows/ai-service-release-nightly-image.yaml
  • .github/workflows/ai-service-release-stable-image.yaml
  • .github/workflows/ai-service-test.yaml
  • .github/workflows/copilot-setup-steps.yml
  • .github/workflows/create-rc-release-pr.yaml
  • .github/workflows/create-rc-release.yaml
  • .github/workflows/pr-tagger.yaml
  • .github/workflows/pull-request-title-validator.yaml
  • .github/workflows/release.yml
  • .github/workflows/security-scan.yml
  • .github/workflows/ui-lint.yaml
  • .github/workflows/ui-release-image-stable.yaml
  • .github/workflows/ui-release-image.yaml
  • .github/workflows/ui-test.yaml
  • .github/workflows/wren-launcher-ci.yaml
  • .gitignore
  • AGENTS.md
  • CLAUDE.md
  • FORK-CUSTOMIZATIONS.md
  • wren-ai-service/pyproject.toml
  • wren-ai-service/src/audit_trail.py
  • wren-ai-service/tests/test_audit_trail.py
  • wren-ai-service/tools/dev/.env
  • wren-launcher/go.mod
  • wren-ui/.env.test
  • wren-ui/package.json

Walkthrough

This PR establishes AI agent governance across the repository with 15+ agent role specifications, integrates enterprise CI/CD infrastructure via delegated workflows, consolidates legacy release automation, introduces an audit trail module for query tracking, updates dependencies across Python/Node/Go, and adds fork management and Copilot setup documentation.

Changes

Cohort / File(s) Summary
AI Agent Specifications
.github/agents/api.agent.md, .github/agents/architect.agent.md, .github/agents/code-quality.agent.md, .github/agents/deploy.agent.md, .github/agents/developer.agent.md, .github/agents/docker.agent.md, .github/agents/docs.agent.md, .github/agents/git.agent.md, .github/agents/orchestrator.agent.md, .github/agents/performance.agent.md, .github/agents/planner.agent.md, .github/agents/refactorer.agent.md, .github/agents/reviewer.agent.md, .github/agents/security.agent.md, .github/agents/tester.agent.md, .github/agents/troubleshoot.agent.md
Added 16 agent role specifications defining personas, workflows, checklists, and interaction protocols for specialized development tasks (API design, architecture review, code quality, deployment, security, testing, etc.).
Repository Governance & Setup
.github/CODEOWNERS, AGENTS.md, CLAUDE.md, FORK-CUSTOMIZATIONS.md, .github/copilot-instructions.md
Added CODEOWNERS file assigning all repository paths to a single owner, and created documentation for agent guidelines, Claude context, fork customization strategy, and Copilot integration instructions.
CI/CD Workflow Consolidation
.github/workflows/release.yml, .github/workflows/security-scan.yml, .github/workflows/copilot-setup-steps.yml
Added new workflows delegating to enterprise CI/CD platform (Ai-road-4-You/enterprise-ci-cd) for release tagging and security scanning; added manual Copilot setup workflow for environment preparation.
Legacy Workflow Removals
.github/workflows/ai-service-release-image.yaml, .github/workflows/ai-service-release-nightly-image.yaml, .github/workflows/ai-service-release-stable-image.yaml, .github/workflows/ai-service-test.yaml, .github/workflows/ui-release-image.yaml, .github/workflows/ui-release-image-stable.yaml, .github/workflows/ui-test.yaml, .github/workflows/ui-lint.yaml, .github/workflows/wren-launcher-ci.yaml, .github/workflows/pr-tagger.yaml, .github/workflows/pull-request-title-validator.yaml, .github/workflows/create-rc-release.yaml, .github/workflows/create-rc-release-pr.yaml
Removed 13 GitHub Actions workflows for AI service/UI release automation, testing, linting, and release candidate management—consolidating into centralized enterprise CI/CD platform.
Audit Trail Implementation
wren-ai-service/src/audit_trail.py, wren-ai-service/tests/test_audit_trail.py
Introduced append-only audit trail module with AuditEntry dataclass and thread-safe AuditTrail class for recording query explainability data (prompt, model, schema objects, validation steps, final SQL, timestamp); includes basic smoke test coverage.
Dependency Updates
wren-ai-service/pyproject.toml, wren-ui/package.json, wren-launcher/go.mod
Updated package versions: Python aiohttp (3.13.3→3.13.4), streamlit (1.37.0→1.54.0), requests (2.32.4→2.33.0), nltk (3.9.3→3.9.4); Node.js axios (1.13.5→1.15.0), lodash (4.17.23→4.18.1), next (14.2.35→15.5.14); Go toolchain 1.24.9→1.25.5 with transitive dependency updates across AWS SDK, containerd, Docker, Kubernetes, and OpenTelemetry.
Configuration & Environment Changes
.github/copilot-setup-steps.yml, wren-ai-service/tools/dev/.env, wren-ui/.env.test, .gitignore
Removed AI service dev environment file contents; cleared UI test environment variables; modified .gitignore unignore pattern for example files; added Copilot setup workflow with conditional Node/Python/Go environment initialization.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

wren-ai-service, ai-env-changed

Suggested reviewers

  • cyyeh
  • onlyjackfrost

Poem

🐰 Sixteen agents hop to the beat,
Workflows consolidated, quite neat!
Audit trails record every quest,
While dependencies get their refresh—
A rabbit-blessed governance fest!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Warning

⚠️ This pull request might be slop. It has been flagged by CodeRabbit slop detection and should be reviewed carefully.

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.

1 participant