Work in a project

A workspace is a way to organize projects on a Resources service. A project is the unit in which contributors version and share knowledge. A namespace, behavior, resource description and worldview ontology each serve different parts of that work.

Choose a home for the change

What you are contributing Where to work
A method or source of data for an existing observable A model namespace (.kim) in a project using the relevant worldview.
A new shared concept, such as a kind of water flow An ontology (.kwv) in the project that defines the worldview. Its manifest declares definedWorldview.
A rule for how the system should approach a kind of request An observation strategy in a worldview project. Check the supported execution forms with the worldview maintainers.
An interactive behavior, application, script or test case A k.Actors document (.kactor).
A dataset or external endpoint A Resources-service description using a suitable adapter. A k.IM model can then expose its scientific meaning.

An ordinary project can adopt an existing worldview and publish models using it. To extend the vocabulary itself, work with the worldview's owners. Placing an ontology in an ordinary project produces the document diagnostic ONTOLOGY_PROJECT_REQUIRES_WORLDVIEW.

Edit, validate and publish

  1. Open Workspaces, select the hosting service and workspace, and expand the project. Double-click a statement to open its source at that statement. Obtain write access and the editing lock where the service requires one.
  2. Use the project's context menu to create the appropriate document, or edit an existing one. Save submits the full document to Resources. Check the tree and editor for returned diagnostics.
  3. Distinguish a parser error from pending semantic validation. The Reasoner needs synchronized source and imports to check meaning. After correcting an error, save again. Validate now requests a new check of saved source.
  4. For a Git-managed project, review the changed files under Team. Use Commit and publish project… when you intend to share them. Save, successful semantic validation and publication are distinct milestones. A published model still needs admissible inputs in the context in which someone requests it.

Project settings, including worldview declarations and dependencies, are stored in META-INF/manifest.json. Changes to these settings also need to be committed if the project is shared through Git. Use Additional material… for supporting notes, styles, localization or images. Keep a worked example with the contribution so a reviewer can check its meaning and result. Write a semantic model · Review a contribution