Commit Graph

23 Commits

Author SHA1 Message Date
Marco Gallegos
2c9cf3f827 Merge pull request #9 from marcogll/test-17334063531150954188
Merge pull request #6 from marcogll/main
2025-12-13 16:28:07 -06:00
Marco Gallegos
22388ec37d Merge pull request #8 from marcogll/jules/review-agent-work-and-fix-migrations-16782006470421669202
Review Agent Work and Fix Migrations
2025-12-13 16:27:49 -06:00
google-labs-jules[bot]
5d5fc9f781 feat: Review agent work and consolidate database migrations
Reviewed the work of agents 0-4 and made the following corrections:

- Completed the directory structure for Agent 2's work.
- Consolidated the database migrations from Agent 3 into a single, consistent file that aligns with the API contract. Removed the old, fragmented migration files.
2025-12-13 22:21:33 +00:00
Marco Gallegos
bcded88373 Merge branch 'feat/backend-core-setup-17551761085875550719' into main 2025-12-13 16:12:04 -06:00
google-labs-jules[bot]
7db61d9af9 feat: Set up database and data models
This commit establishes the database foundation for the HR Platform.

Key changes include:
- Defined the complete data schema in `docs/API_CONTRACTS.md` to serve as a single source of truth.
- Integrated `knex.js` with `sqlite3` to manage the database connection and schema.
- Implemented a version-controlled migration system and created initial migrations for all required tables.
- Created seed files to populate the database with sample data for development.
- Addressed security feedback by using `bcrypt` to hash user passwords in the seed data and adding the SQLite database file to `.gitignore`.
2025-12-13 22:08:28 +00:00
Marco Gallegos
ec34c01c8a Merge pull request #6 from marcogll/main
merge
2025-12-13 16:04:43 -06:00
Marco Gallegos
cacfd1e4eb Merge branch 'test-17334063531150954188' into main 2025-12-13 16:04:35 -06:00
google-labs-jules[bot]
dcf9cbdc65 feat(db): Implementar sistema de migraciones y esquema inicial
Como Agente 3, este commit establece la fundación de la base de datos.

- Inicializa un proyecto Node.js con `package.json`.
- Añade `knex` y `pg` como dependencias para la gestión de la base de datos.
- Introduce `.gitignore` para excluir `node_modules`.
- Configura `knexfile.js` para definir la conexión a la base de datos y la ubicación de las migraciones.
- Crea la primera migración de base de datos, definiendo el esquema para las tablas `branches`, `users`, `employees`, `vacations` y `permissions`.
- Actualiza la bitácora del Agente 3 para documentar estas acciones.

Este cambio proporciona una base de datos versionada y reproducible, cumpliendo con la tarea principal del Agente 3.
2025-12-13 21:56:06 +00:00
Marco Gallegos
c421e3761c Merge pull request #5 from marcogll/feat/backend-core-setup-17551761085875550719
feat: Initialize Node.js backend foundation
2025-12-13 15:44:25 -06:00
Marco Gallegos
aa6f118b26 Merge branch 'main' into feat/backend-core-setup-17551761085875550719 2025-12-13 15:44:10 -06:00
google-labs-jules[bot]
3e6deb7236 feat: Initialize Node.js backend foundation
This commit lays the groundwork for the HR Platform's backend.

Key changes include:
- Initialized a Node.js project with `npm`.
- Added `express` as the core web framework.
- Established the backend source code structure in the `src/` directory.
- Implemented a basic Express server in `src/index.js`.
- Added a `/health` endpoint for monitoring.
- Included a centralized error-handling middleware.
- Configured the server port to be read from an environment variable (`process.env.PORT`).
- Added a `start` script to `package.json` for running the application.
- Created a log file for Agent 2 to document backend development progress.
2025-12-13 21:43:28 +00:00
Marco Gallegos
3ebb419b27 Merge pull request #4 from marcogll/test-13602759974640937846
feat: Add Docker infrastructure for Agent 1
2025-12-13 15:41:12 -06:00
google-labs-jules[bot]
8fb964eac0 feat(infra): add Docker setup for backend service
This commit introduces the initial infrastructure for the HR platform, as defined by the responsibilities of Agent 1. It includes:

- A `Dockerfile` for building the Node.js application container.
- A `docker-compose.yml` file to orchestrate the `api` and `db` services.
- An `.env.example` file to define the required environment variables.
- A `.gitignore` file to exclude unnecessary files from version control.
- A log file in `docs/agents/agent-01-infraestructura.md` to document the changes.
2025-12-13 21:40:23 +00:00
Marco Gallegos
38e8511267 Merge pull request #3 from marcogll/test-17334063531150954188
Test 17334063531150954188
2025-12-13 15:25:57 -06:00
Marco Gallegos
23c6850f66 Merge pull request #2 from marcogll/main
Merge pull request #1 from marcogll/test-17334063531150954188
2025-12-13 15:24:51 -06:00
google-labs-jules[bot]
b110f5891c docs: Definir contratos de API y modelos de datos
Crea el documento `docs/API_CONTRACTS.md` para establecer una fuente única de verdad para las estructuras de datos y los endpoints de la API REST.

- Define los modelos de datos principales: Socia (Employee), Vacación (Vacation), Permiso (Permission), Sucursal (Branch) y Usuario (User).
- Esboza los endpoints RESTful iniciales para el chequeo de salud y la gestión de socias y vacaciones.
- Actualiza la bitácora del Agente 0 para registrar esta decisión arquitectónica.

Este documento es fundamental para guiar el trabajo de los agentes de Backend, Frontend y Testing, permitiendo un desarrollo desacoplado y coherente.
2025-12-13 21:24:01 +00:00
Marco Gallegos
fec1e8cf7b Merge pull request #1 from marcogll/test-17334063531150954188
Establecer Estructura de Orquestación de Agentes
2025-12-13 15:17:19 -06:00
google-labs-jules[bot]
d066fe217c feat: Establecer la estructura de orquestación de agentes
Define la estructura de directorios y la documentación inicial para orquestar el trabajo de los agentes de IA.

- Crea los directorios `src` y `docs/agents`.
- Genera archivos de bitácora individuales para cada uno de los 13 agentes definidos.
- Introduce `docs/CONVENTIONS.md` para establecer las reglas de nomenclatura, estilo de código y contratos de API.
- Actualiza el `README.md` principal con una sección que detalla el nuevo flujo de trabajo basado en agentes, explicando cómo deben operar y documentar su progreso.

Este cambio sienta las bases para un desarrollo estructurado, trazable y coherente, de acuerdo con el rol del Agente 0 (Arquitectura y Orquestación).
2025-12-13 21:16:48 +00:00
Marco Gallegos
59aaaca9c0 Update TASKS.md 2025-12-13 15:07:17 -06:00
Marco Gallegos
b95fc11745 Add implementation roadmap for HR Platform
This document outlines the technical and functional tasks required to build the HR Platform system, including project setup, Docker configuration, database models, Google Sheets integration, and frontend development.
2025-12-13 15:03:55 -06:00
Marco Gallegos
c39a2d67b1 Add SECURITY & TESTING guidelines document
This document outlines the security criteria, access control, and testing guidelines for the HR Platform system, along with visual guidelines for maintaining a minimalist and consistent aesthetic. It aims to ensure that the system is secure, verifiable, and governable before scaling to production.
2025-12-13 15:03:30 -06:00
Marco Gallegos
fe8949f75b Revise README for HR Platform details and structure
Updated project name and provided detailed documentation on the HR management platform, including architecture, deployment, and functionality.
2025-12-13 14:59:32 -06:00
Marco Gallegos
5e5008a4ff first commit 2025-12-13 14:58:21 -06:00