# fix\(lifecycle\): bound the secret dialog phase under its deadline · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/a2d7152628c882d6d9301a72f66e02b361523803)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: a2d7152628c882d6d9301a72f66e02b361523803

Requested commit: a2d7152628c882d6d9301a72f66e02b361523803

Commit: a2d7152628c882d6d9301a72f66e02b361523803

Tree: 77205416912985bd4a1b790e7c51559a8766d6c1

Author: Simone

Committer: Simone

## Message

```
fix(lifecycle): bound the secret dialog phase under its deadline

Address the Codex review finding on #199: the ledger deadline only
disconnects the tracked source, which kills the script shell but can
orphan its kdialog grandchild, leaving the old password dialog open and
allowing a second dialog after reopening. The dialog phase now runs
under its own timeout just below the QML deadline (870s + 5s kill
against the 900s ledger deadline), so a timed-out prompt exits through
the existing clean-cancellation path before the disconnect, for both
setApiKey and descriptor secret prompts. Surface checks enforce the
dialog bound; the usage guide wording now matches the self-closing
prompt.

```

## Parents

- [db318a649838c5202333def4558a4233e9bb97ff](https://git.cafe/lucenx/codexbar-plasma/commit/db318a649838c5202333def4558a4233e9bb97ff?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/a2d7152628c882d6d9301a72f66e02b361523803?format=markdown)
