Feature · Library

Examples

Reuse approved examples and review proposed procedures.

Last changed

Generated from commit 3cf1087 ·

How it works

Approved examples

An example is a pull request description, commit message, review reply, code snippet or status report that a person approved. Workers use examples as style references. Nothing becomes an example without a person. An approver selects Add example. Open an example to Pin to the top, Unpin or Remove it. An example applies to the organization, a project, or just you.

Procedures

When workers repeat the same tool sequence, Crewshal proposes it as a procedure. Open a proposed procedure with Review and read its steps and tests. Select Approve version with its number (for example Approve version 2), then Approve and allow it to run. Reject retires the procedure. After a number of failing runs, Crewshal pauses a procedure until someone approves it again. An admin sets Repeats before proposing and Failing runs before pausing in More actions (⋯), Procedure settings.

From the help article Examples and procedures, checked against the product on .

What you can do

The operations this feature's screens call. Each one is POST /api/<name>, and the badge says who may call it.

  • listProcedures

    Viewer

    Lists procedures.

    Types: ListProceduresRequest returns ListResponse<ProcedureDto>

  • learnProcedures

    Admin

    Learns procedures.

    Types: EmptyRequest returns LearnProceduresResponse

  • listApprovedExamples

    Viewer

    Lists approved examples.

    Types: ListApprovedExamplesRequest returns ListResponse<ApprovedExampleDto>

  • pinExample

    ApproverNo API tokens

    Pins the example.

    Types: PinExampleRequest returns ApprovedExampleDto

  • removeExample

    ApproverNo API tokens

    Removes the example.

    Types: RemoveExampleRequest returns ApprovedExampleDto

  • approveExample

    ApproverNo API tokens

    Approves the example.

    Types: ApproveExampleRequest returns ApprovedExampleDto

  • reviewProcedure

    ApproverNo API tokens

    Reviews the procedure.

    Types: ReviewProcedureRequest returns ProcedureDto

  • getProcedureSettings

    Viewer

    Gets procedure settings.

    Types: EmptyRequest returns ProcedureSettingsDto

  • updateProcedureSettings

    AdminNo API tokens

    Updates procedure settings.

    Types: UpdateProcedureSettingsRequest returns ProcedureSettingsDto

  • listWorkItems

    Viewer

    Lists work items.

    Types: ListWorkItemsRequest returns PageResponse<WorkItemSummary>

Screens

Generated from code at commit 3cf1087 ·

Turn the numbers into shipped work.

Crewshal runs these choices for you: a persistent AI worker with memory and rules, on your Claude and Codex subscriptions.