Features
Single-page view · as markdown
Managing Features from the Command Line
Peios / Using Peios / Features
A package supplies a feature's definition and scripts. feat runs its
explicit
setup and records lifecycle state; installing the package alone does not
enable
the feature. Read the feature description before changing it, including when
its effects take place.
Use feat list and feat info NAME to inspect definition availability and
state. Install performs setup; enable activates installed setup; add performs
both. Disable retains setup, while remove disables as needed and then runs
teardown. Removing feature setup does not uninstall its supplying package.
Scripts run with the caller's authority. Permission to write the feature's registry state does not guarantee permission for every script operation. An enabled record also does not prove that a service started or a replacement boot artifact was built and activated.
Recover an interrupted step #
The state records a phase as begun before its script runs, then records the settled state on success. Failure can therefore leave partial external effects and an interrupted phase. It is not an automatic package-style rollback.
Read the script's error and inspect actual state before retrying. Scripts are required to tolerate restarting their phase, but that contract is not proof that an arbitrary third-party script is correct. After addressing the cause, retry the phase or use the supported opposite transition. Verify both recorded state and the resources the script manages; editing the numeric state alone does not finish the work.
Keep teardown available #
Remove setup before removing its package. Otherwise the registry can retain a feature whose definition and scripts are gone. Restore the supplying package, review the restored definition, then run teardown while it is available. Package undo and recovery do not reverse a feature's registry or runtime work.
Machine clients should use the documented JSON query or driven event stream,
not parse human output. Driven changes provide scripts with empty standard
input and do not become cancellation-safe merely because the client goes away.
Inspect the eventual state after a disconnected request. feat(1) owns state
values, command options, stream outcomes, and exit statuses.
Managing Features in Feature Manager
Peios / Using Peios / Features
Feature Manager controls feature definitions supplied by installed packages. A feature performs configuration beyond copying package files, such as setting up services. Installing its package and enabling its feature are different operations.
Before you start #
You need Feature Manager and permission to run the requested operation
through feat. Read what the feature changes before applying it.
Choose the feature state #
- Open Feature Manager and inspect the feature's description and state.
- Choose Turn On to install and enable its setup, Install Only to set it up without enabling it, or Turn Off to disable it while retaining its installed setup.
- To remove the feature's setup, choose Remove and review the confirmation. Its package remains installed.
- Follow the card's progress and read the outcome or failed script output.
Check the result #
Confirm the final feature state and verify the affected service or setting. Interrupted identifies a script that did not finish; Try Again reruns it. Review the failure before retrying. Definition Missing means installed feature state survives after its definition package was removed.
An approved operation continues until completion when the window is asked
to close. The window stays open with an explanation and closes afterward.
Feature Manager delegates authority and state changes to feat; it does
not grant privileges. See gxwi-feature-manager(1).
Missing definitions and limited access #
If a definition is missing, restore its package before asking feat to run
the feature's cleanup. Removing a package does not undo the configuration its
feature created. Keep the package available until the feature is removed.
The read-only view can show feature states without offering change buttons. Permission to change state does not supply every privilege a feature script needs. Read the failed script's output and investigate its access requirements before retrying; the app does not elevate it automatically.