Skip to content

Hiring ​

A role is written, posted and filled: every application is read, the best are interviewed, and the contract, the accounts and the desk are ready for the new colleague.

In words ​

The wishA new colleague hired for the role named when the run starts

Step 1 · role

What to doWrite hiring/role.md for {{asked}}: what the work is, who it is for and the pay.
Who does ithiring-manager
What proves itTheir word stands.

Step 2 · post

What to doPost the role in hiring/role.md on the company's careers page and job boards.
Who does itAn agent
What proves it
  • hiring-manager answers yes to: “Is the role posted as written?”

Step 3 · applications

What to doClose the applications on the day the role says, and list the files in hiring/applications/, one per line.
WhenIt must be done within 14 days.
Who does ithiring-manager
What proves itTheir word stands.

Step 4 · screen

What to doRead hiring/applications/{{item}} against hiring/role.md and write hiring/screen/{{item}} with a fit from 1 to 5 and why.
WhenOnce for each item of applications, all at the same time.
Who does itAn agent
What proves it
  • These must be there: hiring/screen/{{item}}
  • Another agent must find this true: “Every reason in hiring/screen/{{item}} is in the application itself.”

Step 5 · interviews

What to doInterview the best of hiring/screen/ and name the one to hire.
WhenIt must be done within 21 days.
Who does ithiring-manager and team-lead, together
What proves itTheir word stands.

Step 6 · kind

What to doHire {{interviews}} as an employee or as a contractor? Answers one of: employee, contractor
Who does itfinance
What proves itTheir word stands.

Step 7 · employment

What to doWrite the employment contract for {{interviews}} in hiring/contract.pdf.
WhenOnly when kind answers “employee”.
Who does itlegal
What proves it
  • These must be there: hiring/contract.pdf

Step 8 · agreement

What to doFill the contractor agreement for {{interviews}} in hiring/contract.pdf.
WhenOnly when kind answers “contractor”.
Who does itAn algorithm runs fill-agreement --name "{{interviews}}" --out hiring/contract.pdf
What proves itThe command ends without an error.

Step 9 · sign

What to doSign hiring/contract.pdf with {{interviews}}.
Who does itThe person who asked
What proves it
  • A command must pass: check-signatures hiring/contract.pdf

Step 10 · accounts

What to doOpen the accounts of {{interviews}}.
WhenAfter sign.
Who does itAnother plan: the plan new-employee-onboarding
What proves itThe other plan's own proofs.

Step 11 · desk

What to doGet a desk and a laptop ready for {{interviews}}.
WhenAfter sign.
Who does itoffice
What proves itTheir word stands.

The file ​

json
{
  "$schema": "vpf/1.1",
  "wish": "A new colleague hired for the role named when the run starts",
  "steps": [
    {
      "id": "role",
      "do": "Write hiring/role.md for {{asked}}: what the work is, who it is for and the pay.",
      "by": "person",
      "person": "hiring-manager"
    },
    {
      "id": "post",
      "do": "Post the role in hiring/role.md on the company's careers page and job boards.",
      "by": "agent",
      "tools": [
        "read",
        "internet"
      ],
      "proof": {
        "by": "person",
        "person": "hiring-manager",
        "ask": "Is the role posted as written?"
      }
    },
    {
      "id": "applications",
      "do": "Close the applications on the day the role says, and list the files in hiring/applications/, one per line.",
      "by": "person",
      "person": "hiring-manager",
      "deadline": "P14D"
    },
    {
      "id": "screen",
      "do": "Read hiring/applications/{{item}} against hiring/role.md and write hiring/screen/{{item}} with a fit from 1 to 5 and why.",
      "by": "agent",
      "tools": [
        "read",
        "write"
      ],
      "for_each": "applications",
      "proof": [
        {
          "by": "algorithm",
          "needs": [
            {
              "need": "files",
              "path": "hiring/screen/{{item}}"
            }
          ]
        },
        {
          "by": "agent",
          "check": "Every reason in hiring/screen/{{item}} is in the application itself."
        }
      ]
    },
    {
      "id": "interviews",
      "do": "Interview the best of hiring/screen/ and name the one to hire.",
      "by": "person",
      "person": [
        "hiring-manager",
        "team-lead"
      ],
      "deadline": "P21D"
    },
    {
      "id": "kind",
      "do": "Hire {{interviews}} as an employee or as a contractor?",
      "by": "person",
      "person": "finance",
      "choices": [
        "employee",
        "contractor"
      ]
    },
    {
      "id": "employment",
      "do": "Write the employment contract for {{interviews}} in hiring/contract.pdf.",
      "by": "person",
      "person": "legal",
      "when": {
        "kind": "employee"
      },
      "proof": {
        "by": "algorithm",
        "needs": [
          {
            "need": "files",
            "path": "hiring/contract.pdf"
          }
        ]
      }
    },
    {
      "id": "agreement",
      "do": "Fill the contractor agreement for {{interviews}} in hiring/contract.pdf.",
      "by": "algorithm",
      "run": "fill-agreement --name \"{{interviews}}\" --out hiring/contract.pdf",
      "when": {
        "kind": "contractor"
      }
    },
    {
      "id": "sign",
      "do": "Sign hiring/contract.pdf with {{interviews}}.",
      "by": "person",
      "proof": {
        "by": "algorithm",
        "run": "check-signatures hiring/contract.pdf"
      }
    },
    {
      "id": "accounts",
      "do": "Open the accounts of {{interviews}}.",
      "by": "plan",
      "plan": "new-employee-onboarding",
      "after": [
        "sign"
      ]
    },
    {
      "id": "desk",
      "do": "Get a desk and a laptop ready for {{interviews}}.",
      "by": "person",
      "person": "office",
      "after": [
        "sign"
      ]
    }
  ]
}

Why it is written this way ​

Several people do the steps, each named by an id: the hiring manager, the team lead, finance, legal and the office. Applications are collected for two weeks, and each one is read on its own with for_each, so a reading that is refused goes back alone. Finance answers one of two choices, and only the contract for that answer is written. Once it is signed, the accounts and the desk are made ready at the same time.

Code, schema and examples under the Apache License 2.0. Guide text also under CC BY 4.0.