Files
popki/docs/access-restoration.md
T

29 lines
1.6 KiB
Markdown

# Access restoration ledger
The preview does not automatically open remote access. The operator can record
manual changes with target, exact resource identity, original/applied state,
run, owner marker and restoration steps. These records are not automatic proof.
Never enter passwords, private keys or their file contents in a record.
Each resource is independently assessed by AccessLedger:
1. If the owner marker is not the relevant run's, preserve it.
2. If the host is unreachable, retain PENDING and manual instructions.
3. Observe current state through the relevant native mechanism.
4. If current differs from applied, record CONFLICT; do not overwrite newer work.
5. If equal, prepare the reviewed inverse and its concrete authorization.
6. Verify the effect separately. For the final access channel, record the need
for verification from the local console before closing it.
A result READY_FOR_REVIEW is not RESTORED. Manual descriptions cannot authorize
an automatic inverse. Pre-existing SSH/WinRM services, firewall rules and keys
are preserved. Restoration order puts credentials/groups/rules before the final
channel. A resource-specific validated restoration adapter and its GUI execution
are not yet implemented; the application saves useful manual obligations and
never claims they were removed remotely.
On normal exit, stop new read-only work, finish/cancel owned processes, persist
the project and show obligations. After a crash, mark interrupted runs
RECOVERY_REQUIRED and inspect actual state before any new change. Nothing
resumes by itself; no hidden cleanup agent is installed.