@danhachuel/jobfinder 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,19 @@ All notable changes to JobFinder are documented in this file.
6
6
 
7
7
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
8
8
 
9
+ ## [0.1.06] — 2026-11-13
10
+
11
+ ### Added
12
+
13
+ - **Skills de prevenção de regressões (`.agents/skills/`)**: sete documentos obrigatórios, adaptados das lições do Thunderbolt para a arquitetura React + Node + JSON do JobFinder — `systemic-view-guard` (dependências entre UI/API/serviços/storage/launcher), `parallel-session-guard` (uma sessão por repositório, `git status` pré-commit, `rebase` antes do push), `surgical-scope-guard` (menor diff possível, arquivos sensíveis só com autorização explícita), `atomic-write-guard` (toda escrita em JSON via `JsonStore`, nunca `fs.writeFileSync` em estado), `windows-runtime-guard` (handlers de `unhandledRejection`/EPIPE/sinais, `spawn` com `windowsHide` + `creationFlags` + `stdio: pipe`), `contract-test-guard` (testar comportamento HTTP/clique/persistência, não strings) e `react-state-guard` (backend como fonte da verdade, sem `setInterval` sem limpeza, `AbortController` no polling).
14
+ - **`AGENTS.md` na raiz**: instrução de leitura obrigatória das skills, regras de projeto (versionamento visual, release via GitHub Actions, push com `rebase`, suíte de testes antes do commit, proibição de sessões paralelas), mapa rápido do repositório e convenções de código.
15
+ - **`tests/`**: pasta criada com stubs (`test_systemic_dependencies.js`, `test_atomic_write_concurrency.js`, `test_windows_keepalive.js`, `test_api_contracts.js`, `test_ui_state.spec.js`) documentando o que cada suíte deve cobrir nas próximas fases — rodáveis com `node --test tests/*.js`.
16
+ - **README**: nova seção em "Development" descrevendo as skills, o `AGENTS.md` e a suíte de testes.
17
+
18
+ ### Notas
19
+
20
+ - Nenhum código funcional foi alterado: apenas documentação, `AGENTS.md` e stubs de teste. A suíte existente (`scripts/manual-tests/`) continua passando (82 checks) e os stubs rodam limpos com `node --test tests/*.js` (5 skipped).
21
+
9
22
  ## [0.1.05] — 2026-11-13
10
23
 
11
24
  ### Changed
package/README.md CHANGED
@@ -29,15 +29,15 @@ Everything is driven from a React dashboard at `http://localhost:4040` — metri
29
29
  Windows / CMD / MobaXterm:
30
30
 
31
31
  ```bash
32
- npx.cmd --yes --prefer-online @danhachuel/jobfinder@0.1.4 install
33
- npx.cmd --yes --prefer-online @danhachuel/jobfinder@0.1.4
32
+ npx.cmd --yes --prefer-online @danhachuel/jobfinder@0.1.6 install
33
+ npx.cmd --yes --prefer-online @danhachuel/jobfinder@0.1.6
34
34
  ```
35
35
 
36
36
  Normal terminal:
37
37
 
38
38
  ```bash
39
- npx --yes @danhachuel/jobfinder@0.1.4 install
40
- npx --yes @danhachuel/jobfinder@0.1.4
39
+ npx --yes @danhachuel/jobfinder@0.1.6 install
40
+ npx --yes @danhachuel/jobfinder@0.1.6
41
41
  ```
42
42
 
43
43
  `install` creates `~/.jobfinder/` (config, auth, channels, topics, posts, connections, dm-cascades, jobs, applications, resume, logs). It is safe to re-run: existing data is never overwritten.
@@ -112,9 +112,19 @@ Manual smoke tests (start a temporary server + Playwright for the UI):
112
112
  node scripts/manual-tests/fase1-auth-dryrun.mjs # API: login, sessão, toggle dry-run, troca de senha
113
113
  node scripts/manual-tests/fase1-dryrun-services.mjs # API: flag dry-run aplicada a postagens/convites/DMs
114
114
  node scripts/manual-tests/fase1-ui-e2e.mjs # UI (Playwright): login, badges, configurações, logout
115
+ node scripts/manual-tests/startup-keepalive.mjs # runtime: boot, unhandledRejection, EPIPE, sinais
116
+ node --test tests/*.js # contratos/concorrência/UI (stubs por enquanto)
115
117
  ```
116
118
 
117
- Layout: `scripts/cli.mjs` (launcher) · `src/server/` (Express API, JSON store, LinkedIn + LLM services, workers) · `src/ui/` (React + Vite + Tailwind v4).
119
+ ### Regression-prevention skills (read before changing code)
120
+
121
+ [AGENTS.md](AGENTS.md) is the entry point: every agent (and every task) must read the seven
122
+ skills in `.agents/skills/` before touching the repo — systemic view of dependencies, one
123
+ session per repository, surgical scope (no unrequested refactors), atomic JSON writes through
124
+ the store, Windows runtime resilience, contract tests that exercise real behavior, and
125
+ predictable React state.
126
+
127
+ Layout: `scripts/cli.mjs` (launcher) · `src/server/` (Express API, JSON store, LinkedIn + LLM services, workers) · `src/ui/` (React + Vite + Tailwind v4) · `.agents/skills/` (regression rules) · `tests/` (contract/concurrency/UI stubs).
118
128
 
119
129
  ## Publishing
120
130
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danhachuel/jobfinder",
3
- "version": "0.1.05",
3
+ "version": "0.1.06",
4
4
  "description": "JobFinder — LinkedIn automation platform (posts, connections/DMs, job matching) with a React + Vite UI. Intelligent workflows, JSON storage.",
5
5
  "keywords": [
6
6
  "linkedin",