Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 4, 2025

This is an automated pull request to merge mariano/fix-policies into dev.
It was created by the [Auto Pull Request] action.

- Added `onboard-organization-helpers.ts` to encapsulate functions for revalidating organization paths, extracting vendors and risks, and processing policy updates.
- Refactored `onboard-organization.ts` to utilize the new helper functions, streamlining the onboarding workflow and improving code organization.
- Introduced `update-policies-helpers.ts` for policy content generation and updates, enhancing the policy management process.
- Updated `update-policies.ts` to leverage the new helper functions for better maintainability and clarity.
Copy link

vercel bot commented Aug 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
app Ready Ready Preview Comment Aug 19, 2025 6:08pm
portal Ready Ready Preview Comment Aug 19, 2025 6:08pm

…seed data

- Added `@types/node` and updated `ts-node` and `typescript` versions in `package.json`.
- Updated Prisma configuration to include a seed script path.
- Refined seed data by removing outdated entries and adding new requirements and tasks, enhancing the overall framework structure.
- Adjusted relationships in seed data to reflect the latest changes in control templates and requirements.
Marfuen added 2 commits August 5, 2025 10:08
- Renamed and reorganized functions in `onboard-organization-helpers.ts` to improve clarity and maintainability, including creating dedicated functions for finding comment authors, creating vendors, and managing risks.
- Updated `onboard-organization.ts` to utilize the new helper functions, streamlining the onboarding workflow by replacing direct processing calls with higher-level orchestration functions.
- Improved logging for vendor creation and onboarding completion, enhancing traceability during the onboarding process.
- Updated the "ai" package version to 5.0.10 in package.json and bun.lock.
- Upgraded "@trycompai/db" to version 1.3.3 in apps/api/package.json.
- Modified the policy generation process to include frameworks, allowing for tailored policy updates based on selected frameworks.
- Enhanced the prompt generation logic to sanitize document content and remove auditor artifacts.
- Added framework handling in onboarding tasks to ensure compliance with selected frameworks during policy updates.
- Added local-only prefill for onboarding fields to streamline development.
- Introduced a "Complete now" button for local environments in the PostPaymentOnboarding component.
- Updated the usePostPaymentOnboarding hook to include a completeNow function for immediate onboarding completion.
- Adjusted createOrganizationMinimal action to provide default access during local development.
- Enhanced policy update tasks to ensure compliance with original template structure.
- Introduced a new 'geo' field in the onboarding schema and related components to capture data location preferences.
- Updated onboarding forms and hooks to handle the new 'geo' field, ensuring consistent data collection across the application.
- Restored the version field in package.json and reorganized scripts for better clarity.
- Updated imports from '@trigger.dev/sdk/v3' to '@trigger.dev/sdk' across multiple files for consistency.
- Removed unused queue configuration in onboarding tasks to streamline the code.
- Adjusted zod schema definitions for improved type safety in update-policies-helpers.ts.
- Downgraded the "ai" package version from "^5.0.10" to "^5.0.0" in package.json and bun.lock for compatibility.
- Adjusted the "@ai-sdk/openai" version from "^2.0.10" to "^2.0.0" in the app's package.json to align with the SDK's requirements.
- Ensured consistency across dependency versions to maintain project stability.
@Marfuen Marfuen merged commit a68d714 into main Aug 19, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant