Skip to content

feat: add PRIVACY.md and expand privacy-policy task prompt#73

Open
marcus wants to merge 1 commit intomainfrom
nightshift/privacy-policy
Open

feat: add PRIVACY.md and expand privacy-policy task prompt#73
marcus wants to merge 1 commit intomainfrom
nightshift/privacy-policy

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Mar 25, 2026

Summary

  • Created PRIVACY.md documenting nightshift's actual data practices: local SQLite/log/audit storage under ~/.local/share/nightshift/, opt-in Slack webhook and SMTP email transmission, CLI subprocess delegation to AI providers, environment-variable-only credential handling, zero telemetry, and data deletion instructions.
  • Expanded the privacy-policy task description from a one-liner to a detailed multi-step agent prompt (modeled after pii-scanner) that instructs agents to locate privacy policies, inventory all data flows in code, cross-reference claims against behavior, and produce structured findings with categories and severity levels.
  • Updated website/docs/task-reference.md description column for privacy-policy.

Test plan

  • go test ./internal/tasks/... — all 14 tests pass (registry completeness, definitions, custom registration)
  • Verify PRIVACY.md renders correctly on GitHub
  • Run nightshift task show privacy-policy to confirm expanded description displays properly

Nightshift-Task: privacy-policy
Nightshift-Ref: https://github.com/marcus/nightshift

🤖 Generated with Claude Code


Automated by nightshift

Create PRIVACY.md documenting nightshift's actual data handling:
local SQLite/logs/audit storage paths, optional Slack/email/GitHub
transmission, AI provider CLI delegation, credential handling via
env vars only, zero telemetry, and data deletion instructions.

Expand the privacy-policy task Description from a one-liner to a
detailed multi-step prompt (matching pii-scanner pattern) that
instructs agents to locate privacy policies, inventory code data
flows, cross-reference claims against behavior, and report
inconsistencies with structured output and severity levels.

Update task-reference.md with improved one-liner description.

Nightshift-Task: privacy-policy
Nightshift-Ref: https://github.com/marcus/nightshift

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@marcus marcus force-pushed the nightshift/privacy-policy branch from 73b38df to 607953c Compare March 25, 2026 09:55
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