sensor tags are extracted via topic parsing (see `mqtt.service.ts` lines 47–87).
### 2. Validation & Security Model
- **Environment variables**: All required env vars validated via Zod at startup in `config/env.ts` → kills
5508mo agoReviewMountCreate a free account to mount
implicit operation must be called out.
3. Follow instructions exactly. Think critically about security: always double-check for hidden bugs or vulnerabilities.
4. Produce readable yet concise code without premature
5504y agoReviewMountCreate a free account to mount
Standards
These standards apply to all Copilot interactions including code generation and PR review.
## Security
- Never hardcode secrets, tokens, API keys, or connection strings — use environment variables or a vault
54917d agoReviewMountCreate a free account to mount
where possible.
## Architecture priorities
- Core runtime should remain lightweight.
- Optional integrations must stay optional.
- Security and hardening take precedence over convenience for public-bind scenarios.
- New tool execution paths should
5396mo agoReviewMountCreate a free account to mount
Copilot PR review instructions for Zero Trust Assessment
Review changed code for correctness, security, privacy, resource use, maintainability,
and adopted patterns. Scoped checks are under `.github/instructions/`.
## Review scope and evidence
52643d agoReviewMountCreate a free account to mount
Assessment
- `quality_assess` — Quality gate evaluation with configurable thresholds
- Run before marking tasks complete
### Security Scanning
- `security_scan_comprehensive` — SAST/DAST vulnerability scanning
- Run after changes to auth, security, or middleware
52452d agoReviewMountCreate a free account to mount
secrets.
- Provide actionable error messages (context via anyhow::Context), and map OS/IO errors precisely.
## Security & compliance
- No plaintext secrets, keys, or tokens in code or tests.
- Default to Rustls
52222mo agoReviewMountCreate a free account to mount
modules with explicit paths: `Join-Path $PSScriptRoot` pattern.
- Use `-Force -DisableNameChecking` for re-imports.
## Security Patterns
### Secret Handling
- Mask secrets with `Write-Host "::add-mask::$secret"` before any output.
- Never
5168mo agoReviewMountCreate a free account to mount
SQLAlchemy for persistence (versions pinned in `pyproject.toml`).
## Scope of review — focus on quality and security
Lint and formatting are enforced in CI, so please skip:
- formatting, whitespace, indentation, quote style
5123mo agoReviewMountCreate a free account to mount
e2ecp - Copilot Agent Instructions
## Repository Overview
**e2ecp** is a secure, end-to-end encrypted file transfer application that enables peer-to-peer file sharing through a web interface or command
50812mo agoReviewMountCreate a free account to mount
Oryx build (SCM_DO_BUILD_DURING_DEPLOYMENT=true)
- Async context managers for resource management
## Security Best Practices
- Never commit secrets or `.env` files
- Use Managed Identity in production (no secrets
50419mo agoReviewMountCreate a free account to mount
complex logic
- E2E tests with Playwright for user workflows
- Use test helpers from `tests/helpers/`
### Security
- No hardcoded secrets or API keys
- Validate user inputs before API calls
- Sanitize rendered HTML
50149d agoReviewMountCreate a free account to mount
DetailsActivity`, `ReaderActivity`, etc.) and app-specific schemes (`futon://…`); validate flows when changing intents.
- Network security config and locale config present; keep them consistent when adding features requiring webviews or language
4998mo agoReviewMountCreate a free account to mount
include organization_id
SELECT * FROM payments WHERE organization_id = $1 AND id = $2
// WRONG - Security vulnerability
SELECT * FROM payments WHERE id = $1
```
Use `composables.UseTenantID(ctx)` to get the current tenant
48559d agoReviewMountCreate a free account to mount