和顺 / 势衡 返回所属 Agent
SH-03.01

资源与约束盘点

原能力

列出关键资金、人员、技术或政策条件,标识缺口和先决事项。(细化版 p.8–9)

首选项目

OpenProject(GPL-3.0(社区代码))。 OpenProject

匹配范围

工作包和资源计划登记可调容量和阶段需求。

源码

OpenProject · class WorkPackage

app/models/work_package.rb · 30–43 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
class WorkPackage < ApplicationRecord
  include WorkPackage::SemanticIdentifier
  include WorkPackage::Validations
  include WorkPackage::SchedulingRules
  include WorkPackage::StatusTransitions
  include WorkPackage::AskBeforeDestruction
  include WorkPackage::TimeEntriesCleaner
  include WorkPackage::Ancestors
  include WorkPackage::Automatable
  include WorkPackage::Hooks
  include WorkPackage::Origin
  # Must stay above WorkPackage::Journalized: its after_save persists the
  # version rows that the journal snapshot then reads.
  include WorkPackage::Versions
  • #-- copyright
  • # Copyright (C) the OpenProject GmbH
  • # OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
  • # Copyright (C) 2006-2013 Jean-Philippe Lang
  • # Copyright (C) 2010-2013 the ChiliProject Team
  • # See COPYRIGHT and LICENSE files for more details.

实现与验收要点

从实际资源台账提供权威量、确认限制和缺项。