Repository navigation
feat(applications): stage/outcome model — RFC, design and backend cutover (#108) - #117
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Qodana for JVM11 new problems were found
View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2025.3.2
with:
upload-result: trueContact Qodana teamContact us at qodana-support@jetbrains.com
|
…acy status Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
The nightly job turned week-old drafts into Rejected and any record untouched for a month (Rejected, Approved and archived included) into Ghosting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
…pose them in responses Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
…r status values Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
…s from main Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
… a stage to be saved Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
… job Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
…d the stage model Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
…acy status filters are translated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
… and calculated ghosting Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
…ols, analytics and rules Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
…record; phase readers ignore the frozen column - An unchanged legacy status sent back by a client keeps the current stage/outcome. - Stage writes leave a display-only legacy label the previous frontend can echo. - PUT with outcome/waitingOn but no stage keeps the current stage (400 on create). - Assistant get and organization summary report the phase, not the legacy column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
…ontrollerIT Passkey ITs can leave challenge rows behind; depending on test order the user cleanup then hit the webauthn_challenges foreign key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
hugoalves-dev
marked this pull request as ready for review
December 2, 2026 22:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #108. RFC, design e implementação do backend da virada para o modelo etapa + resultado + aguardando. O frontend vem em PR separado no
React-JobApplyTracker.Documentos
docs/superpowers/specs/2026-11-30-application-status-model-rfc.mddocs/superpowers/specs/2026-12-01-application-status-cutover-design.mddocs/superpowers/plans/2026-12-01-stage-outcome-cutover-{backend,frontend}.mdO que muda
stage,outcome,waiting_on,legacy_status. A colunastatusnão é apagada.updated_at, seguindo a tabela do design §3. O que não converte fica no formato antigo (legacy_status).stage/outcome/waitingOn. Status antigo continua aceito quando converte. Status ambíguo devolve 400 pedindo etapa. Salvar uma edição de registro não convertido exige etapa. Arquivar, restaurar, lembrete, DM, excluir não exigem.PATCH /applications/{id}/stage,GET /applications/stages(catálogo com rótulos PT-BR e critérios).Ghostinge transformava rascunho emRejectedfoi removido.Update-Application-Stage.List-Statusesdevolve o catálogo. Regras de ciclo de vida reescritas (vaga cancelada ≠ rejeição; desistência =WITHDREW, não arquivo).O que muda nos números do dashboard no deploy
REJECTED. Ghosting que o scheduler antigo gravou por cima de uma rejeição volta a contar como rejeição.DRAFTno lugar deTO_SEND_LATER, e chaves de etapa/resultado na coluna Status.Compatibilidade durante o rollout
Uma gravação feita com status antigo mantém esse valor em
status. Uma gravação feita com etapa grava emstatusum rótulo antigo aproximado, só para exibição (APPLIED→RH, HIRED→Approved, encerrada→Rejected…). Quando um cliente devolve ostatusarmazenado sem mudança, a etapa e o resultado atuais ficam como estão. Assim o frontend atual não regride nem reabre registros entre os dois deploys.Depois do deploy
Candidaturas enviadas → Applywelldestatus: "RH"parastage: "APPLIED".Verificação
https://claude.ai/code/session_01GfjfbQseka7Y3pN4sK32Pe
Generated by Claude Code